llama-stack-mirror/tests/integration/telemetry
Roy Belio 3e1d0060c1 fix: disable Gunicorn in telemetry tests to fix multi-process telemetry collection
Telemetry tests use an OTLP collector that expects single-process
telemetry spans. Gunicorn's multi-process architecture spawns multiple
workers, each with separate telemetry instrumentation, preventing the
test collector from capturing all spans.

This commit adds LLAMA_STACK_DISABLE_GUNICORN environment variable
support and sets it in telemetry test configuration to ensure
single-process Uvicorn is used during tests while maintaining
production multi-process behavior.

Fixes failing tests:
- test_streaming_chunk_count
- test_telemetry_format_completeness
2025-10-30 18:01:47 +02:00
..
collectors test: enable telemetry tests in server mode (#3927) 2025-10-28 16:33:48 -07:00
recordings test(telemetry): Telemetry Tests (#3805) 2025-10-17 10:43:33 -07:00
conftest.py fix: disable Gunicorn in telemetry tests to fix multi-process telemetry collection 2025-10-30 18:01:47 +02:00
test_completions.py test: enable telemetry tests in server mode (#3927) 2025-10-28 16:33:48 -07:00