From 9ce8d187592109afe8773c79e60c25cb0751375b Mon Sep 17 00:00:00 2001 From: Julien Gautier Date: Fri, 8 May 2026 23:28:08 +0200 Subject: [PATCH] chore(infra): migrate Jaeger to v2 for built-in dark theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Jaeger v1's web UI has no theme selector — it ships light-only. v2 (the OTel-Collector-based rewrite, image `jaegertracing/jaeger`, distinct from v1's `jaegertracing/ all-in-one`) ships a Light / Dark / Auto switcher in the UI nav. v2 is also the actively-developed line; v1 will be phased out within ~6-12 months. Migration is mechanical: - Image: `jaegertracing/all-in-one:1.76.0` → `jaegertracing/jaeger:2.17.0`. - Drop `COLLECTOR_OTLP_ENABLED: 'true'` env — v2 enables OTLP receivers by default. - UI port (16686) and OTLP ports (4317 / 4318) are unchanged, so the collector → jaeger:4317 forwarding pipeline keeps working without touching `otel-collector.yaml`. The compose comment is updated to reflect v2's distinct image name and UI capabilities. --- infra/local/dev.compose.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/infra/local/dev.compose.yml b/infra/local/dev.compose.yml index 5af93b8..99f2cf4 100644 --- a/infra/local/dev.compose.yml +++ b/infra/local/dev.compose.yml @@ -133,14 +133,19 @@ services: # OTLP ports (4317/4318) are NOT published from this service to # avoid colliding with the collector — the collector talks to # Jaeger on the internal Compose network. + # + # Image is Jaeger v2 (`jaegertracing/jaeger`, distinct from the v1 + # `jaegertracing/all-in-one`). v2 is the rewrite built on top of + # OpenTelemetry Collector and is the actively-developed line. OTLP + # receivers are enabled by default (no COLLECTOR_OTLP_ENABLED env + # needed) and the UI ships a built-in Light/Dark/Auto theme + # selector — features the v1 image did not have. # ------------------------------------------------------------------ jaeger: - image: jaegertracing/all-in-one:1.76.0 + image: jaegertracing/jaeger:2.17.0 container_name: apf-portal-jaeger restart: unless-stopped profiles: [observability] - environment: - COLLECTOR_OTLP_ENABLED: 'true' ports: - '${JAEGER_UI_PORT:-16686}:16686' networks: