prometheus-net icon indicating copy to clipboard operation
prometheus-net copied to clipboard

MetricHandler.Dispose should be public?

Open Cugtyt opened this issue 2 years ago • 0 comments

I am using KestrelMetricServer following quick start doc, but I found I cannot call Dispose method as MetricHandler.Dispose is not public. It should be public as it is a IDisposable then we can call its Dispose(), right?

https://github.com/prometheus-net/prometheus-net/blob/b9c49cd91b17011791fa61b17a86a803518ecb33/Prometheus.NetStandard/MetricHandler.cs#L72

Cugtyt avatar May 17 '22 10:05 Cugtyt