From cf871205f8fe46cd5181168ff966992003ad64eb Mon Sep 17 00:00:00 2001 From: Jordan Stein Date: Tue, 20 Oct 2026 10:23:11 -0400 Subject: [PATCH] Update litellm/litellm_core_utils/litellm_logging.py Co-authored-by: veria-ai[bot] <224490171+veria-ai[bot]@users.noreply.github.com> --- litellm/litellm_core_utils/litellm_logging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/litellm_core_utils/litellm_logging.py b/litellm/litellm_core_utils/litellm_logging.py index 781e3c53091..b465283d853 100644 --- a/litellm/litellm_core_utils/litellm_logging.py +++ b/litellm/litellm_core_utils/litellm_logging.py @@ -5508,6 +5508,7 @@ def build_custom_logger_compatible_class( _nops_base: Final = (os.getenv(NOPS_OTEL_ENDPOINT_ENV) or NOPS_DEFAULT_OTEL_ENDPOINT).rstrip("/") _nops_config: Final = OpenTelemetryConfig( exporter="otlp_http", + skip_set_global=True, endpoint=(_nops_base if _nops_base.endswith("/v1/traces") else f"{_nops_base}/v1/traces"), headers=f"Authorization=Bearer {_nops_key}", capture_message_content=(