Share via


MetricSeriesConfigurationForMeasurement.CreateNewAggregator Method

Definition

Creates a new aggregator capable of aggregating according to this configurations.

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
override this.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 tie series to be aggregated.

aggregationCycleKind
MetricAggregationCycleKind

The kind of th aggregtion cycle.

Returns

A new metric aggregator.

Implements

Applies to