logo
Available on crate feature metrics only.
Expand description

Metrics aggregation

Structs

A short name for the Aggregator that produces an Aggregation.

Buckets represent histogram buckets boundaries and counts.

Enums

Temporality indicates the temporal aggregation exported by an exporter. These bits may be OR-d together when multiple exporters are in use.

Traits

An interface returned by an Aggregator containing an interval of metric data.

Count returns the number of values that were aggregated.

Histogram returns the count of events in pre-determined buckets.

LastValue returns the latest value that was aggregated.

Sum returns an aggregated sum.

TemporalitySelector is a sub-interface of Exporter used to indicate whether the Processor should compute Delta or Cumulative Aggregations.

Functions

Returns a TemporalitySelector that always returns the cumulative Temporality to avoid long-term memory requirements.