samplingConfiguration property

  1. @override
PeriodicSamplingConfiguration? get samplingConfiguration
inherited

The sampling configuration for this probe.

Configuration is obtained in the following order:

  • as Measure.overrideSamplingConfiguration
  • from the DeviceDescriptor.samplingConfiguration of the deployment
  • from the SamplingSchema.configurations of the sampling packages

Returns null in case no configuration is found.

Implementation

@override
PeriodicSamplingConfiguration? get samplingConfiguration =>
    super.samplingConfiguration as PeriodicSamplingConfiguration;