Skip to content

Commit fc42cf7

Browse files
MatrixHBhuitong
andauthored
fix metrics (#113)
Co-authored-by: huitong <yibin.xyb@alibaba-inc.com>
1 parent 290bcdb commit fc42cf7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
<plugin>
7777
<groupId>org.springframework.boot</groupId>
7878
<artifactId>spring-boot-maven-plugin</artifactId>
79+
<configuration>
80+
<classifier>exec</classifier>
81+
</configuration>
7982
</plugin>
8083
<plugin>
8184
<artifactId>maven-checkstyle-plugin</artifactId>

src/main/java/org/apache/rocketmq/exporter/model/BrokerRuntimeStats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public BrokerRuntimeStats(KVTable kvTable) {
8888

8989
loadTps(this.putTps, kvTable.getTable().get("putTps"));
9090
loadTps(this.getMissTps, kvTable.getTable().get("getMissTps"));
91-
loadTps(this.getTransferedTps, kvTable.getTable().get("getTransferedTps"));
91+
loadTps(this.getTransferedTps, kvTable.getTable().get("getTransferredTps"));
9292
loadTps(this.getTotalTps, kvTable.getTable().get("getTotalTps"));
9393
loadTps(this.getFoundTps, kvTable.getTable().get("getFoundTps"));
9494

0 commit comments

Comments
 (0)