Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface representing the response of a sampling strategy.

Hierarchy

  • SamplingStrategyResponse

Index

Properties

operationSampling?: { defaultLowerBoundTracesPerSecond: number; defaultSamplingProbability: number; defaultUpperBoundTracesPerSecond: number; perOperationStrategies: PerOperationStrategy[] }

Optional operation-specific sampling configuration

Type declaration

  • defaultLowerBoundTracesPerSecond: number

    The default lower bound of traces per second

  • defaultSamplingProbability: number

    The default sampling probability for operations

  • defaultUpperBoundTracesPerSecond: number

    The default upper bound of traces per second

  • perOperationStrategies: PerOperationStrategy[]

    Array of per-operation sampling strategies

probabilisticSampling: ProbabilisticSamplingOptions

The probabilistic sampling options

strategyType: StrategyType

The type of sampling strategy being used

Generated using TypeDoc