This is an automated email from the ASF dual-hosted git repository.
hxb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new bbccea04093 [hotfix][python][dcos] Fix the typos in the Metrics Doc
bbccea04093 is described below
commit bbccea04093801d641606d213e87c49c04730bff
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 575810cfc1c..b62042a2a11 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 75a041f1987..5cd19cb58f2 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
```