All metrics listed are automatically measured, you only need to configure the Prometheus reporter.

Note that we do not measure how much data a source is reading / a sink is writing (see FLINK-7286 <https://issues.apache.org/jira/browse/FLINK-7286>). If you want to measure these you will have to modify the source code of the respective source/sink classes, like the BucketingSink. Do make sure that your custom metrics have different names than the built-in ones
as otherwise the will be ignored.

On 13.02.2018 20:37, cw7k wrote:
Hi, couple questions on IO metrics listed 
here:https://ci.apache.org/projects/flink/flink-docs-release-1.4/monitoring/metrics.html#io

We're trying to get metrics such as throughput to filesystem sinks.  Are the 
metrics listed on that page automatically recorded, and we just need to 
retrieve them?  If so, would BucketingSink be the place to add metrics to be 
visible in Prometheus?


Reply via email to