You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/07/04 05:21:03 UTC
[rocketmq-clients] branch cpp updated: Fix typo
This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch cpp
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
The following commit(s) were added to refs/heads/cpp by this push:
new 828fd30 Fix typo
828fd30 is described below
commit 828fd30c3aa7094da304a5483b6522300f822785
Author: Li Zhanhui <li...@gmail.com>
AuthorDate: Mon Jul 4 13:20:55 2022 +0800
Fix typo
---
cpp/src/main/cpp/stats/PublishStats.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/src/main/cpp/stats/PublishStats.cpp b/cpp/src/main/cpp/stats/PublishStats.cpp
index 37ce613..a012515 100644
--- a/cpp/src/main/cpp/stats/PublishStats.cpp
+++ b/cpp/src/main/cpp/stats/PublishStats.cpp
@@ -22,7 +22,7 @@ ROCKETMQ_NAMESPACE_BEGIN
PublishStats::PublishStats()
: success_(opencensus::stats::MeasureInt64::Register("publish_success", "Number of message published", "1")),
- failure_(opencensus::stats::MeasureInt64::Register("pubish_failure", "Number of publish failures", "1")),
+ failure_(opencensus::stats::MeasureInt64::Register("publish_failure", "Number of publish failures", "1")),
latency_(opencensus::stats::MeasureInt64::Register("publish_latency", "Publish latency in milliseconds", "ms")) {
opencensus::stats::ViewDescriptor()
.set_name("rocketmq_send_success_total")