fr-ser / grafana-sqlite-datasource

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

Feature Request: JSON support #53

Closed fr-ser closed 3 years ago

fr-ser commented 3 years ago

There was a PR that aimed to add JSON support: https://github.com/fr-ser/grafana-sqlite-datasource/pull/25

The additions seem to be pretty straightforward but I need to investigate first what kind of features those are so that I can write a test for them.

What would help me is some example query with a CTE or sample database that shows me what kind of query only works with this extension.

fr-ser commented 3 years ago

Should be done with: https://github.com/fr-ser/grafana-sqlite-datasource/commit/3ad662c6afb7ea76f0a27e1bda147fcbb1b3f859

vsviridov commented 3 years ago

It seems like it's not been published to the main grafana plugin repository. image

The changeset you're referring to in the previous comment shows that version with JSON support is 2.1.0.

fr-ser commented 3 years ago

That is correct. The request for release is made but the actual release I can not force and have to wait for the Grafana staff: https://github.com/grafana/grafana-plugin-repository/pull/1020

In the meantime, you can still install the new version with the instructions in the Readme: https://github.com/fr-ser/grafana-sqlite-datasource#installing-the-newest-plugin-version-on-an-existing-grafana-with-the-cli