Update litellm/litellm_core_utils/litellm_logging.py

Co-authored-by: veria-ai[bot] <224490171+veria-ai[bot]@users.noreply.github.com>
This commit is contained in:
Jordan Stein 2026-10-20 10:23:11 -04:00 • committed by GitHub
parent 3af818f00f
commit cf871205f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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=(