Metamonitoring: metrics from mimir cluster are not available #5058
-
|
Hello, And I don't seem to get any metrics from this cluster in Grafana. Am I missing some step? Could this be related? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Hi, the grafana agent operator creates DaemonSets for logs collection that must either run as root or have access to the root file system. Unfortunately, this probably makes it incompatible with your admission controller. See these comments in the values file for more info mimir/operations/helm/charts/mimir-distributed/values.yaml Lines 2839 to 2859 in 942e16c But the error you posted suggests it is about the containers in the StatefulSet, not the DaemonSet. You can try to disable logs collection ( |
Beta Was this translation helpful? Give feedback.
-
|
By upgrading mimir-distributed.4.4.1 and setting containerSecurityContext.allowPrivilegeEscalation=false I can see the mimir metrics in Grafana. I had to create a separate datasource with HTTP header X-Scope-OrgID: metamonitoring |
Beta Was this translation helpful? Give feedback.
-
|
For others being lost with getting the metrics: The metrics for me all start with |
Beta Was this translation helpful? Give feedback.
By upgrading mimir-distributed.4.4.1 and setting containerSecurityContext.allowPrivilegeEscalation=false I can see the mimir metrics in Grafana. I had to create a separate datasource with HTTP header X-Scope-OrgID: metamonitoring