GJL commented on a change in pull request #10082: [FLINK-14164][runtime] Add a 
meter ‘numberOfRestarts’ to show number of restarts as well as its rate
URL: https://github.com/apache/flink/pull/10082#discussion_r342603815
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricNames.java
 ##########
 @@ -51,6 +51,8 @@ private MetricNames() {
        public static final String TASK_SLOTS_TOTAL = "taskSlotsTotal";
        public static final String NUM_REGISTERED_TASK_MANAGERS = 
"numRegisteredTaskManagers";
 
+       public static final String NUMBER_OF_RESTARTS = "numberOfRestarts";
 
 Review comment:
   Should we document the new metric? 
https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/metrics.html#availability

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to