You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set the 2 parameters of BatchLogRecordProcessorBuilder as below: setScheduleDelay(Duration.ofMinutes(2)).setMaxQueueSize(10) ,
and I sent more than 100 logs in 1 minutes, but after 2 minutes the exporter only receive 8 logs, many logs lost.
But if I don't modify the maxQueueSize, left it as default, the exporter can receive all logs.
This is working as designed. I think logging a warning when this mis-configuration is done is a reasonable request. Can you put in a PR to add a log message, @tongshushan ?
Hello,
I set the 2 parameters of BatchLogRecordProcessorBuilder as below:
setScheduleDelay(Duration.ofMinutes(2)).setMaxQueueSize(10) ,
and I sent more than 100 logs in 1 minutes, but after 2 minutes the exporter only receive 8 logs, many logs lost.
But if I don't modify the maxQueueSize, left it as default, the exporter can receive all logs.
Configuration Code:
Caller code:
Steps to reproduce
Call method log2Otlp(args ...) more than 100 times to send logs.
Environment
java 8
io.opentelemetry: 1.37.0
The text was updated successfully, but these errors were encountered: