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

Microsoft.ApplicationInsights.Extensibility.Implementation.Metrics.ExceptionMetricsExtractor

An instance of this class is contained within the AutocollectedMetricsExtractor telemetry processor. It extracts auto-collected, pre-aggregated metrics from ExceptionTelemetry objects which represent count of Exceptions tracked in this service.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Metrics { internal class ExceptionMetricsExtractor : ISpecificAutocollectedMetricsExtractor { public const int MaxCloudRoleInstanceValuesToDiscoverDefault = 2; public const int MaxCloudRoleNameValuesToDiscoverDefault = 2; public string ExtractorName { get; } public string ExtractorVersion { get; } public int MaxCloudRoleInstanceValuesToDiscover { get; set; } public int MaxCloudRoleNameValuesToDiscover { get; set; } public ExceptionMetricsExtractor(); public void InitializeExtractor(TelemetryClient metricTelemetryClient); public void ExtractMetrics(ITelemetry fromItem, out bool isItemProcessed); } }