Move Prometheus API query to Mimir
What does this MR do and why?
We're moving from Thanos to Mimir, so this updates the queries made from Thanos to Mimir. Mimir also needs basic auth and tenant ID to be included in the header. The username and password for the basic auth header will be retrieved from vault.
For gitlab-com/gl-infra/scalability#3450 (closed)
Content
- Move Prometheus query to Mimir
- Add basic auth headers
- Add tenant-id in headers
- Fetch the mimir user and password from vault
Author Check-list
-
Has documentation been updated?
Edited by Gregorius Marco