gong commented on PR #7085:
URL: https://github.com/apache/inlong/pull/7085#issuecomment-1366483394

   lost dirty data metric init in 
inlong-sort/sort-connectors/starrocks/src/main/java/org/apache/inlong/sort/starrocks/table/sink/StarRocksDynamicSinkFunction.java
   ```java
     MetricOption metricOption = 
MetricOption.builder().withInlongLabels(inlongMetric)
                   .withInlongAudit(auditHostAndPorts)
                   .withInitRecords(metricState != null ? 
metricState.getMetricValue(NUM_RECORDS_OUT) : 0L)
                   .withInitBytes(metricState != null ? 
metricState.getMetricValue(NUM_BYTES_OUT) : 0L)
                   
.withRegisterMetric(MetricOption.RegisteredMetric.ALL).build();
   ```


-- 
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-unsubscr...@inlong.apache.org

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

Reply via email to