Commit Graph

4 Commits

Author SHA1 Message Date
Eric FELIXINE
943836f8fb feat: activate BunkerM MQTT broker + fix Telegraf
- BunkerM: recreated with port 1883 (external) -> 1900 (internal)
- BunkerM: disabled dynsec plugin, using password_file auth (bunker/bunker)
- Simulator: ENABLE_BUNKER=1, BUNKERM_PORT=1900
- Telegraf: reactivated BunkerM consumer on port 1900
- Telegraf: recreated container (3 MQTT consumers connected)
- Grafana: dashboard v4 with corrected Flux queries
- Grafana: datasource fixed (bucket=smartcity, token=my-super-token)

Verified:
- Simulator publishes to EMQX , Mosquitto , BunkerM 
- Telegraf receives from all 3 brokers 
- InfluxDB has data from all brokers 
- Grafana dashboard displays data 
2026-05-25 20:03:55 -04:00
Eric FELIXINE
5bbd5a6e5d fix: Grafana dashboard 'no data' — datasource + Flux queries
- Fix datasource: bucket=smartcity, token=my-super-token, org=digitribe
- Fix dashboard queries: filter by topic tag instead of _measurement
  (all data in measurement 'mqtt_consumer', type in tag 'topic')
- Fix field names: temperature_c→temperature_celsius, luminosity→brightness_lux
- Update dashboard to v3 with 15 panels (airquality, traffic, parking, weather, noise, light)
- Update TODO.md and session_resume

Tested: PM2.5 , Temperature , Vehicle Count  via Grafana API
2026-05-25 16:39:50 -04:00
Eric FELIXINE
8642ed7001 feat: Add Redpanda Console, Pulsar Distribution Service, and Grafana Dashboards
- Add Redpanda Console service (port 28080, Traefik integration)
- Add Pulsar Distribution Service (Pulsar -> Brokers)
- Create Grafana dashboards for Redpanda, Pulsar, and Smart City Ingestion
- Configure Prometheus targets for Pulsar and Redpanda metrics
- Fix FROST URL in distribution service
- Create session resume for 2026-05-05
2026-05-05 13:49:00 -04:00
Eric FELIXINE
e618cbfcb9 feat: migrate InfluxDB and Grafana from digital-twin/ to smart-city/ stack
- docker-compose.influxdb.yml: InfluxDB v2 on smartcity-shared + traefik-public
- docker-compose.grafana.yml: Grafana 10.2 on smartcity-shared + traefik-public
- grafana/provisioning/: dashboards + datasources updated for smart-city
- pulsar/docker-compose.yml: added smartcity-shared network for simulator access

Services migrated (preserving existing volumes):
  - digital-twin-influxdb → smart-city-influxdb
  - digital-twin-grafana  → smart-city-grafana

Traefik routes updated:
  - influxdb.digitribe.fr → smart-city-influxdb:8086
  - grafana.digitribe.fr  → smart-city-grafana:3000
2026-05-05 01:53:37 -04:00