fix(scripts): add metrics interval to env variables

This commit is contained in:
Emilio Garcia 2025-10-30 14:31:38 -04:00
parent 661bd28e86
commit e8d20b9c50
2 changed files with 10 additions and 10 deletions

View file

@ -113,8 +113,7 @@ def test_telemetry_format_completeness(mock_otlp_collector, llama_stack_client,
assert len(metrics) > 0, "No metrics found within timeout"
# Filter metrics to only those from the specific model used in the request
# This prevents issues when multiple metrics with the same name exist from different models
# (e.g., when safety models like llama-guard are also called)
# Multiple metrics with the same name can exist (e.g., from safety models)
inference_model_metrics = {}
all_model_ids = set()