GitHub user Aitozi opened a pull request:

    https://github.com/apache/flink/pull/4665

    [Flink-7611]add metrics to measure the num of data dropped due to the data 
arrived late

    ## What is the purpose of the change
    
    1. add metrics to measure the num of data dropped due to the data arrived 
late,this is meanningful when to guide the user to set the suitable 
allowLatency or MaxOutOfOrder time
    
    
    ## Brief change log
    
      -  register counter metrics in windowOperator#open()
      - invoke inc() method, when judged the isWindowLate()
    
    ## Verifying this change
    
    This change is already covered by existing tests by `mvn clean verify`.
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (no)
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Aitozi/flink FLINK-7611

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4665.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4665
    
----
commit 35b684ce1f3b72018ced26af07808390dff68547
Author: minwenjun <minwen...@didichuxing.com>
Date:   2017-09-12T04:26:08Z

    add metrics to measure the data dropped due to arrive late

commit aabdc224cb62b29975834e11c1374d182c4d4d01
Author: minwenjun <minwen...@didichuxing.com>
Date:   2017-09-12T05:58:07Z

    adjust format

----


---

Reply via email to