cloudera.exe.grafana role – Set up Grafana server

Note

This role is part of the cloudera.exe collection (version 3.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install cloudera.exe..

To use it in a playbook, specify: cloudera.exe.grafana.

Entry point main – Set up Grafana server

New in cloudera.exe 2.4.0

Synopsis

  • Set up Grafana server, connected to a Prometheus server.

Parameters

Parameter

Comments

grafana_dashboard_directory

string

Locattion of the Grafana dashboard configurations.

Default: "/var/lib/grafana/dashboards"

grafana_datasource_directory

string

Location of the Grafana data sources.

Default: "/etc/grafana/provisioning/datasources/automatic.yml"

grafana_providers_configuration

string

Location of the Grafana provider configurations.

Default: "/etc/grafana/provisioning/dashboards/providers.yml"

prometheus_url

string

URL (host:port) to the Prometheus server.

Default: "localhost:9090"

Authors

  • Cloudera Labs