llama-stack-mirror/tests/integration/telemetry/collectors
Emilio Garcia 0e0bc8aba7 Fix protobuf metric parsing in OTLP collector
- Add _create_metric_stub_from_protobuf method to correctly parse protobuf metrics
- Add _extract_attributes_from_data_point helper method
- Change metric handling to use protobuf-specific parsing instead of OpenTelemetry native parsing
- Add missing typing import
- Add OTEL_METRIC_EXPORT_INTERVAL environment variable for test configuration

This fixes the CI failure where metrics were not being properly extracted from
protobuf data in server mode tests.
2025-11-04 14:04:11 -05:00
..
__init__.py test: enable telemetry tests in server mode (#3927) 2025-10-28 16:33:48 -07:00
base.py Fix protobuf metric parsing in OTLP collector 2025-11-04 14:04:11 -05:00
in_memory.py fix(tests): deduplicate code and simplify user experience for telemetry test code 2025-11-04 14:03:13 -05:00
otlp.py Fix protobuf metric parsing in OTLP collector 2025-11-04 14:04:11 -05:00