From e733b619dbc95042febd2eba115e2c2a971ae855 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Thu, 18 Sep 2025 11:23:04 -0700 Subject: [PATCH] fix: test_user_email_in_all_required_metrics --- tests/otel_tests/test_prometheus.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/otel_tests/test_prometheus.py b/tests/otel_tests/test_prometheus.py index 1328dae2ed..c811a6c020 100644 --- a/tests/otel_tests/test_prometheus.py +++ b/tests/otel_tests/test_prometheus.py @@ -576,8 +576,8 @@ async def test_user_email_in_all_required_metrics(): Test that user_email label is present in all the metrics that were requested to have it: - litellm_proxy_total_requests_metric_total - litellm_proxy_failed_requests_metric_total - - litellm_input_tokens_total - - litellm_output_tokens_total + - litellm_input_tokens_metric_total + - litellm_output_tokens_metric_total - litellm_requests_metric_total - litellm_spend_metric_total """ @@ -608,8 +608,8 @@ async def test_user_email_in_all_required_metrics(): # Check that user_email appears in all the required metrics required_metrics_with_user_email = [ "litellm_proxy_total_requests_metric_total", - "litellm_input_tokens_total", - "litellm_output_tokens_total", + "litellm_input_tokens_metric_total", + "litellm_output_tokens_metric_total", "litellm_requests_metric_total", "litellm_spend_metric_total" ]