Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration SamplingDecision

A sampling decision that determines how a Span will be recorded and collected.

Index

Enumeration members

Enumeration members

NOT_RECORD

NOT_RECORD:

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

RECORD

RECORD:

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

RECORD_AND_SAMPLED

RECORD_AND_SAMPLED:

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