litellm/tests/test_litellm/integrations/otel
yucheng 318b027782 fix(otel): keep caller traceparent and tracestate on pass-through relays
Pass-through requests inject the proxy span into upstream headers since #40669, which
replaced an explicit x-pass-traceparent with an unrelated trace and dropped its
x-pass-tracestate. Keep the caller's context when the carrier already names a
different trace, and keep the proxy child span for same-trace or missing headers.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-18 08:26:39 +00:00
..
test_db_endpoint.py feat(otel): attribute Prisma database spans to PostgreSQL instead of localhost (#36595) 2026-08-18 20:08:43 -07:00
test_langfuse_logger.py fix(otel v2): map the caller's Langfuse user, session and tags onto the root and generation spans 2026-09-14 22:31:21 +00:00
test_otel_v2_baggage.py fix(otel): promote nested metadata keys under the caller's dotted path 2026-09-16 18:39:55 +00:00
test_otel_v2_components.py fix(otel): keep caller traceparent and tracestate on pass-through relays 2026-09-18 08:26:39 +00:00
test_otel_v2_config_baggage_parenting_guardrails.py feat(otel): typed semconv-aligned OpenTelemetry instrumentation (#28909) 2026-05-29 23:15:27 -07:00
test_otel_v2_destinations.py fix(otel v2): restore the Datadog auth span and the last-wins callback merge (#40335) 2026-09-09 01:00:26 +00:00
test_otel_v2_dynamic.py fix(otel/v2): detach credential-routed tenant spans into their own trace (#38847) 2026-08-29 17:41:25 -07:00
test_otel_v2_emitter.py test(otel): cover the routed tracer budget for spans opened at the pre_call boundary 2026-09-16 23:56:57 +00:00
test_otel_v2_logger.py test(otel): describe which request metadata the pre-call seed reads 2026-09-16 19:25:40 +00:00
test_otel_v2_metrics.py fix(logging): stop billing and logging response reads as LLM calls (#36890) 2026-08-26 18:34:17 -07:00
test_otel_v2_mount.py feat(otel): stamp litellm.request.route on the LLM call span (#39698) 2026-09-05 03:33:44 +00:00
test_otel_v2_multibackend.py feat(otel): typed semconv-aligned OpenTelemetry instrumentation (#28909) 2026-05-29 23:15:27 -07:00
test_otel_v2_presets.py feat(newrelic): per-team New Relic trace routing via team callbacks (#37603) 2026-08-22 19:13:48 -07:00
test_otel_v2_sources_of_truth.py refactor(otel v2): move TraceControls into its own module to break the metadata <-> payloads import cycle 2026-09-14 23:17:02 +00:00
test_otel_v2_vendor_mappers.py refactor(otel v2): move TraceControls into its own module to break the metadata <-> payloads import cycle 2026-09-14 23:17:02 +00:00
test_runtime.py perf(otel): memoize per-request lazy import of otel runtime hooks (#31707) 2026-06-30 10:26:20 -07:00