Skip to content

Commit

Permalink
[FLINK-10998][metrics][ganglia] Remove Ganglia reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Nov 27, 2018
1 parent cd09fbf commit d6f15e0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 217 deletions.
28 changes: 0 additions & 28 deletions docs/monitoring/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -622,34 +622,6 @@ 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)

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:

- `host` - the gmond host address configured under `udp_recv_channel.bind` in `gmond.conf`
- `port` - the gmond port configured under `udp_recv_channel.port` in `gmond.conf`
- `tmax` - soft limit for how long an old metric should be retained
- `dmax` - hard limit for how long an old metric should be retained
- `ttl` - time-to-live for transmitted UDP packets
- `addressingMode` - UDP addressing mode to use (UNICAST/MULTICAST)

Example configuration:

{% highlight yaml %}

metrics.reporter.gang.class: org.apache.flink.metrics.ganglia.GangliaReporter
metrics.reporter.gang.host: localhost
metrics.reporter.gang.port: 8649
metrics.reporter.gang.tmax: 60
metrics.reporter.gang.dmax: 0
metrics.reporter.gang.ttl: 1
metrics.reporter.gang.addressingMode: MULTICAST

{% endhighlight %}

### Graphite (org.apache.flink.metrics.graphite.GraphiteReporter)

In order to use this reporter you must copy `/opt/flink-metrics-graphite-{{site.version}}.jar` into the `/lib` folder
Expand Down
7 changes: 0 additions & 7 deletions flink-dist/src/main/assemblies/opt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,6 @@
<fileMode>0644</fileMode>
</file>

<file>
<source>../flink-metrics/flink-metrics-ganglia/target/flink-metrics-ganglia-${project.version}-jar-with-dependencies.jar</source>
<outputDirectory>opt/</outputDirectory>
<destName>flink-metrics-ganglia-${project.version}.jar</destName>
<fileMode>0644</fileMode>
</file>

<file>
<source>../flink-metrics/flink-metrics-graphite/target/flink-metrics-graphite-${project.version}-jar-with-dependencies.jar</source>
<outputDirectory>opt/</outputDirectory>
Expand Down
97 changes: 0 additions & 97 deletions flink-metrics/flink-metrics-ganglia/pom.xml

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion flink-metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ under the License.
<modules>
<module>flink-metrics-core</module>
<module>flink-metrics-dropwizard</module>
<module>flink-metrics-ganglia</module>
<module>flink-metrics-graphite</module>
<module>flink-metrics-jmx</module>
<module>flink-metrics-prometheus</module>
Expand Down

0 comments on commit d6f15e0

Please sign in to comment.