fix otel max batch size
This commit is contained in:
parent
e0ac27c00c
commit
dcb50243e7
@ -641,7 +641,8 @@ class OpenTelemetry(CustomLogger):
|
||||
return BatchSpanProcessor(
|
||||
OTLPSpanExporterHTTP(
|
||||
endpoint=self.OTEL_ENDPOINT, headers=_split_otel_headers
|
||||
)
|
||||
),
|
||||
max_queue_size=100,
|
||||
)
|
||||
elif self.OTEL_EXPORTER == "otlp_grpc":
|
||||
verbose_logger.debug(
|
||||
@ -651,7 +652,8 @@ class OpenTelemetry(CustomLogger):
|
||||
return BatchSpanProcessor(
|
||||
OTLPSpanExporterGRPC(
|
||||
endpoint=self.OTEL_ENDPOINT, headers=_split_otel_headers
|
||||
)
|
||||
),
|
||||
max_export_batch_size=100,
|
||||
)
|
||||
else:
|
||||
verbose_logger.debug(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user