Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
update batch_size histo
Browse files Browse the repository at this point in the history
  • Loading branch information
xvello authored Nov 27, 2023
1 parent 106c34b commit bd29792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions capture/src/sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ impl EventSink for KafkaSink {
let limited = self.partition.is_limited(&event.key());
let ack =
Self::kafka_send(self.producer.clone(), self.topic.clone(), event, limited).await?;
histogram!("capture_event_batch_size", 1.0);
Self::process_ack(ack).await
}

Expand Down

0 comments on commit bd29792

Please sign in to comment.