mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
docs(budget_alerts.md): doc cleanup
This commit is contained in:
parent
f17c0230c8
commit
922b38301f
1 changed files with 10 additions and 7 deletions
|
|
@ -10,6 +10,16 @@ import Image from '@theme/IdealImage';
|
|||
|
||||
### 1. Setup Slack Alerting on your Proxy Config.yaml
|
||||
|
||||
**Add Slack Webhook to your env**
|
||||
Get a slack webhook url from https://api.slack.com/messaging/webhooks
|
||||
|
||||
|
||||
Set `SLACK_WEBHOOK_URL` in your proxy env
|
||||
|
||||
```shell
|
||||
export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/<>/<>/<>"
|
||||
```
|
||||
|
||||
**Update proxy config.yaml with slack alerting**
|
||||
Add `general_settings:alerting`
|
||||
```yaml
|
||||
|
|
@ -22,15 +32,8 @@ general_settings:
|
|||
alerting: ["slack"]
|
||||
```
|
||||
|
||||
Get a slack webhook url from https://api.slack.com/messaging/webhooks
|
||||
|
||||
|
||||
Set `SLACK_WEBHOOK_URL` in your proxy env
|
||||
|
||||
```shell
|
||||
SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/<>/<>/<>"
|
||||
```
|
||||
|
||||
Start proxy
|
||||
```bash
|
||||
$ litellm --config /path/to/config.yaml
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue