-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provisioning of an InfluxDB datasource using Flux query language fails #27389
Comments
#27011 reported another issue with Flux data source provisioning. Since it only complains about the token I expect that other fields are properly configured which is not what I observe. I tried to replicate #27011 using provided configuration and 7.1.1 and observed exactly the same behaviour that I reported in this issue. |
I just tried your provided configuration at it works as expected for me on 7.2. Make sure that you include the apiVersion: 1
datasources:
- name: Flux_micrometer
type: "influxdb"
access: "proxy"
url: "http://influx:8086"
editable: true
secureJsonData:
token: "test:test"
jsonData:
version: Flux
organization: ""
defaultBucket: micrometer
tlsSkipVerify: true
timeInterval: "1m" |
Closing this due to lack of response. We'll consider reopen the issue if you provide more information. |
@marefr Sorry for this late response. Adding |
Where do I get the proper token value? I'm presuming it's not literally |
Nevermind, I think the token value is |
What happened:
When an InfluxDB data source configured to use the Flux query language is provisioned, it exist but supplied configuration wasn't applied.
What you expected to happen:
Data source must exist, use Flux query language and token, bucket etc. be set.
How to reproduce it (as minimally and precisely as possible):
I followed data source documentation:
Data source is provisioned by this configuration file:
Open this data source configuration in Grafana:
Note that query language is set to InfluxQL rather than Flux. If I manually switch the query language to Flux, all fields are empty
Anything else we need to know?:
I am able to configure the data source using form the UI.
Thus, I expect that documentation is erroneous or something is wrong in provisioning.
I am also able to provision an InfluxQL based data source.
Environment:
The text was updated successfully, but these errors were encountered: