mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
otel fix async_service_failure_hook
This commit is contained in:
parent
a68969ea0e
commit
bf72b7e567
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ def log_to_opentelemetry(func):
|
|||
error=e,
|
||||
service=ServiceTypes.DB,
|
||||
call_type=func.__name__,
|
||||
parent_otel_span=kwargs["parent_otel_span"],
|
||||
duration=0.0,
|
||||
start_time=start_time,
|
||||
end_time=end_time,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue