You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/11/21 18:03:57 UTC

[GitHub] [inlong] chestnut-c commented on a diff in pull request #6585: [INLONG-6584][Sort] Add read phase metric and table level metric for MySQL

chestnut-c commented on code in PR #6585:
URL: https://github.com/apache/inlong/pull/6585#discussion_r1028374393


##########
inlong-sort/sort-connectors/base/src/main/java/org/apache/inlong/sort/base/Constants.java:
##########
@@ -73,11 +76,44 @@ public final class Constants {
      * Node id used in inlong metric
      */
     public static final String NODE_ID = "nodeId";
+    /**
+     * Database Name used in inlong metric
+     */
+    public static final String DATABASE_NAME = "database";
+    /**
+     * Table Name used in inlong metric
+     */
+    public static final String TABLE_NAME = "table";
+    /**
+     * Schema Name used in inlong metric
+     */
+    public static final String SCHEMA_NAME = "schema";
+
     /**
      * It is used for inlong.metric
      */
     public static final String DELIMITER = "&";
 
+    /**
+     * It is used for inlong.metric
+     */
+    public static final String SEMICOLON = ".";
+
+    /**
+     * It is used for inlong.metric
+     */
+    public static final String SPILT_SEMICOLON = "\\.";
+
+    /**
+     * It is used for inlong.metric
+     */
+    public static final Long SNAPSHOT_PHASE = 1L;
+
+    /**
+     * It is used for inlong.metric
+     */
+    public static final Long INCREASE_PHASE = 2L;
+

Review Comment:
   okay i will fix it ,thx!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org