Grafana is used to visualize our monitoring metrics scraped by Prometheus and alert us in case of any incidents in our cluster.
- Launch Grafana as a docker container (image) on the control1 machine with an additional option to install the Grafana clock plugin:
sudo docker run -d -p 3000:3000 --name grafana -e GF_INSTALL_PLUGINS=grafana-clock-panel --restart unless-stopped grafana/grafana
- Make sure Prometheus data source is properly configured by checking if the correct IP is specified in Administration >> Data Sources >> the Prometheus server URL field.
- Install some basic dashboards to monitor our services:
It is planned that here will appear dashboards created by me precisely for this project and the alerting will be managed by Grafana too.