Optional
attributes?: AttributesAny attributes to add to the span for the sampling result.
The sampling threshold value. A lower threshold increases the likelihood of sampling.
Whether the threshold can be reliably used for Span-to-Metrics estimation.
Optional
updateTraceState?: (ts: TraceState | undefined) => TraceState | undefinedHow to update the TraceState for the span.
Information to make a sampling decision.