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