19255fd1a8
This change implements metric collection system using influxdata (influxdb and telegraf) with visulization using grafana. No Dashboard automation is provided at this time however a template dashboard can be used by importing the JSON files from the dashboards directory. Change-Id: I5445b01170054393a31afc2a20ffb3ea4eda1209 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
67 lines
803 B
Django/Jinja
67 lines
803 B
Django/Jinja
# {{ ansible_managed }}
|
|
[paths]
|
|
|
|
[server]
|
|
http_port = {{ grafana_port }}
|
|
{% if grafana_root_url is defined %}
|
|
root_url = {{ grafana_root_url }}
|
|
{% endif %}
|
|
|
|
[database]
|
|
type = mysql
|
|
host = {{ galera_address }}:3306
|
|
name = {{ grafana_db_name }}
|
|
user = {{ grafana_db_user }}
|
|
password = {{ grafana_db_password }}
|
|
|
|
[session]
|
|
|
|
[analytics]
|
|
check_for_updates = true
|
|
|
|
[security]
|
|
admin_user = admin
|
|
admin_password = {{ grafana_admin_password }}
|
|
|
|
[snapshots]
|
|
|
|
[users]
|
|
allow_sign_up = false
|
|
allow_org_create = false
|
|
|
|
[auth.anonymous]
|
|
enabled = true
|
|
org_name = OpenStack
|
|
org_role = Viewer
|
|
|
|
[auth.github]
|
|
|
|
[auth.google]
|
|
|
|
[auth.proxy]
|
|
|
|
[auth.basic]
|
|
|
|
[auth.ldap]
|
|
|
|
[smtp]
|
|
|
|
[emails]
|
|
|
|
[log]
|
|
|
|
[log.console]
|
|
|
|
[log.file]
|
|
|
|
[log.syslog]
|
|
|
|
[event_publisher]
|
|
|
|
[dashboards.json]
|
|
|
|
[metrics]
|
|
|
|
[grafana_net]
|
|
url = https://grafana.net
|