samplingConfiguration property

  1. @override
IntervalSamplingConfiguration? 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
IntervalSamplingConfiguration? get samplingConfiguration =>
    super.samplingConfiguration as IntervalSamplingConfiguration;