Metrics from Loki Ruler do not appear in Mimir #4843
Replies: 3 comments 2 replies
-
After further investigation, if I send directly to prometheus instead of mimir, the metric appears. If anyone is reading this and having the same issue, my current workaround is to have the loki ruler remote write to the prometheus instance that is scraping the cluster metrics, which sends them into Mimir. |
Beta Was this translation helpful? Give feedback.
-
This was also shared in the community slack. My understanding was that the problem was caused by suing different no-auth tenants in loki and mimir. In Loki it is mimir:
structuredConfig:
multitenancy_enabled: false |
Beta Was this translation helpful? Give feedback.
-
What this ever solved without disabling multitenancy? How to change fake to a different tenant value in Loki when sending recording rules to Mimir? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Metrics sent to Mimir from the Loki ruler's remote-write feature do not appear in Mimir, even though Mimir receives them.
Nginx receives a request with the user agent LokiReplayWAL UserAgent type. It appears to process it fine, with a 200 status code and no issues reported in the debug logs, however the metric does not appear when searched in Mimir. The recording rules were created using the alerting UI in grafana, and show as "ok".
Expected behavior
Metrics sent to Mimir from Loki's remote-write implementation are usable
Environment
Beta Was this translation helpful? Give feedback.
All reactions