type Sampling
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
196# How a child operation obtains its sampled indication (W3C 3.2.2.5.1):
197# InheritSampled{} keeps the parent's and SetSampled{sampled} sets it. The
198# indication communicates a decision; it does not record anything.
199type Sampling is Data:
200 InheritSampled{}
201 SetSampled{sampled: Bool}
Uses (1)
Used by (21)
- bend-trace-context@0.2.0.0/trace_context:Sampling.resolve
- bend-trace-context@0.2.0.0/trace_context:Context.continue_or_start_with
- bend-trace-context@0.2.0.0/trace_context:Context.send_with
- bend-trace-context@0.2.0.0/trace_context:Generation.child
- bend-trace-context@0.2.0.0/trace_context:Serve.new_trace_sampled
- …