You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2016/08/19 14:36:17 UTC
flink git commit: [FLINK-4402] Changed the documentation for the
metrics in the System Scope Section
Repository: flink
Updated Branches:
refs/heads/master b7ae3e533 -> 3be9a2851
[FLINK-4402] Changed the documentation for the metrics in the System Scope Section
This closes #2382
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/3be9a285
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/3be9a285
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/3be9a285
Branch: refs/heads/master
Commit: 3be9a2851ba616dba60b9b8d74f499b7db02debf
Parents: b7ae3e5
Author: Neelesh Srinivas Salian <ns...@cloudera.com>
Authored: Wed Aug 17 13:30:06 2016 -0500
Committer: Robert Metzger <rm...@apache.org>
Committed: Fri Aug 19 16:35:33 2016 +0200
----------------------------------------------------------------------
docs/apis/metrics.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/3be9a285/docs/apis/metrics.md
----------------------------------------------------------------------
diff --git a/docs/apis/metrics.md b/docs/apis/metrics.md
index 3e32ebd..1cc7a29 100644
--- a/docs/apis/metrics.md
+++ b/docs/apis/metrics.md
@@ -196,10 +196,10 @@ Each of these keys expect a format string that may contain constants (e.g. "task
- `metrics.scope.tm.job`
- Default: <host>.taskmanager.<tm_id>.<job_name>
- Applied to all metrics that were scoped to a task manager and job.
-- `metrics.scope.tm.task`
+- `metrics.scope.task`
- Default: <host>.taskmanager.<tm_id>.<job_name>.<task_name>.<subtask_index>
- Applied to all metrics that were scoped to a task.
-- `metrics.scope.tm.operator`
+- `metrics.scope.operator`
- Default: <host>.taskmanager.<tm_id>.<job_name>.<operator_name>.<subtask_index>
- Applied to all metrics that were scoped to an operator.
@@ -209,7 +209,7 @@ The default scope for operator metrics will result in an identifier akin to `loc
If you also want to include the task name but omit the task manager information you can specify the following format:
-`metrics.scope.tm.operator: <host>.<job_name>.<task_name>.<operator_name>.<subtask_index>`
+`metrics.scope.operator: <host>.<job_name>.<task_name>.<operator_name>.<subtask_index>`
This could create the identifier `localhost.MyJob.MySource_->_MyOperator.MyOperator.0.MyMetric`.