grafana / influxdb-flux-datasource

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

Error response when adding Flux Datasource #62

Closed Aga-Schwarz closed 4 years ago

Aga-Schwarz commented 4 years ago

Hi,

I am trying to use Flux as Datasource with

InfluxDB 1.7.9-1 Grafana 6.4.5 Flux-Datasource 5.4.1

I have downloaded the Plugin (grafana-influxdb-flux-datasource-5.4.1.zip) into grafana-6.4.5\data\plugins

When I try to add Flux as Datasource, I get a "Internal Server Error" message. In parallel I also use Influx as Datasource, which works well.

I examined the contents of the Plugin folder and realized it looks very different, compared to 5.3.2 version - there is no dist subfolder and also the module.js.map file is missing. Did something go wrong at this stage?

Any help would be greatly appreciated.

folder

Influx_Flux_grafana

Aga-Schwarz commented 4 years ago

I realized this error was probably related to the Flux-Panel I have already added to my Dashboard which was querying data within time range where there was no data available.

The error at the AddDatasource-stage appeared a bit unexpected to me, but it is gone after fixing the panel.