GitHub user casidiablo opened a pull request:

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

    [FLINK-8162] [kinesis-connector] Emit Kinesis' millisBehindLatest metric

    ## What is the purpose of the change
    
    - Emits [Kinesis' 
millisBehindLatest](http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetRecords.html)
 metric, which can be used to detect delays in the pipeline
    
    ## Brief change log
    
      - Publish `millisBehindLatest` as a gauge metric under the `Kinesis` 
group using `<shard_id>` as parameter
      - Updated metrics documentation
    
    
    ## Verifying this change
    
    This change is already covered by existing tests, such as 
`ShardConsumerTest`.
    
    
    ## 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
      - The S3 file system connector: no
    
    ## Documentation
    
      - Does this pull request introduce a new feature? yes
      - If yes, how is the feature documented? `metrics.md` file


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

    $ git pull https://github.com/casidiablo/flink kinesis-fork

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

    https://github.com/apache/flink/pull/5182.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 #5182
    
----
commit bc8426ec3be364323d65cedcc1c1c5cb4e442c8b
Author: Cristian <m...@cristian.io>
Date:   2017-12-19T15:14:22Z

    Emit Kinesis' millisBehindLatest metric

----


---

Reply via email to