-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to customize slack report frequency #3622
Add ability to customize slack report frequency #3622
Conversation
via `SLACK_DAILY_REPORT_FREQUENCY` env var Addresses one thing that @taralika mentioned in BerriAI#3597
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
can you add this to docs - https://docs.litellm.ai/docs/proxy/alerting#step-1-add-a-slack-webhook-url-to-env |
in `docs/my-website/docs/proxy/alerting.md`
@@ -33,13 +34,11 @@ general_settings: | |||
alerting: ["slack"] | |||
alerting_threshold: 300 # sends alerts if requests hang for 5min+ and responses take 5min+ | |||
|
|||
environment_variables: | |||
SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/<>/<>/<>" | |||
SLACK_DAILY_REPORT_FREQUENCY: "86400" # 24 hours; Optional: defaults to 12 hours |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please can you add more detail on what the daily reports are? A user might be unsure about what this param means / controls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! How about 4645451?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome ! thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -33,13 +34,11 @@ general_settings: | |||
alerting: ["slack"] | |||
alerting_threshold: 300 # sends alerts if requests hang for 5min+ and responses take 5min+ | |||
|
|||
environment_variables: | |||
SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/<>/<>/<>" | |||
SLACK_DAILY_REPORT_FREQUENCY: "86400" # 24 hours; Optional: defaults to 12 hours |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome ! thanks
LGTM! |
via
SLACK_DAILY_REPORT_FREQUENCY
env varAddresses one thing that @taralika mentioned in #3597