This is an automated email from the ASF dual-hosted git repository.

hxb pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.15 by this push:
     new 718bd1ec40d [hotfix][python][dcos] Fix the typos in the Metrics Doc
718bd1ec40d is described below

commit 718bd1ec40d8b2a340e732aaf60ce08272d442a1
Author: huangxingbo <[email protected]>
AuthorDate: Fri Aug 12 12:06:02 2022 +0800

    [hotfix][python][dcos] Fix the typos in the Metrics Doc
---
 docs/content.zh/docs/ops/metrics.md | 2 +-
 docs/content/docs/ops/metrics.md    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/content.zh/docs/ops/metrics.md 
b/docs/content.zh/docs/ops/metrics.md
index e13d83056c4..b0c871300e1 100644
--- a/docs/content.zh/docs/ops/metrics.md
+++ b/docs/content.zh/docs/ops/metrics.md
@@ -414,7 +414,7 @@ class MyMapperMeter(MapFunction):
             .meter("my_meter", time_span_in_seconds=120)
 
     def map(self, value: str):
-        self.meter.markEvent()
+        self.meter.mark_event()
         return value
 
 ```
diff --git a/docs/content/docs/ops/metrics.md b/docs/content/docs/ops/metrics.md
index 9ef43ec1707..2146a0b8f3c 100644
--- a/docs/content/docs/ops/metrics.md
+++ b/docs/content/docs/ops/metrics.md
@@ -414,7 +414,7 @@ class MyMapperMeter(MapFunction):
             .meter("my_meter", time_span_in_seconds=120)
 
     def map(self, value: str):
-        self.meter.markEvent()
+        self.meter.mark_event()
         return value
 
 ```

Reply via email to