Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Sampler

This interface represent a sampler. Sampling is a mechanism to control the noise and overhead introduced by OpenTelemetry by reducing the number of samples of traces collected and sent to the backend.

Hierarchy

  • Sampler

Index

Methods

shouldSample

toString

  • toString(): string
  • Returns the sampler name or short description with the configuration.

    Returns string