litellm/tests/integration/observability
Kerry Lu af9789f7c0
feat(lens)!: forward Claude Code's traces and logs to Lens and stop sending the gateway's own records (#53485)
* Turn on Claude Code telemetry in setup and keep its session id on gateway calls

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Forward Claude Code's traces and logs to Lens and stop sending the gateway's own records

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(lens): keep the gateway key off other OTLP collectors and keep a user's content opt outs

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(lens): also drop a per-signal metrics collector so the gateway key cannot reach it

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-22 02:06:52 +00:00
..
_azure_storage_support.py
_langfuse_otel_metadata_support.py test(observability): allowlist the key Langfuse collector host in the OTel v2 console test (#52157) 2026-11-17 00:13:41 +00:00
_logging_only_scope_support.py
_openinference_support.py
_s3_v2_support.py
_ternary_support.py
azure_dispatch_support.py
conftest.py
logging_worker_drain_canary.py
test_akto_logging_only.py
test_anthropic_cache_control_hook_real_io.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
test_anthropic_overloaded_failure_signals.py
test_apply_guardrail_endpoint.py
test_arize_key_credential_reference.py
test_arize_otel_v2_openinference_chaos.py
test_arize_otel_v2_openinference_family.py
test_arize_otel_v2_openinference_modes.py
test_arize_otel_v2_openinference_sad_edge.py
test_arize_otel_v2_openinference_spans.py
test_azure_content_safety_audit.py
test_azure_content_safety_dispatch.py
test_azure_content_safety_dispatch_resilience.py
test_azure_content_safety_endpoints.py
test_azure_storage_chaos.py
test_azure_storage_client_ttl.py
test_azure_storage_file_names.py
test_batch_line_items_cold_storage.py
test_bedrock_converse_guardrail_rewrites.py
test_bedrock_converse_stream_post_call_guardrail.py
test_bedrock_error_request_id.py
test_bedrock_guardrail_attachments.py
test_bedrock_invoke_stream_post_call_guardrail.py test(integration): bill the Bedrock invoke outage burst by the tokens each cut-off stream logged (#53239) 2026-11-21 01:18:02 +00:00
test_cache_hit_guardrail_metrics.py
test_cache_hit_guardrail_metrics_chaos.py
test_callback_delivery.py
test_content_filter_logging_only.py
test_custom_logger_hook_counts.py
test_custom_logger_hook_counts_chaos.py
test_custom_logger_hook_counts_modes.py
test_custom_logger_hook_counts_post_call_block.py
test_custom_logger_hook_counts_vendors.py
test_custom_logger_redaction.py
test_datadog_logging_delivery.py
test_file_usage_counter_span.py
test_generic_guardrail_api_wire.py
test_generic_guardrail_num_retries.py
test_grayswan_wire.py
test_grayswan_wire_chaos.py
test_guardrail_attachment.py
test_guardrail_effects.py
test_guardrail_load_balancing.py
test_guardrail_pipeline_applied_header.py
test_guardrail_stream_scope.py
test_guardrail_stream_scope_chaos.py
test_guardrail_stream_scope_matrix.py
test_guardrail_timeout_all_providers.py
test_langfuse_delivery.py
test_langfuse_destination_span_scope.py feat(otel v2): proxy-level default langfuse_span_scope for key and team destinations (#51726) 2026-11-14 15:45:11 -08:00
test_langfuse_otel_console_output.py test(observability): allowlist the key Langfuse collector host in the OTel v2 console test (#52157) 2026-11-17 00:13:41 +00:00
test_langfuse_otel_legacy_destinations.py
test_langfuse_otel_metadata_chaos.py
test_langfuse_otel_metadata_clients.py
test_langfuse_otel_metadata_destinations.py
test_langfuse_otel_metadata_identity.py
test_langfuse_otel_tenant_only.py
test_langfuse_otel_trace_fields.py
test_langfuse_otel_v2_environment.py fix(otel): send the Langfuse environment, release and version on OTel v2 (#51385) 2026-11-14 11:40:35 -08:00
test_langsmith_logging_delivery.py
test_langtrace_delivery.py
test_logging_only_scope_chaos.py test(observability): give K3 the calibrated proxy budget instead of a fixed 300s (#51592) 2026-11-13 11:18:32 -08:00
test_logging_only_scope_config.py test(observability): include CollieAi in guardrail scope settings (#51345) 2026-11-12 04:01:47 +00:00
test_logging_only_scope_runtime.py test: update four stale integration and UI tests for intended behavior changes (#52108) 2026-11-16 13:20:21 -08:00
test_logging_worker_drain.py
test_otel_auto_router_model.py
test_otel_cache_hit_cost.py
test_otel_conversation_id.py
test_otel_destination_metadata_keys.py
test_otel_excluded_services.py
test_otel_excluded_services_matrix.py test(otel): keep proxy startup out of the per-test timeout in the excluded services matrix (#51759) 2026-11-14 01:05:05 +00:00
test_otel_failed_attempts.py fix(otel): emit a span for every failed retry and fallback attempt (#50310) 2026-11-17 14:38:25 -08:00
test_otel_responses_provider.py fix(responses): log the resolved provider on Responses API calls (#52622) 2026-11-18 22:34:16 +00:00
test_otel_team_capture_message_content.py
test_otel_team_request_metadata.py
test_otel_team_sampling_across_pods.py
test_otel_text_completion_choices.py
test_otel_trace_response_header.py
test_otel_v1_request_trace.py
test_ovalix_guardrail.py
test_panw_airs_block_masked_response.py
test_passthrough_guardrail_scan_text.py
test_passthrough_operation_name.py
test_passthrough_upstream_error_chaos.py
test_passthrough_upstream_error_visibility.py
test_presidio_entity_masking.py
test_presidio_masking_endpoints.py fix(proxy): count generateContent spend under its own endpoint (#52701) 2026-11-18 16:50:56 -08:00
test_presidio_overlapping_spans.py
test_presidio_streaming_output.py
test_prometheus_deployment_failure_api_provider.py
test_prometheus_project_alias_label.py
test_prometheus_provider_auth_failure.py test(integration): wait for the success series before the stored-credential 401 (#53460) 2026-11-21 15:14:09 -08:00
test_prometheus_provider_auth_failure_chaos.py
test_prometheus_request_metrics.py
test_prometheus_series_cap.py
test_prometheus_series_cap_chaos.py
test_prometheus_shared_custom_labels.py
test_raw_response_callback_delivery.py fix(logging): stop keeping a full response copy nobody reads (#52524) 2026-11-18 11:51:01 -08:00
test_realtime_guardrail_translation.py
test_s3_v2_flush_surfaces_rust.py feat(s3-log): replace the python s3_v2 logger with a rust callback (#51539) 2026-11-14 23:03:58 +00:00
test_s3_v2_partition_granularity_rust.py feat(s3-log): replace the python s3_v2 logger with a rust callback (#51539) 2026-11-14 23:03:58 +00:00
test_s3_v2_streaming_failure_dedupe_rust.py feat(s3-log): replace the python s3_v2 logger with a rust callback (#51539) 2026-11-14 23:03:58 +00:00
test_s3_v2_upload_fanout_rust.py feat(s3-log): replace the python s3_v2 logger with a rust callback (#51539) 2026-11-14 23:03:58 +00:00
test_signoz_delivery.py
test_straiker_v3_platform.py feat(guardrails): straiker stream_mode, per-phase logging and prompt-block replies (#51401) 2026-11-14 13:50:05 -08:00
test_stream_error_alert_api_base.py
test_ternary_focus_export.py
test_weave_key_scoped_delivery.py
test_wingback_guardrail.py
test_xecguard_wire.py