[ 
https://issues.apache.org/jira/browse/FLINK-8043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16316573#comment-16316573
 ] 

Till Rohrmann commented on FLINK-8043:
--------------------------------------

Hi [~stevenz3wu], I think {{fullRestarts}} should be a {{Gauge}}, because the 
actual value is stored within the {{ExecutionGraph}}. Therefore, there is no 
need to introduce a new state variable to count the number of full restarts. 
But maybe I don't fully understand the underlying problem.

> change fullRestarts (for fine grained recovery) from guage to counter
> ---------------------------------------------------------------------
>
>                 Key: FLINK-8043
>                 URL: https://issues.apache.org/jira/browse/FLINK-8043
>             Project: Flink
>          Issue Type: Bug
>          Components: ResourceManager
>    Affects Versions: 1.3.2
>            Reporter: Steven Zhen Wu
>
> Fine grained recovery publish fullRestarts as guage, which is not suitable 
> for threshold based alerting. Usually we would alert like "fullRestarts > 0 
> happens 10 times in last 15 minutes".
> In comparison, "task_failures" is published as counter.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to