Add packets and batches sent to quic client stats (#24442)
This commit is contained in:
parent
dd15193c69
commit
b64791ef79
|
@ -113,6 +113,21 @@ impl ConnectionCacheStats {
|
||||||
self.total_client_stats.tx_acks.load_and_reset(),
|
self.total_client_stats.tx_acks.load_and_reset(),
|
||||||
i64
|
i64
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"num_packets",
|
||||||
|
self.sent_packets.swap(0, Ordering::Relaxed),
|
||||||
|
i64
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"total_batches",
|
||||||
|
self.total_batches.swap(0, Ordering::Relaxed),
|
||||||
|
i64
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"batch_failure",
|
||||||
|
self.batch_failure.swap(0, Ordering::Relaxed),
|
||||||
|
i64
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue