[
https://issues.apache.org/jira/browse/HDDS-6765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-6765:
---------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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]