grafana / influxdb-flux-datasource

Grafana datasource plugin for Flux (InfluxDB)
Apache License 2.0
51 stars 21 forks source link

Can not create new line in query editor #40

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi,

I'm using Grafana v6.2.0, influxdb v1.7.4 and influxdb-flux-datasource v[5.3.0] - 2019-06-11.

When i try to create a new line in the text editor, it doesn't work and propose me the list of operator.

Has anyone also met this problem ?

thank you

image

adriankuzniewski commented 5 years ago

Hi there. few questions here : 1) did you enabled flux in influx configuration file https://docs.influxdata.com/flux/v0.24/introduction/installation 2) Have you tested in datasource ? Does it say connected when you save and test ? If not - can you try flux from influx cli and test it from there ? - as it might not be grafana issue ? 3) Can you try to upgrade influx to 1.7.6 as it does support flux 0.24

Cheers :)

dswarbrick commented 5 years ago

Pressing enter on its own will send the query to the backend. Press shift-enter to get a newline in the query editor.

ghost commented 5 years ago

Tha't it, with shift+enter, it works. Thanks you