fix - allow users to opt into specific alert types

This commit is contained in:
Ishaan Jaff 2024-05-16 16:52:44 -07:00
parent f3d340bd3a
commit a292583ff1
3 changed files with 27 additions and 2 deletions

View file

@ -74,6 +74,9 @@ class ProxyLogging:
"budget_alerts",
"db_exceptions",
"daily_reports",
"spend_reports",
"cooldown_deployment",
"new_model_added",
]
] = [
"llm_exceptions",
@ -82,6 +85,9 @@ class ProxyLogging:
"budget_alerts",
"db_exceptions",
"daily_reports",
"spend_reports",
"cooldown_deployment",
"new_model_added",
]
self.slack_alerting_instance = SlackAlerting(
alerting_threshold=self.alerting_threshold,
@ -104,6 +110,9 @@ class ProxyLogging:
"budget_alerts",
"db_exceptions",
"daily_reports",
"spend_reports",
"cooldown_deployment",
"new_model_added",
]
]
] = None,