some initial support for storing/retrieving aggregated metrics