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
message = "Beginning to drop log messages due to full exporter queue.");
188
+
}
186
189
}
187
190
}
188
191
@@ -199,11 +202,13 @@ impl<R: RuntimeChannel> LogProcessor for BatchLogProcessor<R> {
199
202
200
203
fnshutdown(&self) -> LogResult<()>{
201
204
let dropped_logs = self.dropped_logs_count.load(Ordering::Relaxed);
205
+
let max_queue_size = self.max_queue_size;
202
206
if dropped_logs > 0{
203
207
otel_warn!(
204
-
name:"BatchLogProcessor.Shutdown",
205
-
dropped_logs = dropped_logs,
206
-
message = "Logs were dropped due to a full buffer."
208
+
name:"BatchLogProcessor.LogsDropped",
209
+
dropped_logs_count = dropped_logs,
210
+
max_queue_size = max_queue_size,
211
+
message = "Logs were dropped due to a full or closed queue. The count represents the total count of lost logs in the lifetime of the BatchLogProcessor. Consider increasing the queue size and/or decrease delay between intervals."
message = "Beginning to drop span messages due to full exporter queue.");
266
+
}
265
267
}
266
268
}
267
269
@@ -278,11 +280,13 @@ impl<R: RuntimeChannel> SpanProcessor for BatchSpanProcessor<R> {
278
280
279
281
fnshutdown(&self) -> TraceResult<()>{
280
282
let dropped_spans = self.dropped_spans_count.load(Ordering::Relaxed);
283
+
let max_queue_size = self.max_queue_size;
281
284
if dropped_spans > 0{
282
285
otel_warn!(
283
286
name:"BatchSpanProcessor.Shutdown",
284
287
dropped_spans = dropped_spans,
285
-
message = "Spans were dropped due to a full buffer."
288
+
max_queue_size = max_queue_size,
289
+
message = "Spans were dropped due to a full or closed queue. The count represents the total count of lost logs in the lifetime of the BatchLogProcessor. Consider increasing the queue size and/or decrease delay between intervals."
0 commit comments