fr-ser / grafana-sqlite-datasource

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

Provisioning through configuration file #141

Closed Pamplemousse closed 1 month ago

Pamplemousse commented 2 months ago

It would be great to be able to provision this data source using configuration as code.

Here is the documentation on how to do it for "built-in" data sources: https://grafana.com/docs/grafana/latest/administration/provisioning/#data-sources .

It seems to be doable by plugins as well, for example, here is documentation on how to do it for yesoreyeram-infinity-datasource: https://grafana.com/docs/plugins/yesoreyeram-infinity-datasource/latest/setup/provisioning/ .

As far I can tell reading the documentation, this doesn't seem to be doable for this plugin...

fr-ser commented 2 months ago

Thanks for the links. I haven't looked into this yet but your linked pages seem like it should be doable.

It might even be already supported and just not documented properly.

I will take a look

fr-ser commented 2 months ago

Does this section help? https://github.com/fr-ser/grafana-sqlite-datasource/blob/main/docs/faq.md#can-i-use-provisioning-with-this-plugin

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Pamplemousse commented 1 month ago

@fr-ser Yes, awesome! Thank you, and sorry for the late confirmation.