Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix: added prometheus missing metrics

mubashir1osmani8de65e844805
diff --git a/enterprise/litellm_enterprise/integrations/prometheus.py b/enterprise/litellm_enterprise/integrations/prometheus.py
index 1aa2359bc15..742f2dbbe9b 100644
--- a/enterprise/litellm_enterprise/integrations/prometheus.py
+++ b/enterprise/litellm_enterprise/integrations/prometheus.py
@@ -244,14 +244,6 @@ class PrometheusLogger(CustomLogger):
labelnames=["api_provider"],
)
- # Get all keys
- _logged_llm_labels = [
- UserAPIKeyLabelNames.v2_LITELLM_MODEL_NAME.value,
- UserAPIKeyLabelNames.MODEL_ID.value,
- UserAPIKeyLabelNames.API_BASE.value,
- UserAPIKeyLabelNames.API_PROVIDER.value,
- ]
-
# Metric for deployment state
self.litellm_deployment_state = self._gauge_factory(
"litellm_deployment_state",