Commit graph

400 commits

Author SHA1 Message Date
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
b16c58d521 Revert "Log errors in Traceloop Integration" 2024-05-24 21:25:17 -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
1b71bc79a6 Merge pull request #3826 from BerriAI/litellm_send_email_alerts
[Feat] Enterprise - Send Email Alerts when user, key crosses budget
2024-05-24 16:51:01 -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
Krish Dholakia
0f195d6b94 Merge pull request #3780 from nirga/traceloop-failures
Log errors in Traceloop Integration
2024-05-24 14:23:26 -07:00
Nir Gazit
43c30a4489 fix(traceloop): log errors 2024-05-24 22:05:31 +03:00
Ishaan Jaff
6d2dfd6e66 Merge pull request #3071 from vivek-athina/main
Athina callback now handles streaming mode
2024-05-23 15:31:12 -07:00
Krrish Dholakia
cde1e39b30 fix(slack_alerting.py): fix time check + add more debug values 2024-05-22 20:11:36 -07:00
Ishaan Jaff
02c7a8fae6 fix don't log langfuse cache_hit in tags 2024-05-21 14:18:53 -07:00
alisalim17
fe0e600062 Revert "Revert "Logfire Integration""
This reverts commit b04a8d878a.
2024-05-21 11:07:40 +04:00
Krish Dholakia
f3a47e4b1a Merge branch 'main' into litellm_webhook_support 2024-05-20 18:41:58 -07:00
Krish Dholakia
db77e41833 Merge pull request #3740 from BerriAI/litellm_return_rejected_response
feat(proxy_server.py): allow admin to return rejected response as string to user
2024-05-20 17:48:21 -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
Krrish Dholakia
8fb8d068fb feat(proxy_server.py): refactor returning rejected message, to work with error logging
log the rejected request as a failed call to langfuse/slack alerting
2024-05-20 11:14:36 -07:00
Krrish Dholakia
45fedb83c6 feat(proxy_server.py): allow admin to return rejected response as string to user
Closes https://github.com/BerriAI/litellm/issues/3671
2024-05-20 10:30:23 -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
Krish Dholakia
04c7a5eb7b Merge pull request #3703 from msabramo/msabramo/make-langsmith-integration-work-with-custom-langsmith
Work with custom `LANGSMITH_BASE_URL`
2024-05-16 22:23:09 -07:00
Marc Abramowitz
ee98b1b355 Work with custom LANGSMITH_BASE_URL
This allows working with a custom Langsmith base URL. For example,
I can use this to test against a local Langsmith instance, running on
my laptop with Docker by adding this to the proxy config:

```yaml
litellm_settings:
  success_callback: ["langsmith"]

environment_variables:
  LANGSMITH_BASE_URL: "http://localhost:1984"
  LANGSMITH_PROJECT: "litellm-proxy"
```
2024-05-16 17:13:01 -07:00
Ishaan Jaff
70194f7ba2 fix - allow users to opt into specific alert types 2024-05-16 16:52:44 -07:00
Krrish Dholakia
f52cd2b9ab docs(billing.md): add tutorial on billing with litellm + lago to docs 2024-05-16 14:13:39 -07:00
Krrish Dholakia
d167a9ea99 feat(lago.py): adding support for usage-based billing with lago
Closes https://github.com/BerriAI/litellm/issues/3639
2024-05-16 10:54:18 -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
8e59bbd573 Revert "Logfire Integration" 2024-05-14 17:38:47 -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
alisalim17
bac6b3beb7 Merge remote-tracking branch 'upstream/main' 2024-05-14 18:42:20 +04:00
Anand Taralika
e1efb1a64b Merge branch 'BerriAI:main' into patch-1 2024-05-13 21:31:00 -07:00