mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(proxy/utils.py): add prometheus failed db request tracking
This commit is contained in:
parent
d61250109e
commit
919a2876f1
2 changed files with 16 additions and 2 deletions
|
@ -488,6 +488,9 @@ class ProxyLogging:
|
|||
if hasattr(self, "service_logging_obj"):
|
||||
self.service_logging_obj.async_service_failure_hook(
|
||||
service=ServiceTypes.DB,
|
||||
duration=duration,
|
||||
error=error_message,
|
||||
call_type=call_type,
|
||||
)
|
||||
|
||||
if litellm.utils.capture_exception:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue