Function opentelemetry::sdk::metrics::aggregators::range_test[][src]

pub fn range_test(number: &Number, descriptor: &Descriptor) -> Result<()>
This is supported on crate feature metrics only.
Expand description

RangeTest is a common routine for testing for valid input values. This rejects NaN values. This rejects negative values when the metric instrument does not support negative values, including monotonic counter metrics and absolute ValueRecorder metrics.