code: private MetricAggregate getAggregate(final MetricIdentity identity) {
  
  		// get the map from utc minute to aggregate for this metric
  
  		if (!aggregates.containsKey(identity)) {
  			aggregates.put(identity, new HashMap<Long, MetricAggregate>());			
  		}
  		
  		Map<Long, MetricAggregate> metricAggregates = aggregates.get(identity);
  		
  		// get the aggregate for this minute
  		
  		if (!metricAggregates.containsKey(currentMinute)) {
  		
  			MetricAggregate initialAggregate = MetricAggregate.fromMetricIdentity(identity, currentMinute);
  			
  			if (identity.getType().equals(MetricMonitorType.GAUGE)) {
  				if (lastValues.containsKey(identity)) {
  					initialAggregate.setValue(lastValues.get(identity));
  				}
  			}
  						
  			metricAggregates.put(currentMinute, initialAggregate);
  		}
  
  		MetricAggregate aggregate = metricAggregates.get(currentMinute);
  		
  		return aggregate;
  	}
docs: Retrieves the specified metric for the current minute
  @param metric The metric identity
  @return The metric aggregate for the metric at the current minute