From e2ec260fd4539119bd1c0572474477489da6a60e Mon Sep 17 00:00:00 2001 From: yucheng Date: Thu, 24 Sep 2026 08:41:38 +0000 Subject: [PATCH] fix(otel v2): retarget the otel_span_scope config test and regen schema langfuse_otel no longer offers otel_span_scope in the admin config; the select test now covers arize and newrelic, which still offer it Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../management_endpoints/test_callback_management_endpoints.py | 2 +- ui/litellm-dashboard/src/lib/http/schema.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_litellm/proxy/management_endpoints/test_callback_management_endpoints.py b/tests/test_litellm/proxy/management_endpoints/test_callback_management_endpoints.py index 7080406c871..617a9fa6921 100644 --- a/tests/test_litellm/proxy/management_endpoints/test_callback_management_endpoints.py +++ b/tests/test_litellm/proxy/management_endpoints/test_callback_management_endpoints.py @@ -298,7 +298,7 @@ class TestLangfuseOtelCallbackConfig: assert frozenset(scope["options"]) == OTEL_SPAN_SCOPES assert scope["required"] is False - @pytest.mark.parametrize("callback_id", ["langfuse_otel", "arize", "newrelic"]) + @pytest.mark.parametrize("callback_id", ["arize", "newrelic"]) def test_otel_span_scope_is_a_select_over_exactly_the_scopes_the_validator_accepts(self, callback_id): from litellm.types.utils import OTEL_SPAN_SCOPES diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index 9374f4ec250..e77d892f621 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -16364,7 +16364,7 @@ export interface paths { * - langfuse_host: The host for the Langfuse callback * - langfuse_environment: The tracing environment for the Langfuse callback (lowercase; falls back to LANGFUSE_TRACING_ENVIRONMENT) * - langfuse_span_scope: For langfuse_otel, "full" (default) sends the whole request trace, "no_internal" holds back the proxy's own auth, cache and database spans, "llm_only" sends only the model-call spans - * - otel_span_scope: For langfuse_otel, arize, weave_otel and newrelic, the same three scopes; a langfuse_otel entry may set either name, and otel_span_scope wins when they disagree; defaults to litellm_settings.otel_tenant_span_scope + * - otel_span_scope: For langfuse_otel, arize, weave_otel and newrelic, the same three scopes; a langfuse_otel entry may set either name; different values on one entry are rejected; defaults to litellm_settings.otel_tenant_span_scope * - gcs_bucket_name: The name of the GCS bucket * - gcs_path_service_account: The path to the GCS service account * - langsmith_api_key: The API key for the Langsmith callback