mirror of
https://github.com/makeplane/plane.git
synced 2026-09-02 12:09:14 +02:00
- Extract shared is_otel_enabled() + extend_logging_config() into plane.observability.logging so the bootstrap, Celery, and Django LOGGING gates all accept the documented tokens (incl. 'on') identically. - Isolate each instrumentor in _instrument_libraries() so one failure can't block startup. - Pass OTEL_TRACES_SAMPLER / _ARG / OTEL_RESOURCE_ATTRIBUTES through the x-otel-env compose anchor (documented in .env.example). - Reset _TRACER_PROVIDER/_METER_PROVIDER in the test fixture.