-
Notifications
You must be signed in to change notification settings - Fork 541
Cannot get Grafana to recognize Mimir monolitic instance, bare metal #7763
Replies: 3 comments · 5 replies
-
To help troubleshoot, an you provide logs from Mimir when the request is made, the full response from Mimir, and the configuration in Grafana used for the Mimir datasource? Can you make requests directly against the Mimir HTTP APIs? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hello Nick, thanks for looking into this. Let gather those details and I will share them here. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Slowly providing more details. So REST API seems to work: root@myserver:~# curl http://myserver.example.com:9009/api/v1/status/config
{"status":"success","data":{}}root@myserver:~# Logs coming up. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Grafana.log
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Mimir (journalctl):
|
Beta Was this translation helpful? Give feedback.
All reactions
-
It looks like you have multi-tenancy enabled in Mimir ( |
Beta Was this translation helpful? Give feedback.
All reactions
-
Yeah, I did not populate that. Let me try that and see if that works. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I added the HTTP Header as I have multi-tenant enabled but the real issue what the URL. So I changed the port to use the default, on Mimir, and also the end URL on the Grafana datasource: http://myserver.example:8080/prometheus And it works now! |
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 1
-
Hello all,
I’m getting started with Mimir and I’m trying to connect the following running on the same machine:
I can see than Mimir is running and shows no errors (Console looks good http://localhost:9009/)
Grafana also looks good on http://localhost:3000/
And yet when I try to setup a new datasource pointing to my new Mimir instance I get an error saying:
I want to have applications pushing data to Mimir (for long term storage, aggregation). The applications will not use Prometheus but OpenTelemetry (but they have a way to push compatible metrics).
Then Grafana will be able to display time series, etc. from Mimir stored data.
I was also checking Grafana agent flow, but do you need to have now 3 components to forward the data? And that still doesn’t solve the issue of Grafana not being able to talk to Mimir.
Below are my settings:
Settings
/etc/mimir.config.yml
/etc/grafana/grafana.ini
I went back and forth on the documentation and I don’t think I missed anything. Gladly I can paste my Mimir configuration here for review.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions