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

This commit is contained in:
Nils Andreas Svee committed 2026-05-10 20:56:43 +07:00
1 parent a773a94a45
commit 5ef9a8a366
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,
},