# 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
