Merge branch 'main' into litellm_allow_turning_off_message_logging_for_callbacks

This commit is contained in:
Ishaan Jaff 2024-09-09 21:59:36 -07:00 committed by GitHub
commit 02325f33d7
34 changed files with 442 additions and 117 deletions

View file

@ -649,7 +649,9 @@ class OpenTelemetry(CustomLogger):
return BatchSpanProcessor(
OTLPSpanExporterHTTP(
endpoint=self.OTEL_ENDPOINT, headers=_split_otel_headers
)
),
max_queue_size=100,
max_export_batch_size=100,
)
elif self.OTEL_EXPORTER == "otlp_grpc":
verbose_logger.debug(
@ -659,7 +661,9 @@ class OpenTelemetry(CustomLogger):
return BatchSpanProcessor(
OTLPSpanExporterGRPC(
endpoint=self.OTEL_ENDPOINT, headers=_split_otel_headers
)
),
max_queue_size=100,
max_export_batch_size=100,
)
else:
verbose_logger.debug(