Commit 918fb4d0 by Wojciech Sromek Committed by GitHub

Docs: Example of provisioning InfluxDB v2 datasource (#27045)

* Docs: Example of provisioning InfluxDB v2 datasource

* Apply suggestions from code review

Suggested improvements

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
parent dd0b0fe0
......@@ -278,11 +278,12 @@ You can now configure data sources using config files with Grafana's provisionin
Here are some provisioning examples for this data source.
### InfluxDB 1.x example
```yaml
apiVersion: 1
datasources:
- name: InfluxDB
- name: InfluxDB_v1
type: influxdb
access: proxy
database: site
......@@ -292,3 +293,21 @@ datasources:
jsonData:
httpMode: GET
```
### InfluxDB 2.x example
```yaml
apiVersion: 1
datasources:
- name: InfluxDB_v2
type: influxdb
access: proxy
url: http://localhost:8086
secureJsonData:
token: token
jsonData:
version: Flux
organization: organization
defaultBucket: bucket
tlsSkipVerify: true
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment