refactored so you can specific expiration, resolution, aggregates per metric name