Commit graph

16 commits

Author SHA1 Message Date
Anand Taralika
7b14f43ee1 Added tests for ignoring 0 metrics when alerting 2024-05-13 21:29:52 -07:00
Ishaan Jaff
c4603c7cf5 test - slack alerting on litellm router 2024-05-07 19:04:25 -07:00
Ishaan Jaff
085474771c test - slack alerts on router 2024-05-07 15:12:21 -07:00
Krrish Dholakia
7d27e4a85d fix(slack_alerting.py): fix storing + reading datetime object from cache
this converts the dt object to isoformat before storing, and loads it back to dt when comparing
2024-05-07 11:44:55 -07:00
Krish Dholakia
185581d5a9 Merge branch 'main' into litellm_slack_daily_reports 2024-05-06 19:31:20 -07:00
Krrish Dholakia
13e8f63388 fix(slack_alerting.py): allow internal cache to be an optional param 2024-05-06 18:34:09 -07:00
Ishaan Jaff
55eabc8852 fix - test alerting 2024-05-06 18:07:58 -07:00
Krrish Dholakia
0c1fc34e9f feat(slack_alerting.py): support sending daily reports on deployments
allow admin to easily know slow + failing deployments

Closes  https://github.com/BerriAI/litellm/issues/3483
2024-05-06 17:18:42 -07:00
Ishaan Jaff
45d9250fd6 Merge pull request #3429 from BerriAI/litellm_add_unit_tests_slack_alerts
[Test] Add Slack Alerting unit tests
2024-05-03 16:27:40 -07:00
Krrish Dholakia
aca36d8b79 feat(proxy_server.py): return api base in response headers
Closes https://github.com/BerriAI/litellm/issues/2631
2024-05-03 15:27:32 -07:00
Ishaan Jaff
49f09cb46d feat - add unit tests for slack alerting 2024-05-03 15:08:55 -07:00
Krrish Dholakia
4a22948ce4 fix(proxy/utils.py): fix slack alerting to only raise alerts for llm api exceptions
don't spam for bad user requests. Closes https://github.com/BerriAI/litellm/issues/3395
2024-05-02 17:18:21 -07:00
Ishaan Jaff
f7da2cdb7b fix test alerting 2024-04-25 13:06:17 -07:00
Ishaan Jaff
e0917eebaa fix test alerting 2024-04-23 19:10:06 -07:00
Krrish Dholakia
ad409d67f3 test(test_alerting.py): remove duplicate test 2024-04-06 19:33:01 -07:00
Krrish Dholakia
0dad78b53c feat(proxy/utils.py): return api base for request hanging alerts 2024-04-06 15:58:53 -07:00