fr-ser / grafana-sqlite-datasource

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

TODO: Allow SQLite on the client machine (in contrast to Grafana Server machine) #4

Closed fr-ser closed 3 years ago

fr-ser commented 4 years ago

Currently, the plugin requires the SQLite database to be on the machine (or reachable via file path) on the machine running the grafana backend.

Another approach would be to allow charting based on SQLite files on the machine of the (web)client.

I am not too deep into this, but either there is a way to load files from the client in the browser and do all the logic there (like a non-backend plugin) or there might be the necessity to provide a file upload to the backend of a file and process it there.

fr-ser commented 3 years ago

Current workaround: Mount/Copy the SQLite database to the machine running the Grafana server. The folder could be mounted as a network folder.