https://github.com/artyom/meteredwriter
Go package to collect write latency data
https://github.com/artyom/meteredwriter
Last synced: about 1 month ago
JSON representation
Go package to collect write latency data
- Host: GitHub
- URL: https://github.com/artyom/meteredwriter
- Owner: artyom
- License: mit
- Created: 2014-05-17T20:11:25.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-05T15:20:29.000Z (about 12 years ago)
- Last Synced: 2025-03-04T03:42:31.189Z (over 1 year ago)
- Language: Go
- Size: 160 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
# 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][1] interfaces, so that every non-empty Write call latency
value is sampled to Histogram.
See [documentation on godoc.org][doc].
This package is intended to be used with [go-metrics][2] or [metrics][3]
packages.
[1]: http://godoc.org/github.com/rcrowley/go-metrics#Histogram
[2]: https://github.com/rcrowley/go-metrics
[3]: https://github.com/facebookgo/metrics
[doc]: http://godoc.org/github.com/artyom/meteredwriter
[mio]: https://github.com/artyom/mio