Fix: Grafana dashboard Orion-LD + Stellio persistence investigation
- ✅ Grafana dashboard updated with proper time filters - ✅ Orion-LD pipeline validated (6 tables, 5+ rows in CrateDB) - ❌ Stellio pipeline blocked: QuantumLeap /v2/notify doesn't support NGSI-LD native format (TypeError: argument of type 'float' is not iterable) - 📝 QuantumLeap expects NGSI-v2 format ({"value": X, "type": "Number"}) but receives NGSI-LD (direct values) Next steps: - Focus on Orion-LD pipeline (working) - Consider Stellio as experimental / future work
This commit is contained in:
40
grafana-fixed.json
Normal file
40
grafana-fixed.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"dashboard": {
|
||||
"id": 29,
|
||||
"uid": "orion-ld-simple",
|
||||
"title": "Smart City - Orion-LD FINAL",
|
||||
"tags": ["smart-city", "orion-ld", "fixed"],
|
||||
"timezone": "browser",
|
||||
"panels": [
|
||||
{
|
||||
"id": 1,
|
||||
"type": "timeseries",
|
||||
"title": "Température (°C)",
|
||||
"datasource": {"type": "postgres", "uid": "d43222c0-ad4e-4c49-9759-f822211e669e"},
|
||||
"targets": [
|
||||
{
|
||||
"refId": "A",
|
||||
"datasource": {"type": "postgres", "uid": "d43222c0-ad4e-4c49-9759-f822211e669e"},
|
||||
"rawQuery": true,
|
||||
"rawSql": "SELECT time_index as \"time\", AVG(temperature) as \"temp\" FROM quantumleap.etairqualityobserved GROUP BY time_index ORDER BY time_index"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "table",
|
||||
"title": "Dernières Mesures",
|
||||
"datasource": {"type": "postgres", "uid": "d43222c0-ad4e-4c49-9759-f822211e669e"},
|
||||
"targets": [
|
||||
{
|
||||
"refId": "A",
|
||||
"datasource": {"type": "postgres", "uid": "d43222c0-ad4e-4c49-9759-f822211e669e"},
|
||||
"rawQuery": true,
|
||||
"rawSql": "SELECT entity_id, time_index, temperature, no2, humidity FROM quantumleap.etairqualityobserved ORDER BY time_index DESC LIMIT 10"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"overwrite": true
|
||||
}
|
||||
Reference in New Issue
Block a user