Sdílet prostřednictvím


MetricManager.CreateNewSeries Method

Definition

Overloads

CreateNewSeries(MetricIdentifier, IEnumerable<KeyValuePair<String,String>>, IMetricSeriesConfiguration)

Creates and initilizes a new metric data time series.

CreateNewSeries(String, String, IMetricSeriesConfiguration)

Creates and initilizes a new metric data time series.

CreateNewSeries(String, String, IEnumerable<KeyValuePair<String,String>>, IMetricSeriesConfiguration)

Creates and initilizes a new metric data time series.

CreateNewSeries(MetricIdentifier, IEnumerable<KeyValuePair<String,String>>, IMetricSeriesConfiguration)

Creates and initilizes a new metric data time series.

public Microsoft.ApplicationInsights.Metrics.MetricSeries CreateNewSeries (Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> dimensionNamesAndValues, Microsoft.ApplicationInsights.Metrics.IMetricSeriesConfiguration config);
member this.CreateNewSeries : Microsoft.ApplicationInsights.Metrics.MetricIdentifier * seq<System.Collections.Generic.KeyValuePair<string, string>> * Microsoft.ApplicationInsights.Metrics.IMetricSeriesConfiguration -> Microsoft.ApplicationInsights.Metrics.MetricSeries
Public Function CreateNewSeries (metricIdentifier As MetricIdentifier, dimensionNamesAndValues As IEnumerable(Of KeyValuePair(Of String, String)), config As IMetricSeriesConfiguration) As MetricSeries

Parameters

metricIdentifier
MetricIdentifier

THe identify of the metric to whcih the series belongs.

dimensionNamesAndValues
IEnumerable<KeyValuePair<String,String>>

The dimension names and values of the series within its metric.

config
IMetricSeriesConfiguration

Configuration of the series, including the aggregatio kind and other aspects.

Returns

A new metric data time series.

Applies to

CreateNewSeries(String, String, IMetricSeriesConfiguration)

Creates and initilizes a new metric data time series.

public Microsoft.ApplicationInsights.Metrics.MetricSeries CreateNewSeries (string metricNamespace, string metricId, Microsoft.ApplicationInsights.Metrics.IMetricSeriesConfiguration config);
member this.CreateNewSeries : string * string * Microsoft.ApplicationInsights.Metrics.IMetricSeriesConfiguration -> Microsoft.ApplicationInsights.Metrics.MetricSeries
Public Function CreateNewSeries (metricNamespace As String, metricId As String, config As IMetricSeriesConfiguration) As MetricSeries

Parameters

metricNamespace
String

Namespace of the metric to whcih the series belongs.

metricId
String

Id (name) if the metric to which the series belongs.

config
IMetricSeriesConfiguration

Configuration of the series, including the aggregatio kind and other aspects.

Returns

A new metric data time series.

Applies to

CreateNewSeries(String, String, IEnumerable<KeyValuePair<String,String>>, IMetricSeriesConfiguration)

Creates and initilizes a new metric data time series.

public Microsoft.ApplicationInsights.Metrics.MetricSeries CreateNewSeries (string metricNamespace, string metricId, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> dimensionNamesAndValues, Microsoft.ApplicationInsights.Metrics.IMetricSeriesConfiguration config);
member this.CreateNewSeries : string * string * seq<System.Collections.Generic.KeyValuePair<string, string>> * Microsoft.ApplicationInsights.Metrics.IMetricSeriesConfiguration -> Microsoft.ApplicationInsights.Metrics.MetricSeries
Public Function CreateNewSeries (metricNamespace As String, metricId As String, dimensionNamesAndValues As IEnumerable(Of KeyValuePair(Of String, String)), config As IMetricSeriesConfiguration) As MetricSeries

Parameters

metricNamespace
String

Namespace of the metric to whcih the series belongs.

metricId
String

Id (name) if the metric to which the series belongs.

dimensionNamesAndValues
IEnumerable<KeyValuePair<String,String>>

The dimension names and values of the series within its metric.

config
IMetricSeriesConfiguration

Configuration of the series, including the aggregatio kind and other aspects.

Returns

A new metric data time series.

Applies to