kolla-ansible/doc/source/reference/logging-and-monitoring/grafana-guide.rst
Doug Szumski d01192c160 Extend support for custom Grafana dashboards
The current behaviour is to support supplying a single
folder of Grafana dashboards which can then be populated
into a single folder in Grafana. Some users may wish
to have sub-folders of Dashboards, and load these into
separate dashboard folders in Grafana via a custom
provisioning file. For example, a user may have a
sub-folder of Ceph dashboards that they wish to keep
separate from OpenStack dashboards. This patch supports
sub-folders whilst not affecting the original mechanism.

Trivial-Fix

Change-Id: I9cd289a1ea79f00cee4d2ef30cbb508ac73f9767
2021-04-19 11:11:43 +01:00

1.5 KiB

Grafana

Overview

Grafana is open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more..

Preparation and deployment

To enable Grafana, modify the configuration file /etc/kolla/globals.yml and change the following:

enable_grafana: "yes"

If you would like to set up Prometheus as a data source, additionally set:

enable_prometheus: "yes"

Please follow Prometheus Guide <prometheus-guide> for more information.

Custom dashboards provisioning

Kolla Ansible sets custom dashboards provisioning using Dashboard provider.

Dashboard JSON files should be placed into the {{ node_custom_config }}/grafana/dashboards/ folder. The use of sub-folders is also supported when using a custom provisioning.yaml file. Dashboards will be imported into the Grafana dashboards 'General' folder by default.

Grafana provisioner config can be altered by placing provisioning.yaml to {{ node_custom_config }}/grafana/ folder.

For other settings, follow configuration reference: Dashboard provider configuration.