Send metrics to Reliability Mimir server
Goal
The goal of this issue is to enable the license-db prometheus server to send all metrics to the Reliability's Thanos server.
Architecture
Related links
- Export License-DB GCP metrics to license-db Pro... (#427445 - closed) • Nick Ilieskou • 16.6 • On track
- Export License-DB GCP metrics to license-db Pro... (#427445 - closed)
- #427445 (comment 1599868281)
- Thanos architecture overview
- Prometheus remote_write config
- https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/24608+
Implementation plan
-
Provision Mimir tenants and get access to the credentials -
Extend Prometheus values.yml
withremote_write
config required to send metrics to Thanos. -
Do the previous steps for all 3 environments sandbox
,dev
andprod
. -
Deploy on dev
and test on Thanos side that you get metrics -
Deploy on prod
and test on Thanos side that you get metrics
Verification
- Go to https://dashboards.gitlab.net/
- Make a new dashboard and as a source select the Mimir - License-DB tenant.
Edited by Nick Ilieskou