You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Hequn Cheng (Jira)" <ji...@apache.org> on 2020/06/05 05:15:00 UTC

[jira] [Updated] (FLINK-18143) Fix Python meter metric not correct problem

     [ https://issues.apache.org/jira/browse/FLINK-18143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hequn Cheng updated FLINK-18143:
--------------------------------
    Description: We should report the diff value instead of the total ones. Code `meter.markEvent(update);` in `FlinkMetricContainer` should be changed to `meter.markEvent(update - meter.getCount());`

> Fix Python meter metric not correct problem
> -------------------------------------------
>
>                 Key: FLINK-18143
>                 URL: https://issues.apache.org/jira/browse/FLINK-18143
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>    Affects Versions: 1.11.0
>            Reporter: Hequn Cheng
>            Assignee: Hequn Cheng
>            Priority: Major
>             Fix For: 1.11.0
>
>
> We should report the diff value instead of the total ones. Code `meter.markEvent(update);` in `FlinkMetricContainer` should be changed to `meter.markEvent(update - meter.getCount());`



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