slfan1989 commented on code in PR #4938:
URL: https://github.com/apache/hadoop/pull/4938#discussion_r988627305


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/RouterMetrics.java:
##########
@@ -342,6 +378,34 @@ private RouterMetrics() {
     listReservationLatency =
         registry.newQuantiles("listReservationLatency",
             "latency of list reservation timeouts", "ops", "latency", 10);
+
+    getAppActivitiesLatency =
+        registry.newQuantiles("getAppActivitiesLatency",
+            "latency of get app activities timeouts", "ops", "latency", 10);
+
+    getAppStatisticsLatency =
+        registry.newQuantiles("getAppStatisticsLatency",
+            "latency of get app statistics timeouts", "ops", "latency", 10);
+
+    getAppPriorityLatency =
+        registry.newQuantiles("getAppPriorityLatency",
+            "latency of get app priority timeouts", "ops", "latency", 10);
+
+    getAppQueueLatency =
+        registry.newQuantiles("getAppQueueLatency",
+            "latency of get app queue timeouts", "ops", "latency", 10);
+
+    getUpdateQueueLatency =
+        registry.newQuantiles("getUpdateQueueLatency",
+            "latency of update app queue timeouts", "ops", "latency", 10);
+
+    getAppTimeoutLatency =
+        registry.newQuantiles("getAppTimeoutLatency",
+            "latency of get apptimeout timeouts", "ops", "latency", 10);
+
+    getAppTimeoutsLatency =

Review Comment:
   Thanks for your suggestion, I will fix it.



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


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

Reply via email to