fix: Redpanda start.sh + FROST direct simulator + Prometheus config
- Redpanda : correction start.sh (v24.3.14) - FROST : ENABLE_FROST=true dans simulator (test direct) - Pulsar : distribution.py mis à jour (mais ConnectError) - Prometheus : config ajoutée (prometheus.yml) - Grafana : datasources prêtes
This commit is contained in:
56
QUICK_REFERENCE.md
Normal file
56
QUICK_REFERENCE.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# Smart City Digital Twin Martinique — Quick Reference
|
||||
|
||||
## Architecture Actuelle
|
||||
|
||||
```
|
||||
Simulateur (Python)
|
||||
↓ (pulsar-client binaire, port 6650)
|
||||
Pulsar Standalone
|
||||
↓ (consumer + republish)
|
||||
Pulsar Distribution Service (Python)
|
||||
├→ MQTT Brokers (EMQX :1883, Mosquitto :1883)
|
||||
├→ NGSI-LD Brokers (Orion-LD :2026, Stellio :8087)
|
||||
└→ OGC SensorThings (FROST :8090)
|
||||
```
|
||||
|
||||
## Commandes Utiles
|
||||
|
||||
### Vérifier les services
|
||||
```bash
|
||||
docker ps | grep -E "(simulator|pulsar|emqx|orion|stellio|frost)"
|
||||
```
|
||||
|
||||
### Voir les logs
|
||||
```bash
|
||||
# Simulateur
|
||||
docker logs smart-city-simulator --tail 50
|
||||
|
||||
# Distribution Pulsar
|
||||
docker logs smart-city-pulsar-distribution --tail 50
|
||||
|
||||
# Orion-LD
|
||||
curl -s "http://localhost:2026/ngsi-ld/v1/entities?limit=3" | python3 -m json.tool
|
||||
```
|
||||
|
||||
### Redémarrer un service
|
||||
```bash
|
||||
cd ~/smart-city-digital-twin-martinique
|
||||
docker-compose -f docker-compose.yml -f docker-compose.distribution.yml restart simulator
|
||||
```
|
||||
|
||||
## Prochaines Étapes
|
||||
|
||||
1. **Grafana** : Configurer datasources (InfluxDB, Pulsar, FROST) + dashboards
|
||||
2. **Redpanda** : Remplacer par Kafka simple ou résoudre le problème de démarrage
|
||||
3. **FROST** : Corriger le format du payload (datastream_id requis)
|
||||
4. **Monitoring** : Prometheus pour les métriques des stacks (pas d'ingestion payloads)
|
||||
|
||||
## Git
|
||||
|
||||
```bash
|
||||
cd ~/smart-city-digital-twin-martinique
|
||||
git add -A && git commit -m "message" && git push origin master
|
||||
```
|
||||
|
||||
---
|
||||
*Dernière mise à jour : 05 Mai 2026*
|
||||
Reference in New Issue
Block a user