Span.isRecording() === false, span will not be recorded and all events
and attributes will be dropped.
Span.isRecording() === true, but Sampled flag in TraceFlags
MUST NOT be set.
Span.isRecording() === true AND Sampled flag in TraceFlags
MUST be set.
Deprecated
use the one declared in @opentelemetry/sdk-trace-base instead. A sampling decision that determines how a Span will be recorded and collected.
Since
1.0.0