From 028fc3d9029e24c9360e5e8b7d6aa74215d3eabd Mon Sep 17 00:00:00 2001 From: Fredrik Kjellberg Date: Mon, 10 Dec 2012 21:57:09 +0100 Subject: [PATCH] Fix the wrong percentile for latencyExecute_percentile_75 in the Servo publisher --- .../servopublisher/HystrixServoMetricsPublisherCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hystrix-contrib/hystrix-servo-metrics-publisher/src/main/java/com/netflix/hystrix/contrib/servopublisher/HystrixServoMetricsPublisherCommand.java b/hystrix-contrib/hystrix-servo-metrics-publisher/src/main/java/com/netflix/hystrix/contrib/servopublisher/HystrixServoMetricsPublisherCommand.java index 7fe95cb3d..51760f54f 100644 --- a/hystrix-contrib/hystrix-servo-metrics-publisher/src/main/java/com/netflix/hystrix/contrib/servopublisher/HystrixServoMetricsPublisherCommand.java +++ b/hystrix-contrib/hystrix-servo-metrics-publisher/src/main/java/com/netflix/hystrix/contrib/servopublisher/HystrixServoMetricsPublisherCommand.java @@ -205,7 +205,7 @@ public Number getValue() { monitors.add(new GaugeMetric(MonitorConfig.builder("latencyExecute_percentile_75").build()) { @Override public Number getValue() { - return metrics.getExecutionTimePercentile(90); + return metrics.getExecutionTimePercentile(75); } }); monitors.add(new GaugeMetric(MonitorConfig.builder("latencyExecute_percentile_90").build()) {