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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix set_llm_deployment_success_metrics
Ishaan Jaffaa96c177befe
diff --git a/litellm/integrations/prometheus.py b/litellm/integrations/prometheus.pyindex dc9e170eb44..68d0cdfaf52 100644--- a/litellm/integrations/prometheus.py+++ b/litellm/integrations/prometheus.py@@ -1001,9 +1001,9 @@ class PrometheusLogger(CustomLogger):"x_ratelimit_remaining_tokens", None)- if litellm_overhead_time_ms := standard_logging_payload["hidden_params"][- "litellm_overhead_time_ms"- ]:+ if litellm_overhead_time_ms := standard_logging_payload[+ "hidden_params"+ ].get("litellm_overhead_time_ms"):self.litellm_overhead_latency_metric.labels(model_group,llm_provider,