netty / netty

Netty project - an event-driven asynchronous network application framework
http://netty.io
Apache License 2.0
33.44k stars 15.92k forks source link

Reconsider io.netty.monitor #922

Closed trustin closed 11 years ago

trustin commented 11 years ago

@spullara said in #65:

I think we could compromise here and provide an implementation of Yammer Metrics that isn't required and not reinvent the wheel while at the same time making it possible to get all the stats we need. They have successfully instrumented many projects at arms-length:

http://metrics.codahale.com/manual/

If it isn't possible to do that with Netty perhaps we don't have the right level of extensibility. I know that Twitter has successfully instrumented our Netty usage (in Finagle) with Ostrich, which is similar. Perhaps that API would be a callback interface that you register?

It is unfortunate that I didn't pick up his idea on time, but it's better be late than never.

Instead of providing the monitoring API that can never beat Yammer Metrics, I think it's much better to provide proper extension points so that the monitor library instruments itself into Netty.

Therefore, I propose to:

carrot-garden commented 11 years ago

agreed

infynyxx commented 11 years ago

+1

trustin commented 11 years ago

Done.

stanleyyang1987 commented 6 years ago

Hi,I can not find the io.netty.monitor package in Netty 4.1. stuff.May know the reason of the change?and how can I achieve the monitor function in Netty 4?