MetricSeriesConfigurationForMeasurement Class

Definition

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 class MetricSeriesConfigurationForMeasurement : IEquatable<Microsoft.ApplicationInsights.Metrics.IMetricSeriesConfiguration>, Microsoft.ApplicationInsights.Metrics.IMetricSeriesConfiguration
type MetricSeriesConfigurationForMeasurement = class
    interface IMetricSeriesConfiguration
    interface IEquatable<IMetricSeriesConfiguration>
Public Class MetricSeriesConfigurationForMeasurement
Implements IEquatable(Of IMetricSeriesConfiguration), IMetricSeriesConfiguration
Inheritance
MetricSeriesConfigurationForMeasurement
Implements

Constructors

MetricSeriesConfigurationForMeasurement(Boolean)

CReates a new configuration.

Properties

RequiresPersistentAggregation

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

RestrictToUInt32Values

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

Methods

CreateNewAggregator(MetricSeries, MetricAggregationCycleKind)

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

Equals(IMetricSeriesConfiguration)

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

Equals(MetricSeriesConfigurationForMeasurement)

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

Equals(Object)

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

GetHashCode()

Gets a hash code for this configuration.

Applies to