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

2020-06-04 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated FLINK-18143:
---
Labels: pull-request-available  (was: )

> 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
>  Labels: pull-request-available
> 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)


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

2020-06-04 Thread Hequn Cheng (Jira)


 [ 
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)