Skip to content

Commit

Permalink
[router] Replace unhealthy/tardy requests metrics from percentile to …
Browse files Browse the repository at this point in the history
…regular bucket (#1294)

[router] Replace unhealthy/tardy requests metrics from percentile to regular

We do not need to detailed percentile metrics of the negative events in route.
  • Loading branch information
majisourav99 authored Nov 13, 2024
1 parent 78de20c commit 61cb342
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,9 @@ public RouterHttpRequestStats(
latencySensor = registerSensorWithDetailedPercentiles("latency", new Avg(), new Max(0));
healthyRequestLatencySensor =
registerSensorWithDetailedPercentiles("healthy_request_latency", new Avg(), new Max(0));
unhealthyRequestLatencySensor =
registerSensorWithDetailedPercentiles("unhealthy_request_latency", new Avg(), new Max(0));
tardyRequestLatencySensor = registerSensorWithDetailedPercentiles("tardy_request_latency", new Avg(), new Max(0));
throttledRequestLatencySensor =
registerSensorWithDetailedPercentiles("throttled_request_latency", new Avg(), new Max(0));
unhealthyRequestLatencySensor = registerSensor("unhealthy_request_latency", new Avg(), new Max(0));
tardyRequestLatencySensor = registerSensor("tardy_request_latency", new Avg(), new Max(0));
throttledRequestLatencySensor = registerSensor("throttled_request_latency", new Avg(), new Max(0));
routerResponseWaitingTimeSensor = registerSensor(
"response_waiting_time",
TehutiUtils.getPercentileStat(getName(), getFullMetricName("response_waiting_time")));
Expand Down

0 comments on commit 61cb342

Please sign in to comment.