Open M4vish opened 1 year ago
@M4vish I managed to make Grafana use a datasource with this plugin at boot time, you can use the following configuration as a reference:
apiVersion: 1
datasources:
- name: MQ-data
type: grafana-mqtt-datasource
version: 1
editable: true
isDefault: false
jsonData:
uri: tcp://broker:1883
username: ${MQTT_USERNAME}
secureJsonData:
password: ${MQTT_PASSWORD}
Hi all,
I'm trying to add the grafana mqtt data source with terraform in a k3s cluster but unfortunately it does not work. The "grafana-mqtt-datasource" is installed successfully and I'm able to add a new datasource with the webfrontend, but not with the terraform scripts. I tried different settings for the "datasource type" e.g. MQTT, mqtt, Mqtt but without any success. Attached some snippets.
template "grafana-values.tpl":
main.tf
The Script is working, the datasources.yml is created successfully with the correct YAML syntax and in the webfrontend you'll see the mqtt Datasource. But when you click on it, it says "Plugin not found, no installed plugin with that id". But again, if you add the mqtt datasource by hand, it works as it should. Thx in advance.