Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Feb 5, 2025
1 parent ed039ae commit 7d6ea07
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions opentelemetry-proto/tests/json_serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,18 +275,20 @@ mod json_serde {
start_time_unix_nano: 1544712660000000000,
end_time_unix_nano: 1544712661000000000,
attributes: vec![
KeyValue {
key: String::from("my.span.attr"),
value: Some(AnyValue {
value: Some(Value::StringValue(String::from("some value"))),
}),
},
KeyValue {
key: String::from("my.span.bytes.attr"),
value: Some(AnyValue {
value: Some(Value::BytesValue(vec![0x80, 0x80, 0x80])),
}),
},
KeyValue {
key: String::from("my.span.attr"),
value: Some(AnyValue {
value: Some(Value::StringValue(String::from(
"some value",
))),
}),
},
KeyValue {
key: String::from("my.span.bytes.attr"),
value: Some(AnyValue {
value: Some(Value::BytesValue(vec![0x80, 0x80, 0x80])),
}),
},
],
dropped_attributes_count: 1,
events: vec![Event {
Expand Down

0 comments on commit 7d6ea07

Please sign in to comment.