rcrowley / go-metrics

Go port of Coda Hale's Metrics library
Other
3.46k stars 494 forks source link

Add support for logging metrics on demand via communication through a channel #210

Closed jasonyunicorn closed 6 years ago

jasonyunicorn commented 7 years ago

The current logging implementation only allows logging to the logger periodically given a frequency. It would be nice if logging the metrics could be cued on demand via a go channel.

Please see the implementation provided here: https://github.com/rcrowley/go-metrics/pull/209

mihasya commented 6 years ago

Fixed by #209 thanks!