Example #1
0
 public GaugeAggregator(MetricAggregatorParameters parameters)
 {
     _aggregator = new AggregatorFlusher <StatsMetric>(parameters, MetricType.Gauge);
 }
 public CountAggregator(MetricAggregatorParameters parameters)
 {
     _aggregator = new AggregatorFlusher <StatsMetric>(parameters, MetricType.Count);
 }
 public SetAggregator(MetricAggregatorParameters parameters, Telemetry optionalTelemetry)
 {
     _aggregator        = new AggregatorFlusher <StatsMetricSet>(parameters, MetricType.Set);
     _pool              = new Pool <StatsMetricSet>(pool => new StatsMetricSet(pool), 2 * parameters.MaxUniqueStatsBeforeFlush);
     _optionalTelemetry = optionalTelemetry;
 }