diff --git a/litellm/integrations/otel/plumbing/routing.py b/litellm/integrations/otel/plumbing/routing.py index e1cbc82719a..c19476a2133 100644 --- a/litellm/integrations/otel/plumbing/routing.py +++ b/litellm/integrations/otel/plumbing/routing.py @@ -236,8 +236,6 @@ class TenantTracerCache: service_name: Final = tenant_service_name(auth_metadata) if not credential_headers and not project_headers and service_name is None: return TenantRoute(tracer=default, detached=False) - # A fixed per-integration region endpoint (New Relic us/eu) or the host the - # key or team was configured with; ``None`` keeps the preset's endpoint. endpoint: Final = dynamic_otlp_endpoint(self._callback_name, dynamic_params) cache_key: Final = ( tuple(sorted(credential_headers.items())), diff --git a/litellm/integrations/otel/presets/__init__.py b/litellm/integrations/otel/presets/__init__.py index d5cc6c96635..37921673a7d 100644 --- a/litellm/integrations/otel/presets/__init__.py +++ b/litellm/integrations/otel/presets/__init__.py @@ -64,10 +64,6 @@ DYNAMIC_HEADERS_BY_CALLBACK: Final[Mapping[str, Callable[[StandardCallbackDynami ) ) -#: Callback name → per-request OTLP endpoint resolver. Only integrations whose -#: destination host varies per tenant appear here (newrelic's region table, the -#: Langfuse host a key or team was configured with); for everyone else the -#: preset's endpoint is authoritative. DYNAMIC_ENDPOINT_BY_CALLBACK: Final[Mapping[str, Callable[[StandardCallbackDynamicParams], str | None]]] = ( MappingProxyType( {