guanqingan / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

There is no way to monitor number of heartbeat failures or op timeouts that cause nodes to be disconnected. #294

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
There is no way to monitor how many heartbeats normally fail (timeout) per 
connection or number of ops that timeout per connection. It's not easy to 
figure out what's a good number to set timeoutExceptionThreshold or 
xmemcached.heartbeat.max.fail.times

What is the expected output? What do you see instead?
I would expect to have a listener with an interface to record failures count 
changes and failure count rest where I can plug in my own implementation so I 
can record this whatever way I like.

What version of the product are you using? On what operating system?
Xmemcached 2.0.0

Please provide any additional information below.
I have coded this customization for my own use. Would you consider taking the 
pull request?

Original issue reported on code.google.com by claudio....@gmail.com on 3 Oct 2014 at 10:48