Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/2285#discussion_r71898375
--- Diff: docs/apis/metrics.md ---
@@ -229,21 +229,25 @@ or by assigning unique names to jobs and operators.
Metrics can be exposed to an external system by configuring one or several
reporters in `conf/flink-conf.yaml`.
-- `metrics.reporters`: The list of named reporters, i.e. "foo,bar".
+- `metrics.reporters`: The list of named reporters.
- `metrics.reporter.<name>.<config>`: Generic setting `<config>` for the
reporter named `<name>`.
- `metrics.reporter.<name>.class`: The reporter class to use for the
reporter named `<name>`.
- `metrics.reporter.<name>.interval`: The reporter interval to use for the
reporter named `<name>`.
-All reporters must at least have the `class` config, some allow specifying
a reporting `interval`. Below,
+All reporters must at least have the `class` property, some allow
specifying a reporting `interval`. Below,
we will list more settings specific to each reporter.
-Example reporter configuration for using the built-in JMX reporter:
+Example reporter configuration that specifies multiple reporters:
```
-metrics.reporters: my_jmx_reporter
+metrics.reporters: my_jmx_reporter,my_other_reporter
metrics.reporter.my_jmx_reporter.class:
org.apache.flink.metrics.reporter.JMXReporter
-metrics.reporter.my_jmx_reporter.port: 9020-940
+metrics.reporter.my_jmx_reporter.port: 9020-9040
+
+metrics.reporter.my_jmx_reporter.class:
org.apache.flink.metrics.graphite.GraphiteReporter
--- End diff --
should be named my_other_reporter
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---