Skip to content

Commit

Permalink
return early + increment events dropped when replacement event buffer…
Browse files Browse the repository at this point in the history
… is full
  • Loading branch information
tobz committed Feb 5, 2025
1 parent 44da86b commit 75b6f96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/saluki-components/src/transforms/aggregate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,8 @@ impl PassthroughBatcher {

if self.active_buffer.try_push(event).is_some() {
error!("Event buffer is full even after forwarding events. Dropping event.");
self.telemetry.increment_events_dropped();
return;
}
}

Expand Down

0 comments on commit 75b6f96

Please sign in to comment.