summaryrefslogtreecommitdiff
path: root/roles/monitoring/grafana/defaults/main.yml
blob: fad27b4af089fc5edbe897faa4da9193f9a4aed1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
# grafana_secret_key:  <--- pwgen -s 64 -1
grafana_root_url: "%(protocol)s://%(domain)s:%(http_port)s/grafana"

grafana_config_server:
  http_addr: localhost
  http_port: 3000
  root_url: "{{ grafana_root_url }}"
  serve_from_sub_path: true

grafana_config_analytics:
  reporting_enabled: false
  check_for_updates: false

grafana_config_security:
  secret_key: "{{ grafana_secret_key }}"
  disable_gravatar: true

grafana_config_users:
  allow_sign_up: false
  allow_org_create: false


grafana_datasources: []
#  - name: "Prometheus"
#    type: "prometheus"
#    access: "proxy"
#    url: "http://prometheus.mydomain"
#    basicAuth: true
#    basicAuthUser: "admin"
#    basicAuthPassword: "password"
#    isDefault: true
#    jsonData:
#      tlsAuth: false
#      tlsAuthWithCACert: false
#      tlsSkipVerify: true

grafana_dashboards: []
  # - node-full
  # - chronyd
  # - environment-sensors