[ 
https://issues.apache.org/jira/browse/HDDS-10516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang resolved HDDS-10516.
------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Fixed

> Add metrics for chunk read from internal ratis
> ----------------------------------------------
>
>                 Key: HDDS-10516
>                 URL: https://issues.apache.org/jira/browse/HDDS-10516
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> Currently, there are following metrics on every datanode for chunk reads.
> {code:java}
> "numReadChunk" : 136237,
> "bytesReadChunk" : 1395066880,
> "LatencyReadChunkNumOps" : 136237,
> "LatencyReadChunkAvgTime" : 1.0, {code}
> The chunk read requests come from both remote user client and internal ratis 
> if the datanode is the leader of the ratis group. Currently, we cannot tell 
> how much data is read by user client, and how much data is read by ratis 
> leader itself. So this task is to introduce a new set of following metrics 
> for read by ratis, 
> {code:java}
> numReadStateMachine // the request counts from ratis
> bytesReadStateMachine // the total bytes read by ratis{code}
> So the final goal is we want to know how much data is read by user client. So 
> for read from user client,
> bytesReadChunk - bytesReadStateMachine = bytes read by user clients
> numReadChunk - numReadStateMachine = request counts from user clients
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to