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