Skip to content

Commit e321766

Browse files
authored
Merge pull request #146 from wepay/client-id-metric-typo
Fix WaltzClient metric typo
2 parents f5e8338 + 70f011c commit e321766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

waltz-client/src/main/java/com/wepay/waltz/client/WaltzClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private static WaltzClientDriver getWaltzClientDriver(WaltzClientCallbacks callb
267267

268268
private void registerMetrics() {
269269
REGISTRY.gauge(metricsGroup, "cluster-name", (Gauge<String>) () -> clusterName());
270-
REGISTRY.gauge(metricsGroup, "cluster-id", (Gauge<Integer>) () -> clientId());
270+
REGISTRY.gauge(metricsGroup, "client-id", (Gauge<Integer>) () -> clientId());
271271
REGISTRY.gauge(metricsGroup, "num-active-partitions", (Gauge<Integer>) () -> getPartitions().size());
272272
REGISTRY.gauge(metricsGroup, "active-partition-ids", (Gauge<Set<Integer>>) () -> getPartitions());
273273
}

0 commit comments

Comments
 (0)