[ https://issues.apache.org/jira/browse/FLINK-3950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436633#comment-15436633 ]
ASF GitHub Bot commented on FLINK-3950: --------------------------------------- Github user mushketyk commented on a diff in the pull request: https://github.com/apache/flink/pull/2374#discussion_r76217714 --- Diff: docs/apis/metrics.md --- @@ -157,6 +157,55 @@ public class MyMapper extends RichMapFunction<Long, Integer> { } {% endhighlight %} +#### Meter + +A `Meter` measures an average throughput. An occurrence of an event can be registered with the `markEvent()` method. Occurrence of multiple events at the same time can be registered with `markEvent(long n)` method. --- End diff -- Cool. I like `markEvent` more too :) Less need to go to JavaDoc to decipher what it does. > Add Meter Metric Type > --------------------- > > Key: FLINK-3950 > URL: https://issues.apache.org/jira/browse/FLINK-3950 > Project: Flink > Issue Type: Sub-task > Components: Core > Reporter: Stephan Ewen > Assignee: Ivan Mushketyk > -- This message was sent by Atlassian JIRA (v6.3.4#6332)