litellm/tests/test_litellm/integrations/open_telemetry
ryan-crabbe-berri f047b1571e
fix(otel): capture 401 error details in management endpoint spans (#29535)
Auth failures on management endpoints such as team/list and
organization/list (invalid or expired keys) were raised as
ProxyException, whose __str__ returned an empty string, so the OTEL
SERVER span recorded an error with no message. ProxyException now
stringifies to its message, get_error_information prefers the explicit
.message attribute, and the proxy exception handlers stamp a consistent
error.type, error.code and error.message on the span

Resolves LIT-3515
2026-06-02 16:40:30 -07:00
..
data fix(tests): replace deprecated Bedrock Claude 3.7 Sonnet model ID 2026-04-28 14:24:19 -07:00
__init__.py fix(otel): stamp http.response.status_code on all error responses (#28405) 2026-05-23 19:21:32 +00:00
_helpers.py fix(otel): stamp http.response.status_code on all error responses (#28405) 2026-05-23 19:21:32 +00:00
conftest.py fix(otel): stamp http.response.status_code on all error responses (#28405) 2026-05-23 19:21:32 +00:00
test_otel_admin_endpoints.py fix(otel): export SERVER span on management-endpoint success without http_request (#28794) 2026-05-25 12:13:17 -07:00
test_otel_exception_handler.py fix(otel): capture 401 error details in management endpoint spans (#29535) 2026-06-02 16:40:30 -07:00
test_otel_passthrough_endpoints.py fix(otel): stamp http.response.status_code on all error responses (#28405) 2026-05-23 19:21:32 +00:00
test_otel_unified_endpoints.py fix(otel): stamp http.response.status_code on all error responses (#28405) 2026-05-23 19:21:32 +00:00
test_passthrough_parent_span.py fix(proxy): link passthrough success spans to the SERVER root OTEL span (#29315) 2026-05-29 21:30:45 -07:00