mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix otel logging fixes
This commit is contained in:
parent
194de8770f
commit
8c5795cba9
2 changed files with 8 additions and 0 deletions
|
@ -2399,6 +2399,12 @@ class ProxyConfig:
|
|||
and callback in known_compatible_callbacks
|
||||
):
|
||||
imported_list.append(callback)
|
||||
elif isinstance(callback, str) and callback == "otel":
|
||||
from litellm.integrations.opentelemetry import (
|
||||
OpenTelemetry,
|
||||
)
|
||||
|
||||
imported_list.append(OpenTelemetry())
|
||||
elif isinstance(callback, str) and callback == "presidio":
|
||||
from litellm.proxy.hooks.presidio_pii_masking import (
|
||||
_OPTIONAL_PresidioPIIMasking,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue