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 a612972 commit 4db67d5Copy full SHA for 4db67d5
opentelemetry-stackdriver/src/lib.rs
@@ -328,8 +328,8 @@ where
328
),
329
display_name: Some(to_truncate(span.name.into_owned())),
330
span_id: hex::encode(span.span_context.span_id().to_bytes()),
331
- /// From the API docs: If this is a root span,
332
- /// then this field must be empty.
+ // From the API docs: If this is a root span,
+ // then this field must be empty.
333
parent_span_id: match span.parent_span_id {
334
SpanId::INVALID => "".to_owned(),
335
_ => hex::encode(span.parent_span_id.to_bytes()),
0 commit comments