Share via


MetricExtensions.GetConfiguration(Metric) Method

Definition

Exposes the Configuration property for users who imported the Microsoft.ApplicationInsights.Metrics.Extensibility namespace.

public static Microsoft.ApplicationInsights.Metrics.MetricConfiguration GetConfiguration (this Microsoft.ApplicationInsights.Metric metric);
static member GetConfiguration : Microsoft.ApplicationInsights.Metric -> Microsoft.ApplicationInsights.Metrics.MetricConfiguration
<Extension()>
Public Function GetConfiguration (metric As Metric) As MetricConfiguration

Parameters

metric
Metric

A metric.

Returns

The configuration of the metric.

Applies to