Github user wuchong commented on a diff in the pull request:
https://github.com/apache/flink/pull/2374#discussion_r76012984
--- 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 --
Is `markEvent` a bit too long ? Maybe we can use `mark` instead. I find
Counter and Histogram follow dropwizard's function name.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---