refactor(otel v2): drop the routing notes the names already say

This commit is contained in:
mateo-berri 2026-09-08 11:50:30 -07:00
parent 451de0ace2
commit 8a5f763164
2 changed files with 0 additions and 6 deletions

View file

@ -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())),

View file

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