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

Microsoft.ApplicationInsights.Metrics.Extensibility.TelemetryClientExtensions

public static class TelemetryClientExtensions
Metric related extension methods for the TelemetryClient. Note that these APIs are in the ...Extensibility namespace and do not pollute the API surfact for users who do not import it.
namespace Microsoft.ApplicationInsights.Metrics.Extensibility { public static class TelemetryClientExtensions { public static MetricManager GetMetricManager(this TelemetryClient telemetryClient, MetricAggregationScope aggregationScope); } }