argoproj-labs / argocd-extension-metrics

An Argo CD extension to enable visualization of metrics in Argo CD UI.
Apache License 2.0
118 stars 27 forks source link

Can't make it work with Mimir #66

Closed mcanevet closed 5 months ago

mcanevet commented 10 months ago

I'm trying to make this extension work with Grafana's Mimir instead of vanilla Prometheus but somehow it does not work. I have Metric <metrics name> not available in every dashboard. Here is the Prometheus server URL I'm using: http://mimir-query-frontend.mimir.svc.cluster.local:8080/prometheus.

FTR:

Could it be because I have a /prometheus path in the Prometheus server URL?

Leegin-darknight commented 9 months ago

@mcanevet Did you try passing the tenant ID as a header X-Scope-OrgID? I am not sure if this extension supports passing headers. @sarabala1979 Do we support this?

mcanevet commented 5 months ago

OK it actually works fine, I just forgot to escape {{ when deploying the ConfigMap with helm.