Github user rakeshadr commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/466#discussion_r181824379
--- Diff: src/java/main/org/apache/zookeeper/server/admin/Commands.java ---
@@ -329,12 +329,20 @@ public CommandResponse run(ZooKeeperServer zkServer,
Map<String, String> kwargs)
response.put("open_file_descriptor_count",
osMbean.getOpenFileDescriptorCount());
response.put("max_file_descriptor_count",
osMbean.getMaxFileDescriptorCount());
+ response.put("last_client_response_size",
stats.getClientResponseStats().getLast());
--- End diff --
Please update zookeeperAdmin.xml about these commands. Please refer
monitoring the health of the cluster section in this page.
---