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.

caution

If you do not see the Settings page you're looking for, you likely don't have the proper permissions and need to contact your admin.

SLOs

Entity 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
targetLatency targets in ms. Latency is currently the only target supported
sloSLO percentile, out of 1