zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakeshadr <...@git.apache.org>
Subject [GitHub] zookeeper pull request #466: ZOOKEEPER-2940. Deal with maxbuffer as it relat...
Date Mon, 16 Apr 2018 17:47:18 GMT
Github user rakeshadr commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/466#discussion_r181829051
  
    --- 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 --
    
    Also, I could see contrib/monitoring/ganglia/zookeeper_ganglia.py file contains metrics
section. Probably you could refer 'zk_open_file_descriptor_count': {'units': 'descriptors'},
as an example case. 


---

Mime
View raw message