paveldanilin / grafana-csv-plugin

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

OSX installation with brew: where is the plugin directory #42

Open kEND opened 3 years ago

kEND commented 3 years ago

If I understand the install instructions, I need to download the darwin binary and make sure it is executable.

Do you know where the plugin directory is when you install grafana via homebrew?

kEND commented 3 years ago

found it the plugin directory. /usr/local/var/lib/grafana/plugins

Now, however, I've copied the contents of dist into a directory named grafana-csv-plugin and reconfigured grafana to allow loading unsigned plugins.

allow_loading_unsigned_plugins = grafana-csv-plugin in grafana.ini

Now in the plugins via the grafana web interface, we have a never ending "loading..."

Any ideas?

kEND commented 3 years ago

Looks like it's an API version issue.

From grafana.log:

t=2021-06-11T15:36:27-0400 lvl=eror msg="Failed to start plugin" logger=plugins.backend pluginId=grafana-csv-plugin error="Incompatible API version with plugin. Plugin version: 1, Client versions: [2]"

I'm on 8.0.1. How difficult would it be to do an update?

paveldanilin commented 3 years ago

Hi!

Yes, you are right, that error is related tothe API version issue. I am planning to add support for Grafana 7/8, but I am not sure when it will happen exactly.