Metrics Catalog
The Metrics-Catalog is a declarative approach to monitoring GitLab using Service-Level Monitoring.
At present, the documentation on the Metrics-Catalog requires some work, but there are several conference talks on the approach we use:
- https://www.youtube.com/watch?v=CbX1nZL7biQ
- https://www.youtube.com/watch?v=6sfr2IGJQXk
- https://www.youtube.com/watch?v=YHV0qkKBz7o
- https://vimeo.com/341141334
- https://www.youtube.com/watch?v=2zL9DymXi1E
- https://www.youtube.com/watch?v=swnj6KTRg08
Configuration Reference
Section titled “Configuration Reference”- Service-Level Monitoring - notes on the Service-Level Monitoring implementation, including minimum sample size thresholds.
- Monitoring Overrides - the
monitoringstanza of a service definition, and the per-SLI alert overrides available under it. - Traffic Cessation Alerts - how we alert on an SLI that stops receiving traffic.
Source Locations
Section titled “Source Locations”The metrics-catalog source can be found in the following locations in this project:
metrics-catalog- the GitLab.com Metrics-Catalog.reference-architectures/get-hybrid- A Reference Architecture Metrics-Catalog for a GitLab Environment Toolkit Hybrid (VM+Kubernetes) GitLab deploymentlibsonnet- common source-code, written in Jsonnet, for generating the configuration.