SteNicholas commented on code in PR #3419:
URL: https://github.com/apache/celeborn/pull/3419#discussion_r2477845164


##########
common/src/main/scala/org/apache/celeborn/common/rpc/RpcMetricsTracker.scala:
##########
@@ -67,6 +67,15 @@ private[celeborn] class RpcMetricsTracker(
     }
   }
 
+  def clear(): Unit = {
+    histogramMap.clear()
+    rpcSource.removeGauge(RpcSource.QUEUE_LENGTH)
+    rpcSource.removeTimer(RpcSource.QUEUE_TIME)
+    rpcSource.removeTimer(RpcSource.PROCESS_TIME)
+    logInfo(s"clear rpc metrics tracker for $name: ${RpcSource.QUEUE_LENGTH}, 
" +

Review Comment:
   It's unnecessary to log this.



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

Reply via email to