Microsoft.ApplicationInsights.Metrics.Extensibility.MetricAggregateToApplicationInsightsPipelineConverterBase
abstract class MetricAggregateToApplicationInsightsPipelineConverterBase : IMetricAggregateToTelemetryPipelineConverter
Converts the Metrics-Aggregation-SDK exchange type for aggregates (MetricAggregate) to
the Application Insights exchange type for the same (MetricTelemetry). This abstract base class provides
common functionality between aggregates for different aggregation kinds.
namespace Microsoft.ApplicationInsights.Metrics.Extensibility
{
internal abstract class MetricAggregateToApplicationInsightsPipelineConverterBase : IMetricAggregateToTelemetryPipelineConverter
{
public const string AggregationIntervalMonikerPropertyKey = "_MS.AggregationIntervalMs";
public abstract string AggregationKindMoniker { get; }
public object Convert(MetricAggregate aggregate);
protected abstract void PopulateDataValues(MetricTelemetry telemetryItem, MetricAggregate aggregate);
protected MetricAggregateToApplicationInsightsPipelineConverterBase();
}
}