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

haonan pushed a commit to branch rel/0.13
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.13 by this push:
     new 494577e518 [To rel/0.13][IOTDB-4342] Fix iotdb reporter in metric 
module (#7241)
494577e518 is described below

commit 494577e5186de1f2f1b8ae7dff7ed7daeeb17cfe
Author: ZhangHongYin <[email protected]>
AuthorDate: Tue Sep 6 13:55:02 2022 +0800

    [To rel/0.13][IOTDB-4342] Fix iotdb reporter in metric module (#7241)
---
 .../org/apache/iotdb/metrics/utils/IoTDBMetricsUtils.java    | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/IoTDBMetricsUtils.java
 
b/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/IoTDBMetricsUtils.java
index 6bae939138..2a0812a6ce 100644
--- 
a/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/IoTDBMetricsUtils.java
+++ 
b/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/IoTDBMetricsUtils.java
@@ -42,23 +42,23 @@ public class IoTDBMetricsUtils {
     StringBuilder stringBuilder = new StringBuilder();
     stringBuilder
         .append(STORAGE_GROUP)
-        .append(".`")
+        .append(".\"")
         .append(metricConfig.getRpcAddress())
         .append(":")
         .append(metricConfig.getRpcPort())
-        .append("`")
+        .append("\"")
         .append(".")
-        .append("`")
+        .append("\"")
         .append(name)
-        .append("`");
+        .append("\"");
     for (Map.Entry<String, String> entry : labels.entrySet()) {
       stringBuilder
           .append(".")
-          .append("`")
+          .append("\"")
           .append(entry.getKey())
           .append("=")
           .append(entry.getValue())
-          .append("`");
+          .append("\"");
     }
     return stringBuilder.toString();
   }

Reply via email to