Open jkleinlercher opened 2 months ago
although I get data when I curl my cardinality API like this
curl -X GET -H 'X-Scope-OrgID:anonymous' 'https://mimir.example.com/prometheus/api/v1/cardinality/label_names'
I get an error in grafana when I use the connection URL like in your readme
https://mimir.example.com/prometheus/api/v1/cardinality/
Error: JSON API: Cannot connect to API
JSON API: Cannot connect to API
Any idea? It works when I use the URL https://mimir.example.com/prometheus/api/v1/cardinality/label_names but then the dashboards don't work.
https://mimir.example.com/prometheus/api/v1/cardinality/label_names
I tried it as well, and get the same error.
However, Grafana complains but still saves the URL for the datasource. Thus, set it to the shortened URL and save. Then load a dashboard and see that it works.
although I get data when I curl my cardinality API like this
I get an error in grafana when I use the connection URL like in your readme
Error:
JSON API: Cannot connect to API
Any idea? It works when I use the URL
https://mimir.example.com/prometheus/api/v1/cardinality/label_names
but then the dashboards don't work.