etishor / Metrics.NET

The Metrics.NET library provides a way of instrumenting applications with custom metrics (timers, histograms, counters etc) that can be reported in various ways and can provide insights on what is happening inside a running application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can`t release memory after completelyDisableMetrics

biuboombiuboom opened this issue · comments

commented

Because class 'HistogramMetric' doesn't implement Interface 'IDisposable' ,so disable a metricContext can not disable histogram, class 'HistogramMetric' have a field reservoir,if the reservoirs type is 'ExponentiallyDecayingReservoir', the memory will cant be release.