IMetricSeriesConfiguration.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.
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.