Hi Manish,

Currently, Flink's metric system does not support metrics via annotations.
You need to go with the documented approach.
But of course, you can try to build your own metrics abstraction based on
Flink's metric system.

On Fri, Jul 3, 2020 at 9:35 AM Manish G <manish.c.ghildi...@gmail.com>
wrote:

> Hi,
>
> I am following this
> <https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/metrics.html>
>  link
> on how to integrate prometheus with flink.
> Going by the code sample,  I would need to insert related metrics code in
> the main logic.
>
> Is it avoidable, like by using some annotations on methods?
>
> Manish
>

Reply via email to