diff --git a/grafana-datasources.yml b/grafana-datasources.yml new file mode 100644 index 00000000..864b89cb --- /dev/null +++ b/grafana-datasources.yml @@ -0,0 +1,38 @@ +# Grafana datasources configuration + +apiVersion: 1 + +datasources: + - name: InfluxDB + type: influxdb + access: proxy + url: http://influxdb:8086 + jsonData: + version: Flux + organization: digitribe + defaultBucket: iot_data + tlsSkipVerify: true + secureJsonData: + token: my-super-secret-admin-token + editable: true + + - name: GeoServer WMS + type: wms-wfst + access: proxy + url: http://docker-geoserver-1:8080/geoserver + jsonData: + layers: "digital-twin:IoT_Sensors" + attributes: "data,location,timestamp" + featureServerURL: "http://docker-geoserver-1:8080/geoserver/wfs" + basicAuth: true + basicAuthUser: admin + basicAuthPassword: geoserver + + - name: FIWARE Orion + type: grafana-simple-json-datasource + access: proxy + url: http://fiware-gis-quickstart-orion-1:1026 + jsonData: + queryURLTemplate: "/ngsi-ld/v1/entities?type={{type}}" + method: GET + editable: true \ No newline at end of file