IMetricSeriesConfiguration.CreateNewAggregator Method

Definition

Create an aggregator for any series configured by this confuguration object.

public Microsoft.ApplicationInsights.Metrics.Extensibility.IMetricSeriesAggregator CreateNewAggregator (Microsoft.ApplicationInsights.Metrics.MetricSeries dataSeries, Microsoft.ApplicationInsights.Metrics.Extensibility.MetricAggregationCycleKind aggregationCycleKind);
abstract member CreateNewAggregator : Microsoft.ApplicationInsights.Metrics.MetricSeries * Microsoft.ApplicationInsights.Metrics.Extensibility.MetricAggregationCycleKind -> Microsoft.ApplicationInsights.Metrics.Extensibility.IMetricSeriesAggregator
Public Function CreateNewAggregator (dataSeries As MetricSeries, aggregationCycleKind As MetricAggregationCycleKind) As IMetricSeriesAggregator

Parameters

dataSeries
MetricSeries

Metric data series for which to produce the aggregator..

aggregationCycleKind
MetricAggregationCycleKind

THe kind of the aggregation cycle (not the aggregation kind).

Returns

A new aggregator for the specified series and the specified cycle.

Applies to