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]

show warning about prometheus moving to enterprise

Ishaan Jaff958e0fdfabaa
diff --git a/docs/my-website/docs/proxy/prometheus.md b/docs/my-website/docs/proxy/prometheus.md
index b3306b1acad..609c00f8eb2 100644
--- a/docs/my-website/docs/proxy/prometheus.md
+++ b/docs/my-website/docs/proxy/prometheus.md
@@ -4,9 +4,10 @@ import TabItem from '@theme/TabItem';
# 📈 Prometheus metrics [BETA]
:::info
-🚨 Prometheus Metrics will be moving to LiteLLM Enterprise by September 15th, 2024
+🚨 Prometheus Metrics will be moving to LiteLLM Enterprise on September 15th, 2024
[Enterprise Pricing](https://www.litellm.ai/#pricing)
+
[Contact us here to get a license](https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat)
:::
diff --git a/litellm/integrations/prometheus.py b/litellm/integrations/prometheus.py
index 06ec7118629..61f4ff02a6c 100644
--- a/litellm/integrations/prometheus.py
+++ b/litellm/integrations/prometheus.py
@@ -28,6 +28,10 @@ class PrometheusLogger:
from litellm.proxy.proxy_server import premium_user
+ verbose_logger.warning(
+ "🚨🚨🚨 Prometheus Metrics will be moving to LiteLLM Enterprise on September 15th, 2024.\n🚨 Contact us here to get a license https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat \n🚨 Enterprise Pricing: https://www.litellm.ai/#pricing"
+ )
+
self.litellm_llm_api_failed_requests_metric = Counter(
name="litellm_llm_api_failed_requests_metric",
documentation="Total number of failed LLM API calls via litellm",