michelin / snowflake-grafana-datasource

Snowflake Grafana datasource plugin enables the visual representation of Snowflake data within Grafana dashboards and manages alerts.
Apache License 2.0
67 stars 33 forks source link

No data in response. #1

Closed norganna closed 3 years ago

norganna commented 3 years ago

Hi,

I installed this on a test grafana instance at work and hooked it up to snowflake.

I can see the query going out to snowflake and returning results, but there's no data being plotted on the graph.

I've attached the panel JSON and the query JSON from the query inspector.

panel.txt query.txt

norganna commented 3 years ago

image

devnied commented 3 years ago

Hi,

Can you please give me your Grafana version ? Do you see the data in the Query inspector panel (In the Data tab) ?

norganna commented 3 years ago

It's current development version Grafana v8.1.0-pre (9b518669dd) from git clone.

The data tab says there's no data. image

However the query tab says there is: image

devnied commented 3 years ago

I have not yet tested with the current development version of Grafana. Can you try with the latest stable version if you have the same issue ?

norganna commented 3 years ago

The same query works fine in Grafana v7.5.7 (91de51771c)

Interestingly the response looks different in this version: image

devnied commented 3 years ago

I have tried yesterday with the latest nightly build without issues https://grafana.com/grafana/download/8.1.0-23487pre. The UI is not the same as the one in your capture https://github.com/michelin/snowflake-grafana-datasource/issues/1#issuecomment-847681918, maybe you have an issue with the frontend when you built it from source.

norganna commented 3 years ago

If that's the case, that would be really embarrassing. I'll check it out.

norganna commented 3 years ago

That's what was wrong, I wasn't putting the public files into the correct directory in my docker container, so it was using the old interface instead of the new one.

When I put it in the correct directory it all works fine.

How awkward :(