stefanprodan / dockprom

Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager
MIT License
6.05k stars 1.73k forks source link

Adding my own dashboards #262

Closed AntonioSun closed 2 years ago

AntonioSun commented 2 years ago

Noob Q: How to add my own dashboards from preconfigured json?

I searched and found https://ops.tips/blog/initialize-grafana-with-preconfigured-dashboards/

But that still doesn't look like how dockprom preconfigured its dashboards.

Say I want to add this Prometheus + JMeter dashboard, Would the steps simply be

Anything else, like, do I have to restart grafana container etc?

Thanks

nightah commented 2 years ago

Your summation is correct, the pre-configured dashboard location is initially loaded on container startup and then on an interval based on your configuration.

You can see the specified Grafana documentation here.