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

Microsoft.ApplicationInsights.Metrics.Extensibility.MetricAggregateToTelemetryPipelineConverters

A registry for injecting converters from MetricAggregate items to data exchange types employed by the respective data ingestion/processing/sink mechanism.

Default singelton.

public void Add(Type pipelineType, string aggregationKindMoniker, IMetricAggregateToTelemetryPipelineConverter converter)

Adds a converter to the registry.

public bool TryGet(Type pipelineType, string aggregationKindMoniker, out IMetricAggregateToTelemetryPipelineConverter converter)

Attempts to get a metric aggregate converter from the registry.