[ 
https://issues.apache.org/jira/browse/FLINK-14815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981266#comment-16981266
 ] 

lining commented on FLINK-14815:
--------------------------------

To show the maximum value because the backpressure is consistent. If the range 
of max is [0, 0.5], it can be displayed in green, telling the user that it is 
healthy. But the new backpressure metric can do it. From the perspective of 
vertex, the overall situation of user concern. So the average is made sense.

> Expose network pool usage in IOMetricsInfo
> ------------------------------------------
>
>                 Key: FLINK-14815
>                 URL: https://issues.apache.org/jira/browse/FLINK-14815
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Metrics, Runtime / Network, Runtime / REST
>            Reporter: lining
>            Assignee: lining
>            Priority: Major
>
> * If sub task is not back pressured, but it is causing a back pressure (full 
> input, empty output)
>  * By comparing exclusive/floating buffers usage, whether all channels are 
> back-pressured or only some of them
> {code:java}
> public final class IOMetricsInfo {
>     private final float outPoolUsage;
>     private final float inputExclusiveBuffersUsage;
>     private final float inputFloatingBuffersUsage;
> }
> {code}
> JobDetailsInfo.JobVertexDetailsInfo merge use Math.max.(ps: outPoolUsage is 
> from upstream)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to