mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix otel set max_queue_size, max_queue_size
This commit is contained in:
parent
5c7fbe0be2
commit
22fe7705e7
1 changed files with 2 additions and 0 deletions
|
@ -643,6 +643,7 @@ class OpenTelemetry(CustomLogger):
|
|||
endpoint=self.OTEL_ENDPOINT, headers=_split_otel_headers
|
||||
),
|
||||
max_queue_size=100,
|
||||
max_queue_size=100,
|
||||
)
|
||||
elif self.OTEL_EXPORTER == "otlp_grpc":
|
||||
verbose_logger.debug(
|
||||
|
@ -653,6 +654,7 @@ class OpenTelemetry(CustomLogger):
|
|||
OTLPSpanExporterGRPC(
|
||||
endpoint=self.OTEL_ENDPOINT, headers=_split_otel_headers
|
||||
),
|
||||
max_queue_size=100,
|
||||
max_export_batch_size=100,
|
||||
)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue