@@ -61,10 +61,11 @@ mod json_serde {
61
61
dropped_attributes_count: 0 ,
62
62
} ) ,
63
63
spans: vec![ Span {
64
- trace_id: hex:: decode( "5b8efff798038103d269b633813fc60c" ) . unwrap( ) ,
65
- span_id: hex:: decode( "eee19b7ec3c1b174" ) . unwrap( ) ,
64
+ trace_id: const_hex:: decode( "5b8efff798038103d269b633813fc60c" )
65
+ . unwrap( ) ,
66
+ span_id: const_hex:: decode( "eee19b7ec3c1b174" ) . unwrap( ) ,
66
67
trace_state: String :: new( ) ,
67
- parent_span_id: hex :: decode( "eee19b7ec3c1b173" ) . unwrap( ) ,
68
+ parent_span_id: const_hex :: decode( "eee19b7ec3c1b173" ) . unwrap( ) ,
68
69
flags: 0 ,
69
70
name: String :: from( "I'm a server span" ) ,
70
71
kind: 2 ,
@@ -267,10 +268,11 @@ mod json_serde {
267
268
dropped_attributes_count: 1 ,
268
269
} ) ,
269
270
spans: vec![ Span {
270
- trace_id: hex:: decode( "5b8efff798038103d269b633813fc60c" ) . unwrap( ) ,
271
- span_id: hex:: decode( "eee19b7ec3c1b174" ) . unwrap( ) ,
271
+ trace_id: const_hex:: decode( "5b8efff798038103d269b633813fc60c" )
272
+ . unwrap( ) ,
273
+ span_id: const_hex:: decode( "eee19b7ec3c1b174" ) . unwrap( ) ,
272
274
trace_state: String :: from( "browser=firefox,os=linux" ) ,
273
- parent_span_id: hex :: decode( "eee19b7ec3c1b173" ) . unwrap( ) ,
275
+ parent_span_id: const_hex :: decode( "eee19b7ec3c1b173" ) . unwrap( ) ,
274
276
flags: 1 ,
275
277
name: String :: from( "I'm a server span" ) ,
276
278
kind: 2 ,
@@ -308,9 +310,9 @@ mod json_serde {
308
310
} ] ,
309
311
dropped_events_count: 1 ,
310
312
links: vec![ Link {
311
- trace_id: hex :: decode( "5b8efff798038103d269b633813fc60b" )
313
+ trace_id: const_hex :: decode( "5b8efff798038103d269b633813fc60b" )
312
314
. unwrap( ) ,
313
- span_id: hex :: decode( "eee19b7ec3c1b172" ) . unwrap( ) ,
315
+ span_id: const_hex :: decode( "eee19b7ec3c1b172" ) . unwrap( ) ,
314
316
trace_state: String :: from( "food=pizza,color=red" ) ,
315
317
attributes: vec![ KeyValue {
316
318
key: String :: from( "my.link.attr" ) ,
@@ -1272,8 +1274,9 @@ mod json_serde {
1272
1274
] ,
1273
1275
dropped_attributes_count: 0 ,
1274
1276
flags: 0 ,
1275
- trace_id: hex:: decode( "5b8efff798038103d269b633813fc60c" ) . unwrap( ) ,
1276
- span_id: hex:: decode( "eee19b7ec3c1b174" ) . unwrap( ) ,
1277
+ trace_id: const_hex:: decode( "5b8efff798038103d269b633813fc60c" )
1278
+ . unwrap( ) ,
1279
+ span_id: const_hex:: decode( "eee19b7ec3c1b174" ) . unwrap( ) ,
1277
1280
} ] ,
1278
1281
schema_url: String :: new( ) ,
1279
1282
} ] ,
0 commit comments