oijkn / Docker-Raspberry-PI-Monitoring

A docker-compose stack solution for monitoring host and containers with Prometheus, Grafana, cAdvisor and NodeExporter.
MIT License
410 stars 61 forks source link

Make dashboard independent to data source uid #11

Closed joergflorin closed 2 years ago

joergflorin commented 2 years ago

I just started using grafana and had problems getting the dashboard run in my grafana container. I found, that the problem was the data source uid wich was different in my grafana container. So I had to change the uid manually in the dashboard json before importing it.

I reexported the dashboard with "Sharing -> Export" with the "Export for sharing externally" option set so the specific data source can be selected while importing the dashboard.

oijkn commented 2 years ago

Have you try to download the dashboard directly from grafana community, instead of using the json file from my github ?

joergflorin commented 2 years ago

First of all: Thank you for your work and sharing the project. I just tried following your doc and spend some time figuring out what is wrong. This was my first Grafana installation and I want to contribute my solution to help others walking thru the doc like me. I haven’t tried the dashboard from Grafana community and will check it out the next days. Cheers Jörg

joergflorin commented 2 years ago

Hi, I checked the community dashboard 15120 and it works with selecting the data source in import. May be a good idea to refer to the community dashboard instead to the one checked in to this repository - or have I overseen a hint? I redraw my pull request, it is better to use the community dashboard.