Tanvi Penumudy created HDDS-6765:
------------------------------------
Summary: Get snapshot of write OMLockMetrics
Key: HDDS-6765
URL: https://issues.apache.org/jira/browse/HDDS-6765
Project: Apache Ozone
Issue Type: Sub-task
Components: Ozone Manager
Reporter: Tanvi Penumudy
Assignee: Tanvi Penumudy
To get the snapshot of the write {{OMLockMetrics}} for exposing
{{writeLockWaitingTimeMsStat, writeLockHeldTimeMsStat}} over JMX.
To add the following lines to the {{OMLockMetrics.getMetrics()}} method:
{quote}writeLockHeldTimeMsStat.snapshot(builder, all);
writeLockWaitingTimeMsStat.snapshot(builder, all);
{quote}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]