Expand description
Trace-utils functionalities implementation for V1 spans.
Functionsยง
- compute_
top_ level_ span - Updates all the spans top-level attribute. A span is considered top-level if:
- drop_
chunks - Remove spans and chunks, only keeping the ones that may be sampled by the agent.
- get_
root_ span_ index - Returns the index of the root span in
trace. - has_
top_ level - Returns true if the span has a top level key set
- is_
measured - Returns true if a span should be measured (i.e., it should get trace metrics calculated).
- is_
partial_ snapshot - Returns true if the span is a partial snapshot. This kind of spans are partial images of long-running spans. When incomplete, a partial snapshot has an attribute _dd.partial_version which is a positive integer. This value usually increases each time a new version of the same span is sent by the tracer