docs - setting alert types

This commit is contained in:
Ishaan Jaff 2024-05-16 16:57:54 -07:00
parent a292583ff1
commit 53ae4654c4

View file

@ -61,8 +61,37 @@ curl -X GET 'http://localhost:4000/health/services?service=slack' \
-H 'Authorization: Bearer sk-1234'
```
## Advanced
### Opting into specific alert types
Set `alert_types` if you want to Opt into only specific alert types
```shell
general_settings:
alerting: ["slack"]
alert_types: ["spend_reports"]
```
All Possible Alert Types
```python
alert_types:
Optional[
List[
Literal[
"llm_exceptions",
"llm_too_slow",
"llm_requests_hanging",
"budget_alerts",
"db_exceptions",
"daily_reports",
"spend_reports",
"cooldown_deployment",
"new_model_added",
]
]
```
## Extras
### Using Discord Webhooks