Duration from the start of the trace to the end of a span (trace.duration_ms) #10171
Unanswered
srinusanduri
asked this question in
Q&A
Replies: 1 comment 1 reply
-
typically this would be done on the backend (or maybe in a tail-based sampler on the collector?) to implement this on the instrumentation side, you'd need to propagate the trace start time down to its children, e.g. using baggage |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We would like to compute the duration until end time of a span from the start of the trace (say
trace.duration_ms
). Theduration_ms
attribiute gives the duration of a span. Likewise, is there any attribute (or way) that will give us thetrace.duration_ms
, the duration until end time of a span from the start of the trace.Here is an example to show the relation between
duration_ms
andtrace.duration_ms
.Beta Was this translation helpful? Give feedback.
All reactions