Commit graph

80 commits

Author SHA1 Message Date
Spencer Krum
10ef409594 feat: clarify slack alerting message
Specify the time of the next run, not the interval
2024-06-05 11:57:42 -05:00
Ishaan Jaff
0d44b1581a fix - move email templates 2024-05-31 10:37:56 -07:00
Ishaan Jaff
024c37099a return correct fields in NewUserResponse 2024-05-31 10:31:19 -07:00
Krrish Dholakia
5f01dce284 fix(main.py): pass api key and api base to openai.py for audio transcription call 2024-05-29 21:29:01 -07:00
Krrish Dholakia
bb3c786194 fix(proxy_server.py): fix end user object check when master key used
check if end user max budget exceeded for master key
2024-05-29 17:20:59 -07:00
Krrish Dholakia
df0365175a feat(proxy_server.py): emit webhook event whenever customer spend is tracked
Closes https://github.com/BerriAI/litellm/issues/3903
2024-05-29 15:59:32 -07:00
Ishaan Jaff
c0658ddc70 fix - validation for email alerting 2024-05-27 22:38:17 -07:00
Ishaan Jaff
67675d3382 ffeat - make email alerting a free feature 2024-05-27 19:40:47 -07:00
Krrish Dholakia
1f42d086d6 feat(ui): allow admin to configure slack alerting thresholds on ui 2024-05-25 21:01:19 -07:00
Krrish Dholakia
e4629ba65d feat(slack_alerting.py): enable provider-region based alerting 2024-05-25 16:55:46 -07:00
Ishaan Jaff
d3a8306952 Merge branch 'main' into litellm_send_alerts_making_new_key 2024-05-24 20:42:17 -07:00
Krrish Dholakia
d2d5e2d389 feat(ui): settings.tsx
enable/disable outage alerts on admin ui
2024-05-24 20:04:15 -07:00
Krish Dholakia
40791ee1f8 Merge pull request #3828 from BerriAI/litellm_outage_alerting
fix(slack_alerting.py): support region based outage alerting
2024-05-24 19:13:17 -07:00
Krrish Dholakia
4536ed6f6e feat(slack_alerting.py): refactor region outage alerting to do model based alerting instead
Unable to extract azure region from api base, makes sense to start with model alerting and then move to region
2024-05-24 19:10:33 -07:00
Ishaan Jaff
b99ece46c0 fix - update webhook event validation 2024-05-24 18:31:10 -07:00
Ishaan Jaff
f7cbef42f1 feat - customize logo, support contact on email 2024-05-24 18:12:51 -07:00
Ishaan Jaff
7f1eb5af92 feat - send send_key_created_email 2024-05-24 17:59:15 -07:00
Ishaan Jaff
b039caaae1 feat - resize logo 2024-05-24 17:54:38 -07:00
Ishaan Jaff
6ac65d6101 feat - send email on new key created 2024-05-24 17:30:06 -07:00
Krrish Dholakia
a8fb4e33d5 fix(slack_alerting.py): fixes for outage alerting 2024-05-24 17:17:17 -07:00
Krrish Dholakia
7368406c24 fix(slack_alerting.py): support region based outage alerting 2024-05-24 16:59:16 -07:00
Ishaan Jaff
9b04d6144a use litellm prefix in all emails 2024-05-24 15:32:51 -07:00
Ishaan Jaff
6798b45abe feat - email alerts 2024-05-24 15:23:36 -07:00
Ishaan Jaff
fd5a7a738f feat check SMTP_SENDER_EMAIL + put behind enterprise license 2024-05-24 14:37:53 -07:00
Ishaan Jaff
25abdbdcc2 feat - send send_email_alert_using_smtp 2024-05-24 14:29:00 -07:00
Krrish Dholakia
cde1e39b30 fix(slack_alerting.py): fix time check + add more debug values 2024-05-22 20:11:36 -07:00
Krish Dholakia
f3a47e4b1a Merge branch 'main' into litellm_webhook_support 2024-05-20 18:41:58 -07:00
Krrish Dholakia
fd13a830ab fix(slack_alerting.py): cleanup webhook event 2024-05-20 16:55:01 -07:00
Krrish Dholakia
c0d5e83570 feat(slack_alerting.py): support webhook for budget alerts
Closes https://github.com/BerriAI/litellm/issues/3743
2024-05-20 15:30:56 -07:00
Ishaan Jaff
540c476024 try/except deployment metrics error 2024-05-20 15:03:04 -07:00
Ishaan Jaff
e9ea7438a9 fix divide by 0 bug 2024-05-20 14:26:30 -07:00
Krrish Dholakia
41556b3d02 fix(slack_alerting.py): prevent alert spam within 24 hr period for budget alerts
Closes https://github.com/BerriAI/litellm/issues/3738
2024-05-20 13:35:19 -07:00
Ishaan Jaff
455bae52ae Merge pull request #3713 from BerriAI/litellm_ui_infer_azure_prefix
[Feat] Admin UI - use `base_model` for Slack Alerts
2024-05-17 21:55:23 -07:00
Krrish Dholakia
1ccc604953 fix(slack_alerting.py): show langfuse traces on error messages 2024-05-17 18:42:30 -07:00
Ishaan Jaff
f92dd0ec9b fix - show correct base_model in slack alerts 2024-05-17 16:07:02 -07:00
Ishaan Jaff
70194f7ba2 fix - allow users to opt into specific alert types 2024-05-16 16:52:44 -07:00
Krrish Dholakia
b37449f99c fix(slack_alerting.py): fix timezone utc issue 2024-05-14 22:54:33 -07:00
Krrish Dholakia
c098ad0a60 fix(alerting.py): fix datetime comparison logic 2024-05-14 22:10:09 -07:00
Krish Dholakia
01a9c28974 Merge pull request #3599 from taralika/patch-1
Ignore 0 failures and 0s latency in daily slack reports
2024-05-14 11:47:46 -07:00
Anand Taralika
e1efb1a64b Merge branch 'BerriAI:main' into patch-1 2024-05-13 21:31:00 -07:00
Marc Abramowitz
e01177fd55 Cast SLACK_DAILY_REPORT_FREQUENCY to int 2024-05-13 17:08:53 -07:00
Marc Abramowitz
e8f92f89d8 Add ability to customize slack report frequency
via `SLACK_DAILY_REPORT_FREQUENCY` env var

