metric icon indicating copy to clipboard operation
metric copied to clipboard

Minimal metrics for Go (counter/gauge/histogram). No dependencies. Compatible with expvar. Web UI included.

Results 5 metric issues
Sort by recently updated
recently updated
newest added

Sum() method for testing would be nice.. e.g for timeseries.

I think this solution may be more optimal than the one you have now. https://stackoverflow.com/questions/8180336/histogram-approximation-for-streaming-data/8369381 It also consolidates bins when a sample doesn't fit into the last bin, but otherwise...

hi, is it possible to expose page var or to provide something to hack it ? thanks.

This PR reduces the amount of heap allocations made in the `histogram.Add` and `histogram.trim` functions. In this library, we have a small constant for `maxBins`, so it's better to trade...