Grafana
Last updated
Last updated
Grafana is deployed using the official image:
Image source:
Documentation:
If you want to use different version of container you can modify the following variable:
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:
The role deploys a default instance of Grafana and does not change any settings.
The Prometheus data source name is "Prometheus"
The dashboard directory is shown below.
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:
The is used to create data source for Prometheus and specify directory from which Grafana will load the dashboards if any are present.