Thanks ! Filed https://issues.apache.org/jira/browse/ZOOKEEPER-1321 to track this.
Thanks, Neha On Tue, Dec 6, 2011 at 11:19 AM, Patrick Hunt <[email protected]> wrote: > It must have come up in conversation, I can't find it in jira. Feel > free to enter one. > > Yes, it would be useful to have insight into the number of connections > currently to a server as a summary in srvr & mntr, currently you can > only get it by running "stat" and counting the result. That's alot of > work for the server to do just to get connection count. > > Additionally it would be good to have some stats on how things are > changing over time. ie new/lost connections in the last 5/10/15 > seconds/minutes or somesuch. However this is best left to the > monitoring system itself. > > Patrick > > On Tue, Dec 6, 2011 at 11:04 AM, Neha Narkhede <[email protected]> > wrote: > > Patrick, > > > >>> There have been a couple recent jiras on this - capturing a > > count of the number of connections in "srvr" comes to mind. > > > > Are you referring to adding another entry for > > "number_of_client_connections" to both JMX and srvr/mntr ? > > > > Please can you point me to a JIRA, if one exists ? > > > > Thanks, > > Neha > > > > On Tue, Dec 6, 2011 at 10:52 AM, Patrick Hunt <[email protected]> wrote: > > > >> Please add both jmx and 4lw, I think this would be useful for > >> operators. There have been a couple recent jiras on this - capturing a > >> count of the number of connections in "srvr" comes to mind. This would > >> be useful summary there as well (in addition to being in stat and > >> mntr). > >> > >> Patrick > >> > >> On Tue, Dec 6, 2011 at 10:13 AM, Neha Narkhede <[email protected] > > > >> wrote: > >> > Well, the point is to monitor and alert on it. So maybe a JMX bean or > one > >> > of the 4-letter commands would be reasonable. > >> > > >> > Thanks, > >> > Neha > >> > > >> > On Tue, Dec 6, 2011 at 10:07 AM, Ted Dunning <[email protected]> > >> wrote: > >> > > >> >> Look at the logs? > >> >> > >> >> On Tue, Dec 6, 2011 at 9:59 AM, Neha Narkhede < > [email protected] > >> >> >wrote: > >> >> > >> >> > Also, a related question is being able to monitor the number of > >> >> disconnect > >> >> > operations on a client. This is generally indicative of a client > going > >> >> > through large number of GC and hence disconnecting way too often > from > >> a > >> >> > zookeeper cluster. What is a good way of monitoring this ? > >> >> > > >> >> > >> >
