<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.0" />

Microsoft.ApplicationInsights.Metrics.IMetricSeriesConfiguration

Abstraction for the configuration of a metric series. The configuration is a factory that can produce an arbitrary aggregator to be used by the respective series.
namespace Microsoft.ApplicationInsights.Metrics { public interface IMetricSeriesConfiguration : IEquatable<IMetricSeriesConfiguration> { bool RequiresPersistentAggregation { get; } IMetricSeriesAggregator CreateNewAggregator(MetricSeries dataSeries, MetricAggregationCycleKind aggregationCycleKind); } }