def SpanPlan.child
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
1280# The plan of a child's span ID: the parent's span ID excluded, the parent's
1281# trace ID, and the sampled indication that `sampling` resolves from the
1282# parent's.
1283def SpanPlan.child(+parent: Parent, sampling: Sampling) -> SpanPlan:
1284 SpanPlan{Some{Parent.span_id(parent)}, Parent.trace_id(parent), Sampling.resolve(sampling, Parent.is_sampled(parent))}