Delen via


TelemetryConfigurationExtensions.GetMetricManager Method

Definition

TelemetryConfiguration.GetMetricManager(..) is a internal method to avoid puluting the public surface. You can use the namespace Microsoft.ApplicationInsights.Extensibility to get access to the MetricManager via this extension method.

public static Microsoft.ApplicationInsights.Metrics.MetricManager GetMetricManager (this Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration telemetryPipeline);
static member GetMetricManager : Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration -> Microsoft.ApplicationInsights.Metrics.MetricManager
<Extension()>
Public Function GetMetricManager (telemetryPipeline As TelemetryConfiguration) As MetricManager

Parameters

telemetryPipeline
TelemetryConfiguration

A TelemetryConfiguration.

Returns

The MetricManager instscne assiciated with the specified telemetry pipeline.

Applies to