Github user wuchong commented on a diff in the pull request: https://github.com/apache/flink/pull/2374#discussion_r76011481 --- 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. +You can register a meter by calling `meter(String name, Meter histogram)` on a `MetricGroup`. --- End diff -- Meter histogram -> Meter meter ?
--- 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. ---