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.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Metrics
{
internal class TraceMetricsExtractor : 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 TraceMetricsExtractor();
public void InitializeExtractor(TelemetryClient metricTelemetryClient);
public void ExtractMetrics(ITelemetry fromItem, out bool isItemProcessed);
}
}