mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix otel type
This commit is contained in:
parent
7128c20df3
commit
31a5cb1885
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ LITELLM_REQUEST_SPAN_NAME = "litellm_request"
|
|||
class OpenTelemetryConfig:
|
||||
from opentelemetry.sdk.trace.export import SpanExporter
|
||||
|
||||
exporter: str | SpanExporter = "console"
|
||||
exporter: Union[str, SpanExporter] = "console"
|
||||
endpoint: Optional[str] = None
|
||||
headers: Optional[str] = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue