From 3bb8aa0db46dc693dd938bb90da4185066aa74d4 Mon Sep 17 00:00:00 2001 From: HARSHIT KULKARNI Date: Thu, 5 Nov 2026 06:36:23 +0530 Subject: [PATCH] feat(prometheus): add SERVICE_TIER to litellm_proxy_failed_requests_metric labels --- litellm/types/integrations/prometheus.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/types/integrations/prometheus.py b/litellm/types/integrations/prometheus.py index ca084bb358c..8fb660ac4d1 100644 --- a/litellm/types/integrations/prometheus.py +++ b/litellm/types/integrations/prometheus.py @@ -515,6 +515,7 @@ class PrometheusMetricLabels: UserAPIKeyLabelNames.USER_EMAIL.value, UserAPIKeyLabelNames.EXCEPTION_STATUS.value, UserAPIKeyLabelNames.EXCEPTION_CLASS.value, + UserAPIKeyLabelNames.SERVICE_TIER.value, # ``rate_limit_category`` / ``rate_limit_type`` are appended in # ``get_labels()`` when ``litellm.prometheus_emit_rate_limit_labels`` # is True. Kept opt-in so existing dashboards keyed on this metric's