mqtt-datasource
mqtt-datasource copied to clipboard
Share externally not possible?
It seems a dashboard built with this plugin cannot be externally shared, I assume there's a technical reason behind this - can someone clarify for my curiosity? It would be very helpful to be able to.
Hi @bucklevision,
A technical answer without details will be difficult, but I can share my experience. We configured, tried, tested and eventually deployed in production in various network configuration and, when Grafana see the broker, it has worked all the time.
- MQTT broker private, Grafana private (for dev)
- same as above but Grafana expose via NAT (for dev and test)
- Grafana and MQTT behind reverse proxy and FW in Cloud (managed k8s and compute)
If you go through others post, it is mentioned that some have problem like:
- retained messages are not shown when loading a dashboard
- slow data volume when last data point is not in current time range
- data cache / history from Grafana live data-source (seems this is not supported by this plugin)
I would debug by looking at:
- MQTT connectivity (do you see the Grafana MQTT client connecting to your broker)
- MQTT starting when there's a green dot for panel with MQTT as data source
- Editing a panel, you turn the view in Table mode and see check if theres messages, which mean this is perhaps a data model that don't match what the plugin support out of the box... you may want to transform your data then.
Again, this is probably not helping but at least it's confirmation that this is indeed working.