Coolify: Suppress coordinator OTLP exporter errors #441

Closed
opened 2026-02-22 07:21:28 +00:00 by jason.woltje · 0 comments
Owner

Resolution

Added OTEL_SDK_DISABLED=true to the Coolify service .env file. This is the standard OpenTelemetry environment variable that disables the SDK entirely.

The coordinator Python app initializes the OTel SDK at import time (before checking MOSAIC_TELEMETRY_ENABLED), but with OTEL_SDK_DISABLED=true the SDK creates a no-op exporter — no connection attempts to localhost:4318, no OTLP error noise in logs.

Verification

  • Container env confirms OTEL_SDK_DISABLED=true
  • Coordinator logs show zero OTLP connection errors after container recreation
  • Health checks all passing
## Resolution Added `OTEL_SDK_DISABLED=true` to the Coolify service `.env` file. This is the standard OpenTelemetry environment variable that disables the SDK entirely. The coordinator Python app initializes the OTel SDK at import time (before checking `MOSAIC_TELEMETRY_ENABLED`), but with `OTEL_SDK_DISABLED=true` the SDK creates a no-op exporter — no connection attempts to localhost:4318, no OTLP error noise in logs. ## Verification - Container env confirms `OTEL_SDK_DISABLED=true` - Coordinator logs show zero OTLP connection errors after container recreation - Health checks all passing
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#441