Hi Community, Need some information regarding metrics type mentioned in flink documentation. https://ci.apache.org/projects/flink/flink-docs-stable/ops/metrics.html For the checkpoint metrics, below metrics are defined as of type gauge. As per my understanding gauge type is used to represent a value which can increase/decrease whereas counter is used to represent a value which will
keep increasing. Below metrics will be keep increasing during the job run. Hence counter can be appropriate metric type for these. Please share your input on this.
Also “isBackPressured" metric by the name it indicates as it returns boolean value Yes/No. Flink documentation says backpressure is measured as below,
What exactly this metric reports ?
Thanks, Suchithra |
Hi Suchithra, You are right, those metrics can only grow, at least until failover. isBackPressured is reported as a boolean on subtask level. These samples are then aggregated and a ratio of (times-back-pressured / number-of-samples) is reported to the JobManager. Regards,
Roman On Fri, Apr 9, 2021 at 12:44 PM V N, Suchithra (Nokia - IN/Bangalore) <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |