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

Microsoft.ApplicationInsights.Extensibility.Implementation.Metrics.TraceMetricsExtractor

An instance of this class is contained within the AutocollectedMetricsExtractor telemetry processor. It extracts auto-collected, pre-aggregated metrics from TraceTelemetry objects which represent count of Trace telemetry tracked in this service.

The default value for the MaxCloudRoleInstanceValuesToDiscover property.

The default value for the MaxCloudRoleNameValuesToDiscover 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 void ExtractMetrics(ITelemetry fromItem, out bool isItemProcessed)

public void InitializeExtractor(TelemetryClient metricTelemetryClient)