Grafana: simple json data source implementation

Has anyone written a json data source for grafana in python? I struggle with writing functions and understanding the flow.

I am looking for something like this https://github.com/bergquist/fake-simple-json-datasource/blob/master/index.js , but in python.

+4
source share
2 answers

I just downloaded a snippet from our python data source for grafana, it uses panadas and flask and is very easy to expand.

https://gist.github.com/linar-jether/95ff412f9d19fdf5e51293eb0c09b850

+4
source

Source: https://habr.com/ru/post/1673729/


All Articles