Skip to content

Commit 690e9c6

Browse files
Copilotrsevilla87vishnuchalla
authored
Use irate instead of rate for schedulerThroughput metric (#410)
* Initial plan * Update schedulerThroughput metric to use irate instead of rate Co-authored-by: rsevilla87 <4614641+rsevilla87@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rsevilla87 <4614641+rsevilla87@users.noreply.github.com> Co-authored-by: Raúl Sevilla <rsevilla@redhat.com> Co-authored-by: vishnuchalla <28471457+vishnuchalla@users.noreply.github.com>
1 parent ba7585b commit 690e9c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/config/metrics-profiles/metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
# Scheduler
101101

102102
# Scheduler Throughput: Successful pod placements per second
103-
- query: sum(rate(scheduler_schedule_attempts_total{result="scheduled"}[2m]))
103+
- query: sum(irate(scheduler_schedule_attempts_total{result="scheduled"}[2m]))
104104
metricName: schedulerThroughput
105105

106106
# Scheduler P99 Latency: Time taken for the end-to-end scheduling algorithm..

0 commit comments

Comments
 (0)