mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-14 14:26:43 +00:00
otel fix async_service_failure_hook
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user