You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2017/01/11 02:08:58 UTC

[jira] [Created] (ZOOKEEPER-2662) Export a metric for txn log sync times

Andrew Purtell created ZOOKEEPER-2662:
-----------------------------------------

             Summary: Export a metric for txn log sync times
                 Key: ZOOKEEPER-2662
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2662
             Project: ZooKeeper
          Issue Type: Improvement
            Reporter: Andrew Purtell


In FileTxnLog there is code that records the amount of time required to fsync the txn log in order to warn if that time exceeds a configurable threshold. This information should also be exported as a metric available by JMX so an important aspect of quorum performance can be monitored. 

ZooKeeperServerMXBean carries some global latency information for the server process already, seems like a good place to put it if not an entirely new bean for the TxnLog. After ZOOKEEPER-2310 might want to collect the same information for snapshots. 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)