apiVersion: 1 # Written by the mesh from grafana's influxdb-api binding, only while it is bound (novox/hq ADR 0330): # without influxdb, grafana runs with no mesh data source. grafana reads it at start. Its own name and # uid, so a data source somebody made in the UI is never overwritten, and read-only in the UI because # the mesh resets it. The password is read from the file the mesh delivers, never written here. datasources: - name: InfluxDB (mesh) uid: mesh-influxdb-api type: influxdb access: proxy url: ${bound:influxdb-api:scheme}://${bound:influxdb-api:at}:${bound:influxdb-api:port} user: ${bound:influxdb-api:as} isDefault: false editable: false jsonData: dbName: ${bound:influxdb-api:bucket} httpMode: POST secureJsonData: password: $__file{/run/secrets/influxdb/influxdb-api}