Repository: flink Updated Branches: refs/heads/release-1.3 8b213f578 -> 90d0d9114
[FLINK-5340] Document job uptime/downtime/restartTime/fullRestarts metrics Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/90d0d911 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/90d0d911 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/90d0d911 Branch: refs/heads/release-1.3 Commit: 90d0d9114272272609cb8545873758481a25c8d1 Parents: 8b213f5 Author: zentol <[email protected]> Authored: Mon May 15 14:54:53 2017 +0200 Committer: zentol <[email protected]> Committed: Thu Jun 1 14:11:04 2017 +0200 ---------------------------------------------------------------------- docs/monitoring/metrics.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/90d0d911/docs/monitoring/metrics.md ---------------------------------------------------------------------- diff --git a/docs/monitoring/metrics.md b/docs/monitoring/metrics.md index 2bc65a6..fc7b595 100644 --- a/docs/monitoring/metrics.md +++ b/docs/monitoring/metrics.md @@ -732,6 +732,42 @@ Thus, in order to infer the metric identifier: </tbody> </table> +#### Availability: +<table class="table table-bordered"> + <thead> + <tr> + <th class="text-left" style="width: 20%">Scope</th> + <th class="text-left" style="width: 30%">Metrics</th> + <th class="text-left" style="width: 50%">Description</th> + </tr> + </thead> + <tbody> + <tr> + <th rowspan="4"><strong>Job (only available on JobManager)</strong></th> + <td>restartingTime</td> + <td>The time it took to restart the job, or how long the current restart has been in progress.</td> + </tr> + <tr> + <td>uptime</td> + <td> + The time that the job has been running without interruption. + <p>Returns -1 for completed jobs.</p> + </td> + </tr> + <tr> + <td>downtime</td> + <td> + For jobs currently in a failing/recovering situation, the time elapsed during this outage. + <p>Returns 0 for running jobs and -1 for completed jobs.</p> + </td> + </tr> + <tr> + <td>fullRestarts</td> + <td>The total number of full restarts since this job was submitted.</td> + </tr> + </tbody> +</table> + #### Checkpointing: <table class="table table-bordered"> <thead>
