public class RestartTimeGauge extends Object implements org.apache.flink.metrics.Gauge<Long>
Restarting time is the time between JobStatus.RESTARTING and JobStatus.RUNNING, or a terminal state if JobStatus.RUNNING was not reached.
If the job has not yet reached either of these states, then the time is measured since
reaching JobStatus.RESTARTING. If it is still the initial job execution, then the gauge
will return 0.
public RestartTimeGauge(JobStatusProvider jobStatusProvider)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.