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.
Property name for storing the aggregation interval length.
Gets the name for the aggregation kind sopported by this converter (e.g. Microsoft.Azure.Measurement).
Converts a Microsoft.ApplicationInsights.Metrics.MetricAggregate to
a Microsoft.ApplicationInsights.DataContracts.MetricTelemetry.
protected abstract void PopulateDataValues(MetricTelemetry telemetryItem, MetricAggregate aggregate)
Subclasses need to override this method to actually send the metric telemetry item's properties
based on the cntents of the aggregate and the aggregation kind.