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

Microsoft.ApplicationInsights.Metrics.MetricSeriesConfigurationForMeasurement

Abstracts the configuration for a metric series aggregated using the "measurement" aggregation kind. A measurement is best suited for metrics describing sizes or durations. It contains the Min, Max, Sum and Count of values tracked during an aggregation period.
public sealed class AggregateKindConstants

Groups constants used by metric aggregates produced by aggregators that are configured by metric configurations represented through instances of MetricSeriesConfigurationForMeasurement. This class cannot be instantiated. To access the constants, use the extension method MetricConfigurations.Common.Measurement().Constants() or Constants.

public bool RequiresPersistentAggregation { get; }

Gets a value indicating whether the aggregation kind used by this configuration keeps state across aggregation cycles. FOr measurements - always returns false.

public bool RestrictToUInt32Values { get; }

Gets a value indicating whether only integer numbers should be tracked (used for some integer-optimized backends).

public MetricSeriesConfigurationForMeasurement(bool restrictToUInt32Values)

CReates a new configuration.

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

Checks whether this configuration is semantically equat to a specified configuration.

Checks whether this configuration is semantically equat to a specified configuration.