Addresses one thing that @taralika mentioned in
https://github.com/BerriAI/litellm/issues/3597
2024-05-13 16:39:44 -07:00
Krrish Dholakia
68ed9ed943 fix(slack_alerting.py): if 'turn_off_message_logging' enabled, do not log the message to logging integration 2024-05-13 14:02:43 -07:00
Ishaan Jaff
471cb148cb Merge pull request #3609 from BerriAI/litellm_send_daily_spend_report
[Feat] send weekly spend reports by Team/Tag
2024-05-13 12:45:37 -07:00
Ishaan Jaff
4d72d4676d fix - spend reports on alerts 2024-05-13 10:51:59 -07:00
Ishaan Jaff
2694721e81 fix - show monthly spend in slack reports 2024-05-13 10:17:09 -07:00
Krrish Dholakia
56b6efae50 fix(slack_alerting.py): don't fire spam alerts when backend api call fails 2024-05-13 10:04:43 -07:00
Ishaan Jaff
d384a0b39f feat - send daily spend reports 2024-05-13 09:25:31 -07:00
Anand Taralika
7862767428 Removed "5" from the string
since it's not guaranteed to always be 5, it will be at most 5, but could be less than 5 (if some values are 0s now that we ignore 0s)
2024-05-12 09:29:23 -07:00
Anand Taralika
f8957a7be8 Update a comment about ignoring 0 values in addition to None 2024-05-12 08:53:04 -07:00