From 5a7602fee440e425921ee298445b63ca3dfb9c85 Mon Sep 17 00:00:00 2001 From: ismail simsek Date: Fri, 31 Mar 2023 16:33:16 +0200 Subject: [PATCH] Docs: Update influxdb provisioning documentation to align with database deprecation (#65550) Update influxdb docs to align with database deprecation --- docs/sources/datasources/influxdb/_index.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/sources/datasources/influxdb/_index.md b/docs/sources/datasources/influxdb/_index.md index a998cc5aff7..e03394459f2 100644 --- a/docs/sources/datasources/influxdb/_index.md +++ b/docs/sources/datasources/influxdb/_index.md @@ -114,6 +114,10 @@ Configure these options if you select the Flux query language: You can define and configure the data source in YAML files as part of Grafana's provisioning system. For more information about provisioning, and for available configuration options, refer to [Provisioning Grafana]({{< relref "../../administration/provisioning/#data-sources" >}}). +> **Note:** `database` [field is deprecated](https://github.com/grafana/grafana/pull/58647). +> We suggest to use `dbName` field in `jsonData`. Please see the examples below. +> No need to change existing provisioning settings. + #### Provisioning examples **InfluxDB 1.x example:** @@ -125,10 +129,10 @@ datasources: - name: InfluxDB_v1 type: influxdb access: proxy - database: site user: grafana url: http://localhost:8086 jsonData: + dbName: site httpMode: GET secureJsonData: password: grafana @@ -163,9 +167,9 @@ datasources: type: influxdb access: proxy url: http://localhost:8086 - # This database should be mapped to a bucket - database: site jsonData: + # This database should be mapped to a bucket + dbName: site httpMode: GET httpHeaderName1: 'Authorization' secureJsonData: