You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2024/03/14 17:56:00 UTC
[jira] [Resolved] (HDDS-10516) Add metrics for chunk read from internal ratis
[ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org