Digest 2

Introduces the AggregateMetric entity, computes instances of the entity from time bins, and exposes a primitive endpoint.