【发布时间】:2017-03-31 16:30:47
【问题描述】:
有人用python写过grafana的json数据源吗?我正在努力编写函数和理解流程。
我正在寻找类似的东西 - https://github.com/bergquist/fake-simple-json-datasource/blob/master/index.js 但在 python 中。
【问题讨论】:
有人用python写过grafana的json数据源吗?我正在努力编写函数和理解流程。
我正在寻找类似的东西 - https://github.com/bergquist/fake-simple-json-datasource/blob/master/index.js 但在 python 中。
【问题讨论】:
我刚刚从我们的 python 数据源为 grafana 上传了一个 sn-p,它使用 pandas + flask 并且非常容易扩展。
https://gist.github.com/linar-jether/95ff412f9d19fdf5e51293eb0c09b850
【讨论】:
要了解流程,请尝试查看通用实现... https://grafana.com/plugins/grafana-simple-json-datasource
【讨论】: