MetricSeriesConfigurationForMeasurement.CreateNewAggregator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.