MetricConfigurationForMeasurement Constructors
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.
Overloads
MetricConfigurationForMeasurement(Int32, IEnumerable<Int32>, MetricSeriesConfigurationForMeasurement) |
Creates a new instance of |
MetricConfigurationForMeasurement(Int32, Int32, MetricSeriesConfigurationForMeasurement) |
Creates a new instance of |
MetricConfigurationForMeasurement(Int32, IEnumerable<Int32>, MetricSeriesConfigurationForMeasurement)
Creates a new instance of MetricConfiguration
.
public MetricConfigurationForMeasurement (int seriesCountLimit, System.Collections.Generic.IEnumerable<int> valuesPerDimensionLimits, Microsoft.ApplicationInsights.Metrics.MetricSeriesConfigurationForMeasurement seriesConfig);
new Microsoft.ApplicationInsights.Metrics.MetricConfigurationForMeasurement : int * seq<int> * Microsoft.ApplicationInsights.Metrics.MetricSeriesConfigurationForMeasurement -> Microsoft.ApplicationInsights.Metrics.MetricConfigurationForMeasurement
Public Sub New (seriesCountLimit As Integer, valuesPerDimensionLimits As IEnumerable(Of Integer), seriesConfig As MetricSeriesConfigurationForMeasurement)
Parameters
- seriesCountLimit
- Int32
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
.
- valuesPerDimensionLimits
- IEnumerable<Int32>
How many different values each of the dimensions of a metric can
have as a maximum. If this enumeration contains less elements than the number of supported dimensions,
then the last specified element is replicated for subsequent dimensions. If this enumeration contains
too many elements, superfluous elements are ignored.
Once this limit is reached, calls to TrackValue(..)
, TryGetDataSeries(..)
and similar
that would normally result in new series will return false
.
- seriesConfig
- MetricSeriesConfigurationForMeasurement
The configuration for how each series of this metric should be aggregated.
Applies to
MetricConfigurationForMeasurement(Int32, Int32, MetricSeriesConfigurationForMeasurement)
Creates a new instance of MetricConfigurationForMeasurement
.
public MetricConfigurationForMeasurement (int seriesCountLimit, int valuesPerDimensionLimit, Microsoft.ApplicationInsights.Metrics.MetricSeriesConfigurationForMeasurement seriesConfig);
new Microsoft.ApplicationInsights.Metrics.MetricConfigurationForMeasurement : int * int * Microsoft.ApplicationInsights.Metrics.MetricSeriesConfigurationForMeasurement -> Microsoft.ApplicationInsights.Metrics.MetricConfigurationForMeasurement
Public Sub New (seriesCountLimit As Integer, valuesPerDimensionLimit As Integer, seriesConfig As MetricSeriesConfigurationForMeasurement)
Parameters
- seriesCountLimit
- Int32
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
.
- valuesPerDimensionLimit
- Int32
How many different values each of the dimensions of a metric can
have as a maximum.
Once this limit is reached, calls to TrackValue(..)
, TryGetDataSeries(..)
and similar
that would normally result in new series will return false
.
- seriesConfig
- MetricSeriesConfigurationForMeasurement
The configuration for how each series of this metric should be aggregated.
Applies to
Azure SDK for .NET