/meteredwriter

Go package to collect write latency data

Primary LanguageGoMIT LicenseMIT

DEPRECATION WARNING

This package considered as deprecated. Please look at mio package, it is a fork with a bit cleaner interface and Reader support.


meteredwriter

Package meteredwriter provides tools to combine io.Writer and metrics.Histogram interfaces, so that every non-empty Write call latency value is sampled to Histogram.

See documentation on godoc.org.

This package is intended to be used with go-metrics or metrics packages.