turboFei commented on code in PR #3346:
URL: https://github.com/apache/celeborn/pull/3346#discussion_r2167282435


##########
common/src/main/scala/org/apache/celeborn/common/metrics/source/AbstractSource.scala:
##########
@@ -627,6 +627,8 @@ abstract class AbstractSource(conf: CelebornConf, role: 
String)
     sum
   }
 
+  // Do use this method to get metrics, because it will clear the timeMetrics 
queue
+  // Do not use the LogReporter to report metrics

Review Comment:
   <img width="806" alt="image" 
src="https://github.com/user-attachments/assets/7bbb95e2-544f-4ce4-89d5-833e132105c1";
 />
   
   I saw that, the `AbstractServlet`(Prometheus or Json) will call the 
`getMetricsSnapshot` and underlying `getMetrics` method.



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