[ https://issues.apache.org/jira/browse/FLINK-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387718#comment-15387718 ]
ASF GitHub Bot commented on FLINK-4202: --------------------------------------- Github user uce commented on the issue: https://github.com/apache/flink/pull/2271 +1 to merge. Tests and and comments are very good. I've tested this locally with a job with restarts and everything works as expected: ![screen shot 2016-07-21 at 15 47 34](https://cloud.githubusercontent.com/assets/1756620/17025085/a38131ae-4f5a-11e6-8260-3d55f2025760.png) > Add JM metric which shows the restart duration > ---------------------------------------------- > > Key: FLINK-4202 > URL: https://issues.apache.org/jira/browse/FLINK-4202 > Project: Flink > Issue Type: Improvement > Components: Distributed Coordination > Affects Versions: 1.1.0 > Reporter: Till Rohrmann > Assignee: Till Rohrmann > Fix For: 1.1.0 > > > It is convenient for users to have a metric which tells you how long the > restarting of a job has taken. > I propose a to introduce a {{Gauge}} which returns the time between > {{JobStatus.RESTARTING}} and {{JobStatus.RUNNING}}. If the job was not > restarted (initial run), then this metric will return {{-1}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)