feat(prometheus): add SERVICE_TIER to litellm_proxy_failed_requests_metric labels

This commit is contained in:
HARSHIT KULKARNI 2026-11-05 06:36:23 +05:30
parent 8404bc094c
commit 3bb8aa0db4

View file

@ -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