fr-ser / grafana-sqlite-datasource

Grafana Plugin to enable SQLite as a Datasource
Apache License 2.0
124 stars 17 forks source link

Grafana variable queries do not work(Grafana 8.0.2 +grafana-sqlite-datasource 1.2.1) #46

Closed sensej-j closed 3 years ago

sensej-j commented 3 years ago

Hello Sergei, i need your help. Today I have installed new Grafana version 8.0.2 with grafana-sqlite-datasource 1.2.1 and since then the Grafana variable queries do not work. With Grafana version 7.4.3 + grafana-sqlite-datasource 0.2.7 everything works. It also does not work with Grafana version 8.0.2 + grafana-sqlite-datasource 0.2.7.

Did you get an idea ahead of it?

Grafana version 7.4.3 + grafana-sqlite-datasource 0.2.7: everything is okay 1

Grafana version 8.0.2 + grafana-sqlite-datasource 1.2.0: does not function 2

3

fr-ser commented 3 years ago

Grafana 8 is simply not supported yet. I'll try to get a version out that supports Grafana v8 and earlier versions to but until then the only reliable way to use the plugin is with Grafana >=7.3.3 & <8.0.0

sensej-j commented 3 years ago

Hi Sergej, thank you for the information.

hellebauer commented 3 years ago

Grafana 8 is simply not supported yet.

Ok, above statement was in relation to grafana-sqlite-datasource 1.2.0.

What about grafana-sqlite-datasource 2.0.0 ? Does it support Grafana 8 ?

fr-ser commented 3 years ago

v2.0.0 of the plugin was also still developed without v8 of Grafana in mind. I improved the tests a bit yesterday and with that, I should be able to support different versions of Grafana more easily.

I'll try to get a new version of the plugin out with support for Grafana v8 soonish but as of right now there is no plugin version, which I tested against v8 and therefore I cannot say anything about compatibility 🤷🏻

hellebauer commented 3 years ago

Thanks..... and no problem....and no rush Will roll Grafana back to V7 and try again. (is V7.59 ok?)

Would be good to add some hints here that Grafana8 is not supported.

radoeka commented 3 years ago

More people encounter the issue: discussed at grafana forum. Looking forward to a plugin version that supports Grafana v8.

fr-ser commented 3 years ago

Can you try this release: https://github.com/fr-ser/grafana-sqlite-datasource/releases/tag/v2.0.2

It should be fixed but it takes a while for the plugin to be available on the grafana page

You can try this installation: https://github.com/fr-ser/grafana-sqlite-datasource#installing-the-newest-plugin-version-on-an-existing-grafana-with-the-cli

radoeka commented 3 years ago

Seems to be working now. Thanks for the fix!