Configuring multiple reportes for Apache Flink

Having multiple reporters configured for Apache Flink can be really great. You
can send some reports to JMX and graphite.

It’s a really powerful feature and it’s quite easily configured

In your flink-conf.yml you can have this:

metrics.reporters: jmx,graphite

metrics.reporter.jmx.class: org.apache.flink.metrics.jmx.JMXReporter
metrics.reporter.jmx.port: 9020-9040

metrics.reporter.graphite.class: org.apache.flink.metrics.graphite.GraphiteReporter
metrics.reporter.graphite.host: 192.168.1.1
metrics.reporter.graphite.port: 10000

In order for both of these to work you will need to download the jar files and
put them in the lib folder