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 in the sidebar, you likely don't have the proper permissions and need to contact your admin.
SLOs
Catalog 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
Field | Description |
---|---|
streamId | ID of your Lightstep Stream, which can be found in Lightstep, through the URL. https://app.lightstep.com/{org}/stream/my-stream/{streamId} |
percentile | Percentile latency for your given streamId, out of 1 |
target | Target latency, in ms |
slo | SLO percentile, out of 1 |