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.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---