flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject flink git commit: [FLINK-5340] Document job uptime/downtime/restartTime/fullRestarts metrics
Date Thu, 01 Jun 2017 12:15:55 GMT
Repository: flink
Updated Branches:
  refs/heads/master 713e72187 -> b9bdef434


[FLINK-5340] Document job uptime/downtime/restartTime/fullRestarts metrics

This closes #3908.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/b9bdef43
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/b9bdef43
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/b9bdef43

Branch: refs/heads/master
Commit: b9bdef434e7c0dadd979b6d9e74fbda16ebde6a0
Parents: 713e721
Author: zentol <chesnay@apache.org>
Authored: Mon May 15 14:54:53 2017 +0200
Committer: zentol <chesnay@apache.org>
Committed: Thu Jun 1 14:15:22 2017 +0200

----------------------------------------------------------------------
 docs/monitoring/metrics.md | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/b9bdef43/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>


Mime
View raw message