diff --git a/metrics/seata-metrics-registry-compact/src/main/java/org/apache/seata/metrics/registry/compact/SummaryValue.java b/metrics/seata-metrics-registry-compact/src/main/java/org/apache/seata/metrics/registry/compact/SummaryValue.java index e09085edf94..5af273e3ce6 100644 --- a/metrics/seata-metrics-registry-compact/src/main/java/org/apache/seata/metrics/registry/compact/SummaryValue.java +++ b/metrics/seata-metrics-registry-compact/src/main/java/org/apache/seata/metrics/registry/compact/SummaryValue.java @@ -41,6 +41,8 @@ public double getTps(double currentMilliseconds) { System.out .println("currentMilliseconds: " + currentMilliseconds + " , startMilliseconds: " + startMilliseconds); if (currentMilliseconds <= startMilliseconds) { + System.out + .println("getTps: 0"); return 0; } System.out