From 5fec1f46f200c2002feb4b086ce36e0329d377b6 Mon Sep 17 00:00:00 2001 From: Eric FELIXINE Date: Mon, 4 May 2026 23:44:32 -0400 Subject: [PATCH] Docs: Grafana integration plan for source/mqttTopic - Grafana not accessible at session time - Steps to integrate traceability fields - Credentials and datasources reference --- GRAFANA-INTEGRATION.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 GRAFANA-INTEGRATION.md diff --git a/GRAFANA-INTEGRATION.md b/GRAFANA-INTEGRATION.md new file mode 100644 index 00000000..952d537c --- /dev/null +++ b/GRAFANA-INTEGRATION.md @@ -0,0 +1,27 @@ +# Grafana Integration - source/mqttTopic + +## Status +Grafana non accessible au moment de la session (05-05-2026). + +## Objectif +Intégrer les champs `source` et `mqttTopic` (traceability) dans les dashboards Grafana. + +## Étapes à suivre +1. **Démarrer Grafana** (via docker-compose digital-twin) +2. **Vérifier datasources** (InfluxDB, PostgreSQL, etc.) +3. **Créer/Modifier dashboards** pour afficher : + - `source` : origine du message (simulator, mqtt-broker, etc.) + - `mqttTopic` : topic MQTT d'origine (city/sensors/...) +4. **Utiliser variables Grafana** pour filtrer par source/mqttTopic + +## Configuration Grafana +- **URL** : http://localhost:3000 (ou via Traefik) +- **Credentials** : admin / Digitribe972 +- **Datasources** : + - InfluxDB (port 8086) pour séries temporelles + - PostgreSQL (pour Orion-LD/Stellio data) + - FROST (quand réparé) + +## Référence +- Credentials : `~/digital-twin/docker-compose.digital-twin.yml` +- Grafana admin password : Digitribe972 (DB hash prioritaire)