to extend this. it'd also be good (and probably easier) to support changing the timespan (without creating a new metric)
to extend this. it'd also be good (and probably easier) to support changing the timespan (without creating a new metric)