Open rodrigoccaldas opened 1 year ago
I am also seeing this issues. Some metrics such as kube_deployment_status_condition does not appear in mimir albeing being properly exposed in kube-state-metrics
@rodrigoccaldas23 I figured out the reason. This chart is using grafana operator and created grafana agent accordingly. Grafana agent by default will not allow all metrics from kube-state-metrics. You have to turn off the default allow list so that all your metrics are consumed, or you have to explicitly define them.
The file where grafana agent specs are created https://github.com/grafana/mimir/blob/main/operations/helm/charts/mimir-distributed/templates/metamonitoring/grafana-agent.yaml and here ideally it would have to allow us to pass it some extra configurations for the allowlist. However, that right now is not the case so you would have to open a pull request for that or rely on other methods of installing grafana agent (not using the default one by this chart) and then turn the allowlist off or explictly define
Discussed in https://github.com/grafana/mimir/discussions/6367