Files
smart-city-digital-twin-mar…/references/grafana-dashboard-sc-dt-modified.json
Eric FELIXINE ea1f140c7c Grafana: Add source variable to Smart City dashboard
- Add 'source' variable for broker filtering
- Save original and modified dashboard JSON
- Prepare for mqttTopic integration
2026-05-04 23:47:00 -04:00

162 lines
3.6 KiB
JSON

{
"meta": {
"type": "db",
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"canDelete": true,
"slug": "smart-city-digital-twin-martinique",
"url": "/d/smartcity-martinique-2026/smart-city-digital-twin-martinique",
"expires": "0001-01-01T00:00:00Z",
"created": "2026-05-04T21:28:58Z",
"updated": "2026-05-05T02:14:44Z",
"updatedBy": "admin",
"createdBy": "admin",
"version": 3,
"hasAcl": false,
"isFolder": false,
"folderId": 0,
"folderUid": "",
"folderTitle": "General",
"folderUrl": "",
"provisioned": false,
"provisionedExternalId": "",
"annotationsPermissions": {
"dashboard": {
"canAdd": true,
"canEdit": true,
"canDelete": true
},
"organization": {
"canAdd": true,
"canEdit": true,
"canDelete": true
}
}
},
"dashboard": {
"annotations": {
"list": []
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 9,
"links": [],
"panels": [
{
"datasource": "FIWARE Orion",
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"targets": [
{
"query": "/ngsi-ld/v1/entities?type=TrafficFlowObserved&limit=1000",
"refId": "A"
}
],
"title": "Traffic Flow (Orion-LD)",
"type": "timeseries"
},
{
"datasource": "FROST-Server SensorThings",
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"targets": [
{
"query": "/Datastreams?$expand=Observations",
"refId": "B"
}
],
"title": "Air Quality (FROST-Server)",
"type": "timeseries"
},
{
"datasource": "InfluxDB-Local",
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 8
},
"targets": [
{
"query": "SHOW TAG VALUES FROM \"sensor_data\" WITH KEY = \"type\"",
"refId": "C"
}
],
"title": "Capteurs par Type (InfluxDB)",
"type": "stat"
},
{
"datasource": "FROST-Server SensorThings",
"gridPos": {
"h": 8,
"w": 16,
"x": 8,
"y": 8
},
"targets": [
{
"query": "/Observations?$orderby=phenomenonTime desc&$top=10",
"refId": "D"
}
],
"title": "Derni\u00e8res Observations (FROST)",
"type": "table"
}
],
"schemaVersion": 36,
"style": "dark",
"tags": [
"smartcity",
"martinique",
"simulator"
],
"templating": {
"list": [
{
"name": "source",
"type": "custom",
"label": "Source (Broker)",
"options": [
{
"text": "simulator",
"value": "simulator",
"selected": true
},
{
"text": "emqx",
"value": "emqx"
},
{
"text": "mosquitto",
"value": "mosquitto"
},
{
"text": "bunkerm",
"value": "bunkerm"
}
],
"query": "simulator,emqx,mosquitto,bunkerm",
"allFormat": "regex"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"title": "Smart City Digital Twin - Martinique",
"uid": "smartcity-martinique-2026",
"version": 3
}
}