You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a SpanBuilder, a parent context with baggage and then I tried calling
let span = builder.start_with_context(&tracer, &parent_cx);
However, the new span did not have the same baggage as the parent context. From what I could see, the context is just parsed for parent ID, trace flags, sampling and such.
Is that by design? I though this was a way to create a child span which as I understand it should have almost the same context (except for the active span).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a
SpanBuilder
, a parent context with baggage and then I tried callingHowever, the new span did not have the same baggage as the parent context. From what I could see, the context is just parsed for parent ID, trace flags, sampling and such.
Is that by design? I though this was a way to create a child span which as I understand it should have almost the same context (except for the active span).
Beta Was this translation helpful? Give feedback.
All reactions