We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b1384 commit e01f857Copy full SHA for e01f857
opentelemetry-otlp/src/exporter/http/mod.rs
@@ -1038,15 +1038,15 @@ mod tests {
1038
use std::time::{Duration, SystemTime};
1039
1040
let span_context = SpanContext::new(
1041
- TraceId::from_u128(123),
1042
- SpanId::from_u64(456),
+ TraceId::from(123),
+ SpanId::from(456),
1043
TraceFlags::default(),
1044
false,
1045
TraceState::default(),
1046
);
1047
SpanData {
1048
span_context,
1049
- parent_span_id: SpanId::from_u64(0),
+ parent_span_id: SpanId::from(0),
1050
span_kind: SpanKind::Internal,
1051
name: Cow::Borrowed("test_span"),
1052
start_time: SystemTime::UNIX_EPOCH,
0 commit comments