tanvipenumudy opened a new pull request, #6323:
URL: https://github.com/apache/ozone/pull/6323

   ## What changes were proposed in this pull request?
   
   The patch implements granular metrics around `KeyManagerImpl#sortDatanodes` 
method. The following metrics have been introduced:
   
   - **_sortDatanodesLatencyNs_**: `KeyManagerImpl#sortDatanodes` call latency 
in nanoseconds.
   - **_sortDatanodesSortByDistanceCostLatencyNs_**: 
`NetworkTopology#sortByDistanceCost` call latency in sortDatanodes.
   - **_sortDatanodesResolveNodeLocationLatencyNs_**: 
`KeyManagerImpl#resolveNodeLocation` latency in sortDatanodes (for non-datanode 
host reads).
   - **_numSortDatanodesCalls_**: Number of `KeyManagerImpl#sortDatanodes` 
calls.
   - **_numSortDatanodesNonDatanodeHostReads_**: Number of non-datanodes host 
reads in sortDatanodes (number of `KeyManagerImpl#getOtherNode` calls).
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-10357
   
   ## How was this patch tested?
   
   The metrics have been tested manually on a cluster with the Ozone services 
running.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to