@@ -28,6 +28,7 @@ struct PacketSkipped {
28
28
//= https://tools.ietf.org/id/draft-marx-qlog-event-definitions-quic-h3-02#5.3.5
29
29
/// Packet was sent by a connection
30
30
struct PacketSent {
31
+ #[ nominal_counter( "kind" ) ]
31
32
packet_header : PacketHeader ,
32
33
#[ measure( "bytes" , Bytes ) ]
33
34
#[ counter( "bytes.total" , Bytes ) ]
@@ -38,6 +39,7 @@ struct PacketSent {
38
39
//= https://tools.ietf.org/id/draft-marx-qlog-event-definitions-quic-h3-02#5.3.6
39
40
/// Packet was received by a connection
40
41
struct PacketReceived {
42
+ #[ nominal_counter( "kind" ) ]
41
43
packet_header : PacketHeader ,
42
44
}
43
45
@@ -65,6 +67,7 @@ struct PathCreated<'a> {
65
67
// packet events.
66
68
/// Frame was sent
67
69
struct FrameSent {
70
+ #[ nominal_counter( "packet" ) ]
68
71
packet_header : PacketHeader ,
69
72
path_id : u64 ,
70
73
#[ nominal_counter( "frame" ) ]
@@ -77,6 +80,7 @@ struct FrameSent {
77
80
// packet events.
78
81
/// Frame was received
79
82
struct FrameReceived < ' a > {
83
+ #[ nominal_counter( "packet" ) ]
80
84
packet_header : PacketHeader ,
81
85
path : Path < ' a > ,
82
86
#[ nominal_counter( "frame" ) ]
@@ -87,6 +91,7 @@ struct FrameReceived<'a> {
87
91
//= https://tools.ietf.org/id/draft-marx-qlog-event-definitions-quic-h3-02#5.4.5
88
92
/// Packet was lost
89
93
struct PacketLost < ' a > {
94
+ #[ nominal_counter( "kind" ) ]
90
95
packet_header : PacketHeader ,
91
96
path : Path < ' a > ,
92
97
#[ measure( "bytes" , Bytes ) ]
@@ -160,6 +165,7 @@ struct RxAckRangeDropped<'a> {
160
165
#[ event( "recovery:ack_range_received" ) ]
161
166
/// ACK range was received
162
167
struct AckRangeReceived < ' a > {
168
+ #[ nominal_counter( "packet" ) ]
163
169
packet_header : PacketHeader ,
164
170
path : Path < ' a > ,
165
171
ack_range : RangeInclusive < u64 > ,
@@ -168,6 +174,7 @@ struct AckRangeReceived<'a> {
168
174
#[ event( "recovery:ack_range_sent" ) ]
169
175
/// ACK range was sent
170
176
struct AckRangeSent {
177
+ #[ nominal_counter( "packet" ) ]
171
178
packet_header : PacketHeader ,
172
179
path_id : u64 ,
173
180
ack_range : RangeInclusive < u64 > ,
@@ -184,7 +191,9 @@ struct PacketDropped<'a> {
184
191
//= https://tools.ietf.org/id/draft-marx-qlog-event-definitions-quic-h3-02#5.2.1
185
192
/// Crypto key updated
186
193
struct KeyUpdate {
194
+ #[ nominal_counter( "key_type" ) ]
187
195
key_type : KeyType ,
196
+ #[ nominal_counter( "cipher_suite" ) ]
188
197
cipher_suite : CipherSuite ,
189
198
}
190
199
@@ -216,6 +225,7 @@ struct ConnectionClosed {
216
225
#[ event( "transport:duplicate_packet" ) ]
217
226
/// Duplicate packet received
218
227
struct DuplicatePacket < ' a > {
228
+ #[ nominal_counter( "kind" ) ]
219
229
packet_header : PacketHeader ,
220
230
path : Path < ' a > ,
221
231
#[ nominal_counter( "error" ) ]
@@ -308,6 +318,7 @@ struct TlsExporterReady<'a> {
308
318
#[ event( "connectivity:path_challenge_updated" ) ]
309
319
/// Path challenge updated
310
320
struct PathChallengeUpdated < ' a > {
321
+ #[ nominal_counter( "status" ) ]
311
322
path_challenge_status : PathChallengeStatus ,
312
323
path : Path < ' a > ,
313
324
challenge_data : & ' a [ u8 ] ,
0 commit comments