You can run this docker compose file it will run
- prometheus
- grafana
- setup the default dashboard
The default username/password is admin/admin.
Simply start docker compose in this metrics/ folder:
docker compose upDon't forget to run the Nitro node with metrics exporting on, to do so add the following flags to your Nitro node startup command:
--metrics --metrics-server.addr=0.0.0.0
⚠️ Warning: Using 0.0.0.0 is recommended for cross-platform compatibility, especially when accessing metrics from Docker, Linux, WSL, or remote containers.
View the dashboard at http://localhost:3000
To add more grafana dashboards you can drop json files into the grafana/dashboards/ folder.