The kind of the aggregator.
Create a clean state of accumulation.
Returns a new DELTA aggregation by comparing two cumulative measurements.
the previously captured accumulation
the newly captured (cumulative) accumulation
The resulting delta accumulation
Returns the result of the merge of the given accumulations.
This should always assume that the accumulations do not overlap and merge together for a new cumulative report.
the previously captured accumulation
the newly captured (delta) accumulation
the result of the merge of the given accumulations
Returns the MetricData that this Aggregator will produce.
the metric descriptor.
the temporality of the resulting MetricData
the array of attributes and accumulation pairs.
the end time of the metric data.
the MetricData that this Aggregator will produce.
Generated using TypeDoc
Base interface for aggregators. Aggregators are responsible for holding aggregated values and taking a snapshot of these values upon export.