ansible-role-grafana/templates/grafana-provisioning/datasources/datasource.yml.j2

15 lines
357 B
Django/Jinja

lines (14 sloc) 345 Bytes
apiVersion: 1
datasources:
- name: InfluxDB
version: 2
type: influxdb
access: proxy
url: http://influxdb:8086
jsonData:
defaultBucket: "{{ influxdb.bucket }}"
httpMode: POST
organization: "{{ influxdb.org }}"
version: Flux
secureJsonData:
token: "{{ influxdb.admin_token }}"