meldestelle/docs/99_Journal/2026-01-15_Infrastructure_Zipkin_Setup.md
Stefan Mogeritsch cc4eade957 docs: document Zipkin setup and integrate tracing configuration
Added new documentation for Zipkin setup, including Docker Compose configuration, service integration, and troubleshooting steps. Integrated tracing configuration for key microservices to enable distributed tracing and latency analysis.
2026-01-17 10:17:07 +01:00

37 lines
1.4 KiB
Markdown

---
type: Journal
status: ACTIVE
owner: Infrastructure & DevOps Engineer
last_update: 2026-01-15
---
# Session Log: Infrastructure Zipkin Setup
## Zusammenfassung
In dieser Session wurde die Infrastruktur um Distributed Tracing mit **Zipkin** erweitert, um Latenzanalysen in der Microservice-Architektur zu ermöglichen.
## Durchgeführte Änderungen
### 1. Docker Compose (`docker-compose.yaml`)
* **Neuer Service `zipkin`:**
* Image: `openzipkin/zipkin:3`
* Port: `9411`
* Network Alias: `zipkin`
* **Service Integration:**
* Die Services `api-gateway`, `ping-service`, `entries-service`, `results-service` und `scheduling-service` wurden konfiguriert, um Tracing-Daten an Zipkin zu senden.
* Umgebungsvariablen hinzugefügt:
* `MANAGEMENT_ZIPKIN_TRACING_ENDPOINT`
* `MANAGEMENT_TRACING_SAMPLING_PROBABILITY`
### 2. Dokumentation
* Neue Referenz-Dokumentation erstellt: `docs/07_Infrastructure/Reference/zipkin.md`.
* Enthält Konfigurationsdetails und Troubleshooting-Hinweise.
## Betroffene Dateien
* `docker-compose.yaml`
* `docs/07_Infrastructure/Reference/zipkin.md`
## Nächste Schritte
* Backend-Developer müssen sicherstellen, dass die Micrometer-Tracing-Dependencies (`micrometer-tracing-bridge-brave`, `zipkin-reporter-brave`) im Build vorhanden sind.
* Neustart der Umgebung mit `docker compose up -d`.