Module opentelemetry::sdk::export::metrics::aggregation
source · Available on crate feature
metrics
only.Expand description
Metrics aggregation
Structs
- A short name for the
Aggregator
that produces anAggregation
. - 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 max.
- Sum returns an aggregated min.
- 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 an
TemporalitySelector
that returns a constantTemporality
. - Returns an
TemporalitySelector
that always returnsTemporality::Cumulative
. - Returns an
TemporalitySelector
that always returnsTemporality::Delta
. - Returns a
TemporalitySelector
that always returns the cumulativeTemporality
to avoid long-term memory requirements.