grafana / mqtt-datasource

MQTT Datasource for Grafana allows streaming data from any MQTT broker running either locally or remotely.
Apache License 2.0
174 stars 51 forks source link

Support installation via the Plugin Catalogue #29

Open Vital91 opened 3 years ago

Vital91 commented 3 years ago

Hi,

Would be grate to be able to install this plugin inside a grafana container using GF_INSTALL_PLUGINS variable, Something like :

docker run -d \ -p 3000:3000 \ --name=grafana \ -e "GF_INSTALL_PLUGINS=https://github.com/grafana/mqtt-datasource/..." grafana/grafana

Go and Yarn are not available in usual grafana container...

Best regards

Vital

atifali commented 2 years ago

@Vital91 this should be easy to do once the plugin is released under the catalogue - wont work now since it is still in dev and only manual build is supported - for now in the short-term you could use a pre-built zipped package (from a different machine) to copy over into your container in the plugins directory which would work as expected

galigula2 commented 2 years ago

Hi, not sure about the anatomy of grafana plugins, but could said zip file be released and hosted here on this page until this is officially released? Then we should be able to just use the GF_INSTALL_PLUGINS with web address?

The plugin itself seems very useful even in this early stage. Thanks!

Pranavthakkar commented 2 years ago

hi, @atifali I'm running grafana on docker. wanted to test out MQTT-grafana plugin. I'm not able to understand how to install it to my /var/lib/grafana/plugins path. I don't know about yarn and go. So how can I install it in my docker container?

karl-nordstrom commented 2 years ago

Hello,

Is there a timeline for when we should expect this plugin to become available in the plugin catalogue? It would be a super useful feature which would push me towards using Grafana Cloud as the long-term solution for a particular monitoring problem.

Best, Karl

attoumbre commented 2 years ago

Hello , do you have a mqtt-datasource version that supports node versions below 14?

Best, juvé