netty/netty — pull request #682 by obergner (2012-10-24 21:55:33+00:00)
Title: Issue 65: Provide distribution stats in HashedWheelTimer

Contents
------------

* An abstraction layer for *Metrics/Monitoring Providers*, providding
* *ValueMonitor*, track an arbitrary datum's current value
* *ValueDistributionMonitor*, track a long value's *distribution*
* *CounterMonitor*, increase/decrease a long value
* *EventRateMonitor*, track the *rate* which an event occurs at
* A default implementation of the aforementioned abstraction layer based on *Yammer Metrics*
* Support for pluggable *Monitoring Providers* based on Java 6's *ServiceLoader*
* A modified *HashedWheelTimer* that tracks
* number of *Timeouts* executed per second and
* the *distribution* of the (absolute) deviation between scheduled and actual *Timeout* execution time

Suggestions
-----------------

* Using this feature, implement a ChannelHandler that tracks to overall number of incoming/outgoing bytes
* Using this feature, implement a ChannelHandler that tracks the rate of incoming/outgoing PDUs
* Using this feature, enhance DefaultChannelGroup to (optionally) track the number of connected channels
* ...

Hope you find this useful.

Cheers,
Olaf