Make rolling for granularities configurable

Adds configuration option for every metric granularity that we currently support, to make the rolling up for a particular granularity optional.