Skip to content

Commit

Permalink
serviceName字段去除""
Browse files Browse the repository at this point in the history
  • Loading branch information
guozongkang committed Nov 12, 2023
1 parent 0ac2cc9 commit de60b8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private void failoverServiceCntMetrics(Map<String, ServiceInfo> failoverMap) {
String serviceName = entry.getKey();
Gauge register = Gauge.builder("nacos_naming_client_failover_instances",
((ServiceInfo) failoverMap.get(serviceName)).ipCount(), Integer::intValue)
.tag("service_name", "serviceName").description("Nacos failover data service count")
.tag("service_name", serviceName).description("Nacos failover data service count")
.register(Metrics.globalRegistry);
meterMap.put(serviceName, register);
}
Expand Down

0 comments on commit de60b8a

Please sign in to comment.