grafana-provisioning-config-file.cfg.in 503 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# https://grafana.com/docs/administration/provisioning/#example-datasource-config-file

apiVersion: 1

datasources:
- name: telegraf
  type: influxdb
  access: proxy
  url: {{ influxdb['url'] }}
  user: {{ influxdb['auth-username'] }}
  database: telegraf
  isDefault: true
  jsonData:
    tlsSkipVerify: true
  secureJsonData:
    password: {{ influxdb['auth-password'] }}
  version: 1
  editable: false
- name: loki
  type: loki
  access: proxy
  url: {{ loki['url'] }}
  version: 1
  editable: false