This is an automated email from the ASF dual-hosted git repository.

slfan1989 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2831c7ce266 HADOOP-18880. Add some rpc related metrics to Metrics.md 
(#6015) Contributed by Yanghai Hu.
2831c7ce266 is described below

commit 2831c7ce266b2132ab5a137afd624f689d070677
Author: huhaiyang <huhaiyang...@126.com>
AuthorDate: Tue Sep 5 17:34:05 2023 +0800

    HADOOP-18880. Add some rpc related metrics to Metrics.md (#6015) 
Contributed by Yanghai Hu.
    
    Reviewed-by: Inigo Goiri <inigo...@apache.org>
    Signed-off-by: Shilun Fan <slfan1...@apache.org>
---
 .../org/apache/hadoop/ipc/metrics/RpcMetrics.java     |  2 +-
 .../hadoop-common/src/site/markdown/Metrics.md        | 19 ++++++++++++++++++-
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git 
a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcMetrics.java
 
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcMetrics.java
index 5e0ea6228c2..b9be973204d 100644
--- 
a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcMetrics.java
+++ 
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/metrics/RpcMetrics.java
@@ -141,7 +141,7 @@ public class RpcMetrics {
   MutableCounterLong rpcAuthorizationSuccesses;
   @Metric("Number of client backoff requests")
   MutableCounterLong rpcClientBackoff;
-  @Metric("Number of Slow RPC calls")
+  @Metric("Number of slow RPC calls")
   MutableCounterLong rpcSlowCalls;
   @Metric("Number of requeue calls")
   MutableCounterLong rpcRequeueCalls;
diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md 
b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md
index e8d3cc4552b..01d89b81356 100644
--- a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md
+++ b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md
@@ -74,16 +74,21 @@ The default timeunit used for RPC metrics is milliseconds 
(as per the below desc
 | `SentBytes` | Total number of sent bytes |
 | `RpcQueueTimeNumOps` | Total number of RPC calls |
 | `RpcQueueTimeAvgTime` | Average queue time in milliseconds |
-| `RpcLockWaitTimeNumOps` | Total number of RPC call (same as 
RpcQueueTimeNumOps) |
+| `RpcLockWaitTimeNumOps` | Total number of RPC calls (same as 
RpcQueueTimeNumOps) |
 | `RpcLockWaitTimeAvgTime` | Average time waiting for lock acquisition in 
milliseconds |
 | `RpcProcessingTimeNumOps` | Total number of RPC calls (same to 
RpcQueueTimeNumOps) |
 | `RpcProcessingAvgTime` | Average Processing time in milliseconds |
+| `DeferredRpcProcessingTimeNumOps` | Total number of Deferred RPC calls |
+| `DeferredRpcProcessingAvgTime` | Average Deferred Processing time in 
milliseconds |
+| `RpcResponseTimeNumOps` | Total number of RPC calls (same to 
RpcQueueTimeNumOps) |
+| `RpcResponseAvgTime` | Average Response time in milliseconds |
 | `RpcAuthenticationFailures` | Total number of authentication failures |
 | `RpcAuthenticationSuccesses` | Total number of authentication successes |
 | `RpcAuthorizationFailures` | Total number of authorization failures |
 | `RpcAuthorizationSuccesses` | Total number of authorization successes |
 | `RpcClientBackoff` | Total number of client backoff requests |
 | `RpcSlowCalls` | Total number of slow RPC calls |
+| `RpcRequeueCalls` | Total number of requeue RPC calls |
 | `RpcCallsSuccesses` | Total number of RPC calls that are successfully 
processed |
 | `NumOpenConnections` | Current number of open connections |
 | `NumInProcessHandler` | Current number of handlers on working |
@@ -107,6 +112,18 @@ The default timeunit used for RPC metrics is milliseconds 
(as per the below desc
 | `rpcLockWaitTime`*num*`s90thPercentileLatency` | Shows the 90th percentile 
of RPC lock wait time in milliseconds (*num* seconds granularity) if 
`rpc.metrics.quantile.enable` is set to true. *num* is specified by 
`rpc.metrics.percentiles.intervals`. |
 | `rpcLockWaitTime`*num*`s95thPercentileLatency` | Shows the 95th percentile 
of RPC lock wait time in milliseconds (*num* seconds granularity) if 
`rpc.metrics.quantile.enable` is set to true. *num* is specified by 
`rpc.metrics.percentiles.intervals`. |
 | `rpcLockWaitTime`*num*`s99thPercentileLatency` | Shows the 99th percentile 
of RPC lock wait time in milliseconds (*num* seconds granularity) if 
`rpc.metrics.quantile.enable` is set to true. *num* is specified by 
`rpc.metrics.percentiles.intervals`. |
+| `rpcResponseTime`*num*`sNumOps` | Shows total number of RPC calls (*num* 
seconds granularity) if `rpc.metrics.quantile.enable` is set to true. *num* is 
specified by `rpc.metrics.percentiles.intervals`. |
+| `rpcResponseTime`*num*`s50thPercentileLatency` | Shows the 50th percentile 
of RPC response time in milliseconds (*num* seconds granularity) if 
`rpc.metrics.quantile.enable` is set to true. *num* is specified by 
`rpc.metrics.percentiles.intervals`. |
+| `rpcResponseTime`*num*`s75thPercentileLatency` | Shows the 75th percentile 
of RPC response time in milliseconds (*num* seconds granularity) if 
`rpc.metrics.quantile.enable` is set to true. *num* is specified by 
`rpc.metrics.percentiles.intervals`. |
+| `rpcResponseTime`*num*`s90thPercentileLatency` | Shows the 90th percentile 
of RPC response time in milliseconds (*num* seconds granularity) if 
`rpc.metrics.quantile.enable` is set to true. *num* is specified by 
`rpc.metrics.percentiles.intervals`. |
+| `rpcResponseTime`*num*`s95thPercentileLatency` | Shows the 95th percentile 
of RPC response time in milliseconds (*num* seconds granularity) if 
`rpc.metrics.quantile.enable` is set to true. *num* is specified by 
`rpc.metrics.percentiles.intervals`. |
+| `rpcResponseTime`*num*`s99thPercentileLatency` | Shows the 99th percentile 
of RPC response time in milliseconds (*num* seconds granularity) if 
`rpc.metrics.quantile.enable` is set to true. *num* is specified by 
`rpc.metrics.percentiles.intervals`. |
+| `deferredRpcProcessingTime`*num*`sNumOps` | Shows total number of Deferred 
RPC calls (*num* seconds granularity) if `rpc.metrics.quantile.enable` is set 
to true. *num* is specified by `rpc.metrics.percentiles.intervals`. |
+| `deferredRpcProcessingTime`*num*`s50thPercentileLatency` | Shows the 50th 
percentile of Deferred RPC processing time in milliseconds (*num* seconds 
granularity) if `rpc.metrics.quantile.enable` is set to true. *num* is 
specified by `rpc.metrics.percentiles.intervals`. |
+| `deferredRpcProcessingTime`*num*`s75thPercentileLatency` | Shows the 75th 
percentile of Deferred RPC processing time in milliseconds (*num* seconds 
granularity) if `rpc.metrics.quantile.enable` is set to true. *num* is 
specified by `rpc.metrics.percentiles.intervals`. |
+| `deferredRpcProcessingTime`*num*`s90thPercentileLatency` | Shows the 90th 
percentile of Deferred RPC processing time in milliseconds (*num* seconds 
granularity) if `rpc.metrics.quantile.enable` is set to true. *num* is 
specified by `rpc.metrics.percentiles.intervals`. |
+| `deferredRpcProcessingTime`*num*`s95thPercentileLatency` | Shows the 95th 
percentile of Deferred RPC processing time in milliseconds (*num* seconds 
granularity) if `rpc.metrics.quantile.enable` is set to true. *num* is 
specified by `rpc.metrics.percentiles.intervals`. |
+| `deferredRpcProcessingTime`*num*`s99thPercentileLatency` | Shows the 99th 
percentile of Deferred RPC processing time in milliseconds (*num* seconds 
granularity) if `rpc.metrics.quantile.enable` is set to true. *num* is 
specified by `rpc.metrics.percentiles.intervals`. |
 | `TotalRequests` | Total num of requests served by the RPC server. |
 | `TotalRequestsPerSeconds` | Total num of requests per second served by the 
RPC server. |
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to