Microsoft.ApplicationInsights.Metric
Represents a zero- or multi-dimensional metric.
Contains convenience methods to track, aggregate and send values.
A Metric instance groups one or more MetricSeries that actually track and aggregate values along with
naming and configuration attributes that identify the metric and define how it will be aggregated.
Tracks the specified value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This method uses the zero-dimensional MetricSeries associated with this metric.
Use TrackValue(..) to track values into MetricSeries associated with specific dimension-values in multi-dimensional metrics.
Tracks the specified value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This method uses the zero-dimensional MetricSeries associated with this metric.
Use TrackValue(..) to track values into MetricSeries associated with specific dimension-values in multi-dimensional metrics.
Tracks the specified value using the MetricSeries associated with the specified dimension value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 1-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
Tracks the specified value using the MetricSeries associated with the specified dimension value.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 1-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 2-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 2-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(double metricValue, string dimension1Value, string dimension2Value, string dimension3Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 3-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(object metricValue, string dimension1Value, string dimension2Value, string dimension3Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 3-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 4-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 4-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 5-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 5-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 6-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 6-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 7-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 7-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 8-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 8-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value, string dimension9Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 9-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value, string dimension9Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 9-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(double metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value, string dimension9Value, string dimension10Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 10-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.
public bool TrackValue(object metricValue, string dimension1Value, string dimension2Value, string dimension3Value, string dimension4Value, string dimension5Value, string dimension6Value, string dimension7Value, string dimension8Value, string dimension9Value, string dimension10Value)
Tracks the specified value using the MetricSeries associated with the specified dimension values.
An aggregate representing tracked values will be automatically sent to the cloud ingestion endpoint at the end of each aggregation period.
This overload may only be used with 10-dimensional metrics. Use other overloads to specify a matching number of dimension values for this metric.