From ffb7f9f280b8bf6ddcbc801f2ffc8efa5146e58e Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 10 Aug 2024 15:26:32 -0700 Subject: [PATCH] add fallback_reports as slack alert --- docs/my-website/docs/proxy/alerting.md | 1 + litellm/proxy/_types.py | 1 + litellm/proxy/utils.py | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/my-website/docs/proxy/alerting.md b/docs/my-website/docs/proxy/alerting.md index b8e5ebe207..7841ace580 100644 --- a/docs/my-website/docs/proxy/alerting.md +++ b/docs/my-website/docs/proxy/alerting.md @@ -126,6 +126,7 @@ AlertType = Literal[ "db_exceptions", "daily_reports", "spend_reports", + "fallback_reports", "cooldown_deployment", "new_model_added", "outage_alerts", diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index ec788471a4..5e0de6fb09 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -115,6 +115,7 @@ AlertType = Literal[ "new_model_added", "outage_alerts", "region_outage_alerts", + "fallback_reports", ] diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py index 212f8a9c87..d1d17d0ef5 100644 --- a/litellm/proxy/utils.py +++ b/litellm/proxy/utils.py @@ -222,6 +222,7 @@ class ProxyLogging: "db_exceptions", "daily_reports", "spend_reports", + "fallback_reports", "cooldown_deployment", "new_model_added", "outage_alerts",