TelemetryConfigurationExtensions.GetMetricManager Method
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.
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
Azure SDK for .NET