/prometheus
endpoint gives 404 error page
#7082
-
Describe the bug
Both To ReproduceJust follow the documentation Expected behavior
Environment
Additional Context
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Yes even i am getting the same issue I can see the
@pracucci @krajorama @pstibrany How to access prometheus dashboard for grafana mimir. Similarly, there are various other endpoints mentioned in the https://grafana.com/docs/mimir/latest/references/http-api/#grafana-mimir-http-api docs which are not accessible. What's the reason behind this? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Hello.
http://<ingress-host>/prometheus
is URL that should be used in Grafana datasource URL field ("Prometheus server URL"). Grafana adds additional path segments to it to form final URL, for examplehttp://<ingress-host>/prometheus/api/v1/query_range
for querying, orhttp://<ingress-host>/prometheus/api/v1/labels
for fetching available labels. (These endpoints return JSON data, and are not suitable for usage in your browser)Mimir itself doesn't have any UI for querying, and can only be used in combination with Grafana, or other tool that can query Prometheus-compatible API.