Aggregation

Java Class: com.spotify.heroic.aggregation.Aggregation

An aggregation is responsible for analysing and sampling a larger dataset into a smaller, more manageable one. For details on all available aggregations, see the Aggregations Section.

This object tells the distance to the point in the past.

Structure
Field Type Purpose
type  required "relative" Type of the aggregation.
sampling  SamplingQuery Sampling to use with aggregation.