Hi, the metrics listed on the web page are registered for all tasks automatically. Thus, you should be able to simply consume them by configuring the respective Prometheus metric reporter. One thing to note is that the metrics are reported per Task and not per logical operator. Thus, if your source is chained with another upstream operator, then you can retrieve the metrics for the chain of these operators.
Cheers, Till On Tue, Feb 13, 2018 at 8:37 PM, cw7k <c...@yahoo.com.invalid> 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?