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 55813b8 commit 69859aeCopy full SHA for 69859ae
opentelemetry-appender-tracing/src/layer.rs
@@ -250,7 +250,7 @@ where
250
if let Some(otd) = span.extensions().get::<OtelData>() {
251
if let Some(span_id) = otd.span_id() {
252
// Try the trace_id of the current span first;
253
- // If it is not already established (still in the Builder state), try rooting the span.
+ // If it is not already established (still in the Builder state), try finding the root span.
254
let opt_trace_id = otd.trace_id().or_else(|| {
255
span.scope().last().and_then(|root_span| {
256
root_span
0 commit comments