[ https://issues.apache.org/jira/browse/FLINK-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387754#comment-15387754 ]
ASF GitHub Bot commented on FLINK-4202: --------------------------------------- Github user tillrohrmann commented on the issue: https://github.com/apache/flink/pull/2271 Thanks for the review @uce. Will merge this PR. > 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)