code: function setMetricQuery( query ) {
  		query.metric( metric )
  			.aggregator( aggregator )
  			.downsample( downsample )
  			.rate( rate )
  			.rateOptions({
  				'counter': counter,
  				'counterMax': counterMax,
  				'resetValue': resetValue
  			})
  			.tags( 'nid', tags.nid );
  	}
docs: FUNCTIONS // 
  FUNCTION: setMetricQuery( query )
  Configures a metric query.
  
  @param {Query} Query instance