mqtt-datasource
mqtt-datasource copied to clipboard
Use URL-safe Base64 encoding for the topic name
Use url-safe base64 encoding to encode the topic name. It allows subscribing to topics with special characters in the name, for example $SYS/+, etc.
Fixes #111, #105, #90
How to test
- Start Grafana with the plugin:
mage -v
yarn build
GRAFANA_VERSION=11.1.0 yarn run server
- Run the test MQTT broker:
node scripts/test_broker.js
-
Create a new MQTT data source:
tcp://host.docker.internal:1883 -
Subscribe to
$SYS/my:topic/second/1in Explore