Prometheus and Grafana
To test Prometheus, you can use Docker image as described in the official guide. There is also an example to bind your prometheus.yml where you configure the targets, so you don't have to do it manually every time. To do that, you need to configure the file:
/etc/prometheus/prometheus.yml
Grafana also has an official guide for how to set it up in Docker. You can also configure it in similar way as Prometheus, to load the configuration for your data source and dashboards. In Grafana, this is called provisioning. Beside the json file with the configuration of your dashboard, you need provision files for dashboard and datasource:
/etc/grafana/provisioning
├───────/dashboards/dashboard.yaml
└───────/datasources/datasource.yaml
/var/lib/grafana/dashboards
└───────/myDashboard.json
- Previous: VSCode Multiple versions of an extension
- Next: Windows WSL2