congbobo184 opened a new pull request #9706:
URL: https://github.com/apache/pulsar/pull/9706


   ## Motivation
   Transaction coordinator metrics add.
   
   ## implement
   ```
       /** The transaction coordinatorId. */
       private long transactionCoordinatorId;
   
       /** The transaction max sequenceId. */
       private long transactionSequenceId;
   
       /** The ongoing transaction count. */
       private int ongoingTransactionCount;
   
       /** The low water mark of this transaction coordinator. */
       private long lowWaterMark;
   
       /** The commit transaction rate of this transaction coordinator. */
       public double commitTransactionRate;
   
       /** The abort transaction rate of this transaction coordinator. */
       public double abortTransactionRate;
   
       /** The create transaction rate of this transaction coordinator. */
       public double createTransactionRate;
   ```
   This is transaction coordinator metrics, if have another useful metrics, we 
can add in other PR.
   ### Verifying this change
   Add the tests for it
   
   Does this pull request potentially affect one of the following parts:
   If yes was chosen, please highlight the changes
   
   Dependencies (does it add or upgrade a dependency): (no)
   The public API: (no)
   The schema: (no)
   The default values of configurations: (no)
   The wire protocol: (no)
   The rest endpoints: (no)
   The admin cli options: (no)
   Anything that affects deployment: (no)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to