Grafana
Overview
Grafana is deployed using the official image:
Image source: https://hub.docker.com/r/grafana/grafana
Container
If you want to use different version of container you can modify the following variable:
Data persistence
Grafana container uses named volume to persist the data. The container can be safely deleted and recreated without the loss of data.
Deleting data
To delete the data and start from scratch you will need to execute the following command on the server:
Configuration
The role deploys a default instance of Grafana and does not change any settings.
Provisioning
The provisioning feature is used to create data source for Prometheus and specify directory from which Grafana will load the dashboards if any are present.
The Prometheus data source name is "Prometheus"
The dashboard directory is shown below.
Dashboards
The easiest way to add dashboards is to import them from Grafana Gallery. You will have option to edit source name during the import. If you want to deploy dashboards as files you will need to copy them to the directory specified above.
At a minimum you'll like want to use the following dashboards:
Last updated