llama-stack-mirror/tests/integration/telemetry
Ashwin Bharambe a371475cc8 fix(telemetry): configure OTEL collector before server starts in integration tests
The telemetry integration tests were failing in server mode because the OTEL
collector configuration was being set up after the server had already started.
This meant the server never received telemetry configuration and couldn't
export spans to the collector, resulting in empty span collections.

Changes:
- Set OTEL environment variables in integration-tests.sh before starting server
- Use LLAMA_STACK_TEST_COLLECTOR_PORT to ensure collector and server use same port
- Simplify conftest.py to not override env vars in server mode since server is already running
- Add verification that collector endpoint matches expected endpoint

This ensures telemetry spans are properly collected during server mode tests.
2025-10-30 09:57:28 -07: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(telemetry): configure OTEL collector before server starts in integration tests 2025-10-30 09:57:28 -07:00
test_completions.py test: enable telemetry tests in server mode (#3927) 2025-10-28 16:33:48 -07:00