paveldanilin / grafana-csv-plugin

CSV datasource for Grafana 6.x.x / 7.x.x
MIT License
36 stars 12 forks source link

issue with using in grafana 7.2.0 container #29

Closed dpajin closed 4 years ago

dpajin commented 4 years ago

Hi Pavel,

I try to install your plugin in the grafana 7.2.0 running in the docker container. It seems that the plugin is installed:

t=2020-10-09T21:18:47+0000 lvl=warn msg="Running an unsigned backend plugin" logger=plugins pluginID=grafana-csv-plugin pluginDir=/var/lib/grafana/plugins/grafana-csv-plugin
t=2020-10-09T21:18:47+0000 lvl=info msg="Registering plugin" logger=plugins name=CSV
t=2020-10-09T21:18:47+0000 lvl=info msg="Registering plugin" logger=plugins name="Map Panel"
t=2020-10-09T21:18:47+0000 lvl=info msg="Registering plugin" logger=plugins name="Pie Chart"
t=2020-10-09T21:18:47+0000 lvl=info msg="Registering plugin" logger=plugins name=SimpleJson
t=2020-10-09T21:18:48+0000 lvl=info msg="Backend rendering via external http server" logger=rendering renderer=http
t=2020-10-09T21:18:48+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl=/web_ui_test socket=
t=2020-10-09T21:18:48+0000 lvl=warn msg="Plugin uses a deprecated version of Grafana's backend plugin system which will be removed in a future release. Consider upgrading to a newer plugin version or reach out to the plugin repository/developer and request an upgrade." logger=plugins.backend pluginId=grafana-csv-plugin

However, I see this error in the UI. The same result is when using 7.2.0 or 7.2.1. If I use grafana 6.7.4 container, the datasource works.

image

Is it possible to resolve this issue with grafana 7.2 version?

Thanks!

dpajin commented 4 years ago

ah I see now that the issue is same as #27

paveldanilin commented 4 years ago

Hi, @dpajin ! I have fixed that problem. Could you try a fix out and let me know whether it works or not?

dpajin commented 4 years ago

Hi @paveldanilin,

Many thanks for the quick fix. I have tested with Grafana 7.2.1 and the plugin from the fix works as expected. Also, I don't see the issue I have described in #30, so I will close that issue.

Thanks again!

paveldanilin commented 4 years ago

Dear @dpajin, if you have any idea on how the plugin can be improved (or make it more convenient), please share your thoughts with me.