zcoo commented on code in PR #2080:
URL: https://github.com/apache/fluss/pull/2080#discussion_r2613381688


##########
fluss-server/src/main/java/org/apache/fluss/server/replica/ReplicaManager.java:
##########
@@ -997,8 +1031,8 @@ private Map<TableBucket, PutKvResultForBucket> 
putToLocalKv(
                 tableMetrics.incKvMessageIn(entry.getValue().getRecordCount());
                 tableMetrics.incKvBytesIn(entry.getValue().sizeInBytes());
                 // metric for cdc log of kv
-                tableMetrics.incLogBytesIn(appendInfo.validBytes());
-                tableMetrics.incLogMessageIn(appendInfo.numMessages());
+                tableMetrics.incLogBytesIn(appendInfo.validBytes(), 
userContext);

Review Comment:
   I think so. We'd better collect it for future usage.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to