Grafana¶
Prometheus does an amazing job of collecting metrics but the dashboard and tracking is provides is rather ugly. Grafana on the other make for great monitoring, dashboards, alerts, etc.
Moreover it connects very easily with Prometheus; hence you leave prometheus collect the metrics and have Grafana read those metrics to provide monitoring.
Install¶
We can follow the official documentation to install grafana on Ubuntu 20.
1 2 3 4 5 6 7 8 |
|
Run¶
Grafana actually create the service for you already so you can simply run it.
1 2 3 |
|
You can then login on port 3000
!
Click the cog icon to import Prometheus data and you’re good to go; create dashboards and alerts, etc.