feat(client): record and report packet size in client events

This commit is contained in:
Nils Andreas Svee committed 2026-05-01 10:05:43 +07:00
1 parent c23db87d7c
commit 18f15f16d5
3 files changed
+15 -1

No files matched your search

+3
View File
@@ -46,6 +46,7 @@ pub enum ClientEvent {
server_timing: Option<ServerTiming>,
one_way: Option<OneWayDelaySample>,
received_stats: Option<ReceivedStatsSample>,
bytes: usize,
packet_meta: PacketMeta,
},
@@ -60,6 +61,7 @@ pub enum ClientEvent {
seq: u32,
remote: SocketAddr,
received_at: ClientTimestamp,
bytes: usize,
},
LateReply {
@@ -73,6 +75,7 @@ pub enum ClientEvent {
server_timing: Option<ServerTiming>,
one_way: Option<OneWayDelaySample>,
received_stats: Option<ReceivedStatsSample>,
bytes: usize,
packet_meta: PacketMeta,
},