Skip to content

Commit b48de61

Browse files
committed
Merge pull request #566 from nurkiewicz/group-name-cadahale-metrics
Hard-coded group name when publishing CodaHale metrics fixed
2 parents 8a3c7f0 + ed964b8 commit b48de61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hystrix-contrib/hystrix-codahale-metrics-publisher/src/main/java/com/netflix/hystrix/contrib/codahalemetricspublisher/HystrixCodaHaleMetricsPublisherCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public HystrixCodaHaleMetricsPublisherCommand(HystrixCommandKey commandKey, Hyst
4343
this.circuitBreaker = circuitBreaker;
4444
this.properties = properties;
4545
this.metricRegistry = metricRegistry;
46-
this.metricGroup = "HystrixCommand";
46+
this.metricGroup = commandGroupKey.name();
4747
this.metricType = key.name();
4848
}
4949

0 commit comments

Comments
 (0)