sampler property

String? sampler
getter/setter pair

Sampler of distributed tracing.

OFF is the default value. Possible string values are:

  • "SAMPLER_UNSPECIFIED" : Sampler unspecified.
  • "OFF" : OFF means distributed trace is disabled, or the sampling probability is 0.
  • "PROBABILITY" : PROBABILITY means traces are captured on a probability that defined by sampling_rate. The sampling rate is limited to 0 to 0.5 when this is set.

Implementation

core.String? sampler;