Files
kayobe/ansible/group_vars/all/grafana
Doug Szumski 0cd6d17d0c Support configuring Grafana
This add supports for running the stackhpc.grafana-conf Ansible
Galaxy role against a monitoring server to configure Grafana
post deployment. This includes:

* Creating an organisation
* Configuring dashboards for the organisation from a git repo
* Configuring datasources for the organisation
2018-01-23 12:00:12 +00:00

51 lines
1.7 KiB
Plaintext

---
###############################################################################
# Grafana configuration.
# Grafana local admin user name. If you are deploying Monasca Grafana this
# should not conflict with an OpenStack user name.
#grafana_local_admin_user_name:
grafana_local_admin_user_name: "grafana_admin"
# Path to git repo containing Grafana dashboards. Eg.
# https://github.com/stackhpc/grafana-reference-dashboards.git
#grafana_monitoring_node_dashboard_repo:
grafana_monitoring_node_dashboard_repo:
# Path to which Grafana dashboards will be cloned to a monitoring node
#grafana_monitoring_node_dashboard_repo_path:
grafana_monitoring_node_dashboard_repo_path: "/var/opt/grafana/"
# The Grafana organisation for the control plane. Note that for Monasca
# Grafana with domain support the format is:
# organisation_name@openstack_domain
#grafana_control_plane_organisation:
grafana_control_plane_organisation: "control_plane"
# A list of datasources to configure. See the stackhpc.grafana-conf role
# for a list of supported datasources. Example:
#
# grafana_datasources:
# monasca_api:
# port: 8082
# host: monasca-api
# monasca_log_api:
# port: 5607
# host: monasca-log-api
# elasticsearch:
# port: 9200
# host: monasca-elasticsearch
# project_id: "some_id"
#
#grafana_datasources:
grafana_datasources:
# The path, relative to the grafana_monitoring_node_dashboard_repo_path
# containing the dashboards. Eg. /prometheus/control_plane
#grafana_monitoring_node_dashboard_path:
grafana_monitoring_node_dashboard_path:
###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes