Microsoft.ApplicationInsights.Metrics.MetricsManager
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();
}
}