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 test

Ishaan Jaffe3b788ea29dc
diff --git a/litellm/integrations/prometheus_services.py b/litellm/integrations/prometheus_services.py
index 37f0d696fbc..c060026e156 100644
--- a/litellm/integrations/prometheus_services.py
+++ b/litellm/integrations/prometheus_services.py
@@ -95,7 +95,7 @@ class PrometheusServicesLogger:
def _get_service_metrics_initialize(
self, service: ServiceTypes
) -> List[ServiceMetrics]:
- DEFAULT_METRICS = [ServiceMetrics.COUNTER, ServiceMetrics.GAUGE]
+ DEFAULT_METRICS = [ServiceMetrics.COUNTER, ServiceMetrics.HISTOGRAM]
if service not in DEFAULT_SERVICE_CONFIGS:
return DEFAULT_METRICS