GitHub user mnikhil-git opened a pull request:
https://github.com/apache/zookeeper/pull/8
reduce the number of mntr calls
looks like mntr command is sent for every 16 metrics being collected each
time, instead send one call of mntr and fetch all the required metrics into a
dictionary, process them and print on console/send it to ganglia
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mnikhil-git/zookeeper patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/8.patch
----
commit bd1875ca7d254cf949a9d9b4772da3ab02723a08
Author: mnikhil-git <[email protected]>
Date: 2013-12-03T21:03:49Z
reduce the number of mntr calls
looks like mntr command is sent for every 16 metrics being collected each
time, instead send one call of mntr and fetch all the required metrics into a
dictionary, process them and print on console/send it to ganglia
----