Github user yew1eb commented on a diff in the pull request:
https://github.com/apache/flink/pull/5071#discussion_r154031899
--- Diff: docs/monitoring/metrics.md ---
@@ -94,8 +94,8 @@ Alternatively you can also use your own `Counter`
implementation:
<div data-lang="java" markdown="1">
{% highlight java %}
-public class MyMapper extends RichMapFunction<String, String> {
- private Counter counter;
+RichMapFunction<String, String> {
--- End diff --
Now this PR has been updated, please look at it again.
---