show warning about prometheus moving to enterprise

This commit is contained in:
Ishaan Jaff 2024-08-07 12:46:26 -07:00
parent 80acc7ecfe
commit 958e0fdfab
2 changed files with 6 additions and 1 deletions

View file

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

View file

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