Microsoft.ApplicationInsights.Extensibility.Implementation.Metrics.DependencyMetricsExtractor
An instance of this class is contained within the AutocollectedMetricsExtractor telemetry processor.
It extracts auto-collected, pre-aggregated (aka. "standard") metrics from DependencyTelemetry objects which represent
invocations of remote dependencies performed by the monitored service.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Metrics
{
internal class DependencyMetricsExtractor : ISpecificAutocollectedMetricsExtractor
{
public const int MaxDependencyTypesToDiscoverDefault = 15;
public const int MaxTargetValuesToDiscoverDefault = 125;
public const int MaxDependencyResultCodesToDiscoverDefault = 30;
public const int MaxCloudRoleInstanceValuesToDiscoverDefault = 2;
public const int MaxCloudRoleNameValuesToDiscoverDefault = 2;
public string ExtractorName { get; }
public string ExtractorVersion { get; }
public int MaxDependencyTypesToDiscover { get; set; }
public int MaxDependencyResultCodesToDiscover { get; set; }
public int MaxDependencyTargetValuesToDiscover { get; set; }
public int MaxCloudRoleInstanceValuesToDiscover { get; set; }
public int MaxCloudRoleNameValuesToDiscover { get; set; }
public DependencyMetricsExtractor();
public void InitializeExtractor(TelemetryClient metricTelemetryClient);
public void ExtractMetrics(ITelemetry fromItem, out bool isItemProcessed);
}
}