Definition of jaeger span followFrom #4072
-
Hi everyone, I have been looking at the definition of followFrom defined here which says So, looking at the current bridge layer, it seems like if span reference type is followFrom, it will start a new traceID and dropped all existing baggage, unless the parent context is also provided when creating a span. My question is whether a Jaeger Span created using followFrom should still propagate Jaeger baggage. If it does, will the child span propagate the Jaeger baggage with a different traceID or the same traceID? Or does followFrom imply that Jaeger will completely drop everything and start a new trace? I feel that the definition of followFrom is not clear enough. It just states that the parent does not depend on the child's outcome. Does this also imply that the child should not propagate the parent's baggage and traceID? Defenition of jaeger Baggage -> https://www.jaegertracing.io/docs/1.57/architecture/#baggage cc @yurishkuro |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I don't understand the question. Spans in Jaeger native data model (close to OpenTracing) do not have an explicit "parent", but one or more references. By convention a single reference is treated as a parent, regardless of the reference type. But the model also allows that single reference to point to a different trace ID. The trace ID is determined by how the span is created. |
Beta Was this translation helpful? Give feedback.
-
So, If I just do -> Like, Can I say that FollowsFrom just only tell us the current span do not depend on the parent Span, but does not tell whether it should be a new root span or not. |
Beta Was this translation helpful? Give feedback.
I would avoid using opentracing altogether, go with OTEL API.