Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DD5B6200C15 for ; Tue, 24 Jan 2017 10:56:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DBF14160B3D; Tue, 24 Jan 2017 09:56:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3519A160B5C for ; Tue, 24 Jan 2017 10:56:04 +0100 (CET) Received: (qmail 49176 invoked by uid 500); 24 Jan 2017 09:56:03 -0000 Mailing-List: contact commits-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list commits@flink.apache.org Received: (qmail 49002 invoked by uid 99); 24 Jan 2017 09:56:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2017 09:56:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 137BEDFCBC; Tue, 24 Jan 2017 09:56:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: uce@apache.org To: commits@flink.apache.org Date: Tue, 24 Jan 2017 09:56:07 -0000 Message-Id: In-Reply-To: <7c93f2a805b844ceaf98e5cf7fd8d13c@git.apache.org> References: <7c93f2a805b844ceaf98e5cf7fd8d13c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [5/5] flink git commit: [FLINK-4396] [docs] Document /opt reporter jars archived-at: Tue, 24 Jan 2017 09:56:05 -0000 [FLINK-4396] [docs] Document /opt reporter jars Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/7296d6bd Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/7296d6bd Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/7296d6bd Branch: refs/heads/release-1.2 Commit: 7296d6bdfa2a62fbebf097f5217746724bcfcf34 Parents: db16040 Author: zentol Authored: Wed Jan 11 15:09:26 2017 +0100 Committer: Ufuk Celebi Committed: Tue Jan 24 10:55:50 2017 +0100 ---------------------------------------------------------------------- docs/monitoring/metrics.md | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/7296d6bd/docs/monitoring/metrics.md ---------------------------------------------------------------------- diff --git a/docs/monitoring/metrics.md b/docs/monitoring/metrics.md index 6dbc705..c3bf18e 100644 --- a/docs/monitoring/metrics.md +++ b/docs/monitoring/metrics.md @@ -300,6 +300,8 @@ metrics.reporter.my_other_reporter.port: 10000 ``` +**Important:** The jar containing the reporter must be accessible when Flink is started by placing it in the /lib folder. + You can write your own `Reporter` by implementing the `org.apache.flink.metrics.reporter.MetricReporter` interface. If the Reporter should send out reports regularly you have to implement the `Scheduled` interface as well. @@ -340,14 +342,9 @@ An example for such a list would be `host=localhost,job_name=MyJob,task_name=MyT The domain thus identifies a metric class, while the key-property list identifies one (or multiple) instances of that metric. ### Ganglia (org.apache.flink.metrics.ganglia.GangliaReporter) -Dependency: -{% highlight xml %} - - org.apache.flink - flink-metrics-ganglia - {{site.version}} - -{% endhighlight %} + +In order to use this reporter you must copy `/opt/flink-metrics-ganglia-{{site.version}}.jar` into the `/lib` folder +of your Flink distribution. Parameters: @@ -374,14 +371,9 @@ metrics.reporter.gang.addressingMode: MULTICAST {% endhighlight %} ### Graphite (org.apache.flink.metrics.graphite.GraphiteReporter) -Dependency: -{% highlight xml %} - - org.apache.flink - flink-metrics-graphite - {{site.version}} - -{% endhighlight %} + +In order to use this reporter you must copy `/opt/flink-metrics-graphite-{{site.version}}.jar` into the `/lib` folder +of your Flink distribution. Parameters: @@ -402,14 +394,9 @@ metrics.reporter.grph.protocol: TCP {% endhighlight %} ### StatsD (org.apache.flink.metrics.statsd.StatsDReporter) -Dependency: -{% highlight xml %} - - org.apache.flink - flink-metrics-statsd - {{site.version}} - -{% endhighlight %} + +In order to use this reporter you must copy `/opt/flink-metrics-statsd-{{site.version}}.jar` into the `/lib` folder +of your Flink distribution. Parameters: