Available on crate feature
metrics
only.Expand description
Metric Aggregators
Structs§
- Array
Aggregator - An aggregator which stores metrics in an array.
- DdSketch
Aggregator - DDSKetch quantile sketch algorithm
- DdSketch
Config - DDSKetch Configuration.
- Histogram
Aggregator - This aggregator observes events and counts them in pre-determined buckets. It also calculates the sum and count of all events.
- Last
Value Aggregator - Aggregates last value events.
- MinMax
SumCount Aggregator - An
Aggregator
that aggregates events that form a distribution, keeping only the min, max, sum, and count. - SumAggregator
- An aggregator for counter events.
Functions§
- array
- Create a new default
ArrayAggregator
- ddsketch
- An aggregator to calculate quantile
- histogram
- Create a new histogram for the given descriptor with the given boundaries
- last_
value - Create a new
LastValueAggregator
- min_
max_ sum_ count - Create a new
MinMaxSumCountAggregator
- range_
test - 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.
- sum
- Create a new sum aggregator.