Skip to content
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

[Feat-Proxy] Slack Alerting - allow using os.environ/ vars for alert to webhook url #5726

Merged
merged 11 commits into from
Sep 17, 2024

Conversation

ishaan-jaff
Copy link
Contributor

@ishaan-jaff ishaan-jaff commented Sep 16, 2024

allow using os.environ/ vars for alert to webhook ur

general_settings: 
 master_key: sk-1234 
 alerting: ["slack"]
 alerting_threshold: 0.0001 # (Seconds) set an artifically low threshold for testing alerting
 alert_to_webhook_url: {
    "llm_too_slow": [
      "os.environ/SLACK_WEBHOOK_URL",
      "os.environ/SLACK_WEBHOOK_URL_2",
    ],
  }

Relevant issues

Type

🆕 New Feature
🐛 Bug Fix
🧹 Refactoring
📖 Documentation
🚄 Infrastructure
✅ Test

Changes

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

Copy link

vercel bot commented Sep 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 17, 2024 1:04am

@ishaan-jaff ishaan-jaff merged commit b6ae220 into main Sep 17, 2024
3 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant