public class RestartTimeGauge extends Object implements Gauge<Long>
Restarting time is the time between
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.
|Modifier and Type||Field and Description|
|Constructor and Description|
public static final String METRIC_NAME
public RestartTimeGauge(ExecutionGraph executionGraph)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.