Report consumed_buffered_packets_count stat to metrics (#19900)

This commit is contained in:
Justin Starry 2021-09-15 09:19:39 -05:00 committed by GitHub
parent 8e3c420414
commit 34c1a9ac85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -149,6 +149,12 @@ impl BankingStageStats {
self.rebuffered_packets_count.swap(0, Ordering::Relaxed) as i64,
i64
),
(
"consumed_buffered_packets_count",
self.consumed_buffered_packets_count
.swap(0, Ordering::Relaxed) as i64,
i64
),
(
"reset_cost_tracker_count",
self.reset_cost_tracker_count.swap(0, Ordering::Relaxed) as i64,