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

Microsoft.ApplicationInsights.Metrics.MetricsManager

sealed class MetricsManager : IDisposable
Manages OpenTelemetry Meter and Histogram instruments for metrics tracking. Provides a centralized cache for histogram instances to ensure efficient metric recording.
namespace Microsoft.ApplicationInsights.Metrics { internal sealed class MetricsManager : IDisposable { public MetricsManager(string meterName = "Microsoft.ApplicationInsights"); public Histogram<double> GetOrCreateHistogram(string metricName, string metricNamespace = null); public void Dispose(); } }