Class Aggregation

java.lang.Object
io.opencensus.stats.Aggregation
Direct Known Subclasses:
Aggregation.Count, Aggregation.Distribution, Aggregation.LastValue, Aggregation.Mean, Aggregation.Sum

@Immutable public abstract class Aggregation extends Object
Aggregation is the process of combining a certain set of MeasureValues for a given Measure into an AggregationData.

Aggregation currently supports 4 types of basic aggregation:

  • Sum
  • Count
  • Distribution
  • LastValue

When creating a View, one Aggregation needs to be specified as how to aggregate MeasureValues.

Since:
0.8