logo
This is supported on crate feature metrics only.
Expand description

Metric Aggregators

Structs

An aggregator which stores metrics in an array.

DDSKetch quantile sketch algorithm

DDSKetch Configuration.

This aggregator observes events and counts them in pre-determined buckets. It also calculates the sum and count of all events.

Aggregates last value events.

An Aggregator that aggregates events that form a distribution, keeping only the min, max, sum, and count.

An aggregator for counter events.

Functions

Create a new default ArrayAggregator

An aggregator to calculate quantile

Create a new histogram for the given descriptor with the given boundaries

Create a new LastValueAggregator

Create a new MinMaxSumCountAggregator

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.

Create a new sum aggregator.