mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
otel fix async_service_failure_hook
This commit is contained in:
parent
8d91112726
commit
bec0350127
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