Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
MetricDescription com.griddynamics.jagger.engine.e1.collector.MetricDescription.addAggregator ( MetricAggregatorProvider  aggregator,
MetricAggregatorSettings  settings 
)

Append new aggregator to list of metric aggregator with settings.

Parameters
aggregator- aggregators that will be applied to this metric during result processing.
You can use Jagger built in aggregators Aggregators implementations and examples or custom aggregator
settings- settings of aggregator.
Returns
this MetricDescription

Definition at line 142 of file MetricDescription.java.

References com.griddynamics.jagger.engine.e1.collector.MetricDescription.aggregatorsWithSettings.

142  {
143  this.aggregatorsWithSettings.put(aggregator, settings);
144  return this;
145  }