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.
Initializes a new instance of the MetricsManager class.
Disposes the meter and all associated instruments.
Gets or creates a histogram instrument for the specified metric name.
Histogram instances are cached and reused for efficiency.