<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.0" />

Microsoft.ApplicationInsights.Extensibility.Implementation.Metrics.RequestMetricsExtractor

An instance of this class is contained within the AutocollectedMetricsExtractor telemetry processor. It extracts auto-collected, pre-aggregated (aka. "standard") metrics from RequestTelemetry objects which represent invocations of the monitored service.

The default value for the MaxCloudRoleInstanceValuesToDiscover property.

The default value for the MaxCloudRoleNameValuesToDiscover property.

public const int MaxResponseCodeToDiscoverDefault = 30

The default value for the MaxResponseCodeToDiscover property.

public string ExtractorName { get; }

public string ExtractorVersion { get; }

public int MaxCloudRoleInstanceValuesToDiscover { get; set; }

Gets or sets the maximum number of auto-discovered Cloud RoleInstance values.

public int MaxCloudRoleNameValuesToDiscover { get; set; }

Gets or sets the maximum number of auto-discovered Cloud RoleName values.

public int MaxResponseCodeToDiscover { get; set; }

Gets or sets the maximum number of auto-discovered Request response code.

public void ExtractMetrics(ITelemetry fromItem, out bool isItemProcessed)

public void InitializeExtractor(TelemetryClient metricTelemetryClient)