Skip to content
An o11y stack in every cell

An o11y stack in every cell

o11y-stack.mp4 (1:00, 720p, with sound): the Observability team deploys Metropolis and the o11y stack it targets to every cell through the same mechanism any service uses. No other team does anything. It shows the intended flow.

TimeStepWhat happens
0:00Every cell gets its own monitoringFive cells across three rings, none with an o11y stack yet.
0:061 · Three versions files, pinned in ring-0The Observability team pins three charts in phaleron-config: metropolis-crds, o11y-metrics and metropolis, each with an Argo CD sync wave so they install in order.
0:182 · ring-0The QA cell installs them in order: the CRDs, then Prometheus and Grafana, then the Metropolis operator.
0:303 · ring-1Promoted like any other service: the same copy of the versions files, the same sync.
0:424 · ring-2Every cell now has its own Prometheus, Grafana and Metropolis operator. Nothing is shared between cells.
0:52DoneObservability: three versions files. Feature teams: nothing to do. No infrastructure change.

Chart versions in the video are demo values.

How it works:

  • Metropolis is the GitLab Metrics Operator. A service declares its SLIs, SLO targets and saturation points in a GitLabServiceMetrics resource; the operator compiles that into Prometheus recording rules, burn-rate alerts and a Grafana dashboard, using the same metrics-catalog library that monitors GitLab.com. See the Metropolis README and Metropolis: Monitoring as Part of the Service.
  • Each cell has its own stack. Metropolis needs the Prometheus and Grafana that o11y-metrics provides in the same cluster; it does nothing useful without them (gitlab-caproni!94).
  • Install order is enforced, not hoped for. The metrics.gitlab.com CRDs must exist before any chart containing a GitLabServiceMetrics resource is installed, because Helm resolves every resource kind against the API server before it creates anything. Argo CD sync waves (argocd.argoproj.io/sync-wave annotations) make each cell apply the CRDs first, then o11y-metrics, then the operator.
  • Owned by the Observability team, per the call-to-ownership issue. Rollout to Dedicated and Cells is tracked in observability/team#4685.

Editing

Last updated on