mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-30 01:52:18 +00:00
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>
This commit is contained in:
parent
f3555a72be
commit
e2ec260fd4
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
2
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
2
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue