MetricConfiguration Class

Definition

Encapsulates the configuration for a metric and its respective data time series.

public class MetricConfiguration : IEquatable<Microsoft.ApplicationInsights.Metrics.MetricConfiguration>
type MetricConfiguration = class
    interface IEquatable<MetricConfiguration>
Public Class MetricConfiguration
Implements IEquatable(Of MetricConfiguration)
Inheritance
MetricConfiguration
Derived
Implements

Constructors

MetricConfiguration(Int32, IEnumerable<Int32>, IMetricSeriesConfiguration)

Creates a new instance of MetricConfiguration.

MetricConfiguration(Int32, Int32, IMetricSeriesConfiguration)

Creates a new instance of MetricConfiguration.

Properties

SeriesConfig

Gets the configuration for how each series of this metric should be aggregated.

SeriesCountLimit

Gets how many data time series a metric can contain as a maximum. Once this limit is reached, calls to TrackValue(..), TryGetDataSeries(..) and similar that would normally result in new series will return false.

Methods

Equals(MetricConfiguration)

Gets whether tho objects describe identical configuration.

Equals(Object)

Gets whether tho objects describe identical configuration.

GetHashCode()

Gets the Hash Code for this object.

GetValuesPerDimensionLimit(Int32)

Gets the maximum number of distinct values for a dimension identified by the specified 1-based dimension index.

Applies to