Skip to main content

Lightstep

CatalogScorecards

Summary​

Lightstep provides observability. You can use Lightstep to drive insights into values such as:

  • SLOs
  • Latency and error rate metrics

Setup​

In order to connect Cortex to your Lightstep instance, you’ll need to create a Lightstep API Key, and add it under Settings → Lightstep.

SLOs​

Service Descriptor​

You can create and manage SLOs by listing relevant latency SLIs through Streams. Cortex will pull data from Lightstep, and track against your specified SLO. For example:

x-cortex-slos:
lightstep:
- streamId: sc4jmdXT
targets:
latency:
- percentile: 0.5
target: 2
slo: 0.9995
FieldDescription
streamIdID of your Lightstep Stream, which can be found in Lightstep, through the URL. https://app.lightstep.com/{org}/stream/my-stream/{streamId}
percentilePercentile latency for your given streamId, out of 1
targetTarget latency, in ms
sloSLO percentile, out of 1