A change ships with its SLIs
change-with-slis.mp4 (1:12, 720p, with sound): a feature team’s change includes the Metropolis definition for the metrics and SLOs it introduces. Both ship in one chart version, roll out to every cell, and are compiled by each cell’s own Metropolis operator. The same chart reaches self-managed customers. It shows the intended flow, using the Orbit chart and made-up versions for the demo.
| Time | Step | What happens |
|---|---|---|
| 0:00 | Code and monitoring, one MR | Every cell already runs its own Metropolis and o11y stack (see An o11y stack in every cell). |
| 0:06 | 1 · The feature team’s MR | Orbit’s MR adds a new export endpoint and, in the service’s own chart, a GitLabServiceMetrics change declaring its SLI and SLO target. |
| 0:18 | 2 · The MR pipeline | metropolis generate renders the recording rules, burn-rate alerts and dashboard every cell will run, so reviewers see them before merge. Then it merges and chart 0.14.0 is built. |
| 0:30 | 3 · ring-0 | The QA cell deploys 0.14.0, and its Metropolis operator compiles the new SLI into rules, alerts and a dashboard. |
| 0:40 | 4 · ring-1, then ring-2 | The same promotion as any version. Each cell compiles the SLI locally; nobody edits a cell’s monitoring by hand. |
| 0:54 | 5 · Self-managed | The chart a customer installs carries the same monitoring. Customers who run our o11y stack get the new SLI compiled by their own Metropolis. |
| 1:04 | Done | One MR. Every cell, and every customer running our o11y stack, gets the new SLI. |
How it works:
- Monitoring is part of the service. The
GitLabServiceMetricsresource lives in the service’s chart, reviewed in the same MR as the code it measures and shipped by the same deploy. See Metropolis: Monitoring as Part of the Service. - Review the output, not just the input. The Metropolis CLI’s
metropolis generaterenders the Prometheus rules and dashboards offline, so a CI job can show reviewers exactly what the operator will produce. - Compiled in each cell. There is no central rules repository to update: each cell’s operator turns the resource into rules for that cell’s Prometheus when the chart syncs.
- Self-managed customers are optional consumers. A customer who wants more observability for their GitLab installation runs our o11y stack (o11y-metrics and Metropolis) through the Theseus tooling; their operator compiles the same definitions. Customers who don’t run it still install the same chart.
- The YAML in the video is illustrative. It shows the shape of a
GitLabServiceMetricsresource, not its exact schema.
This is what makes the failed-deployment runbook work: the cell’s own Prometheus already has the metrics a rollout analysis needs.
Editing
- Editable page: https://claude.ai/artifact/8iVRsy1W6gqeJXit9YN4pA (private to its owner until shared).
- Source:
source/, enough to rebuild the video if the page is gone. Regenerate with../tools/build_application_films.py. - How to edit, re-export and re-encode: Editing and re-exporting.
Last updated on