38 lines
964 B
YAML
38 lines
964 B
YAML
# 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 |