grafana / mqtt-datasource

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

I need information about how to preset MQTT with /provisioning/datasources/default.yml #54

Closed Buronn closed 1 year ago

Buronn commented 1 year ago

Hello, I want to add this plugin as default, but I don't know what variables should be used to set it correctly:

datasources:
- name: MQTT
  access: websockets
  type: ammpio-mqtt-datasource
  websocket_url: wss://ws.mywebsocket.com/
  user: grafana
  pass: grafana
  isDefault: true
  editable: true

It works, but the WebSocket URL is not generated automatically, the password and the user are not generated either.

image image

andershz commented 1 year ago

You're asking in the wrong project. https://github.com/svet-b/grafana-mqtt-datasource is the one you're looking for.

Buronn commented 1 year ago

You're asking in the wrong project. https://github.com/svet-b/grafana-mqtt-datasource is the one you're looking for.

You are right, thanks!