Options
All
  • Public
  • Public/Protected
  • All
Menu
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

Index

Enumeration Members

NOT_RECORD: 0

Span.isRecording() === false, span will not be recorded and all events and attributes will be dropped.

RECORD: 1

Span.isRecording() === true, but Sampled flag in TraceFlags MUST NOT be set.

RECORD_AND_SAMPLED: 2

Span.isRecording() === true AND Sampled flag in TraceFlags MUST be set.

Generated using TypeDoc