Patrick Ohly
78b8af9fed
scheduler_perf: update throughputCollector
...
The previous solution had some shortcomings:
- It was based on the assumption that the goroutine gets woken up at regular
intervals. This is not actually guaranteed. Now the code keeps track of the
actual start and end of an interval and verifies that assumption.
- If no pod was scheduled (unlikely, but could happen), then
"0 pods/s" got recorded. In such a case, the metric was always either
zero or >= 1. A better solution is to extend the interval
until some pod gets scheduled. With the larger time interval
it is then possible to also track, for example, 0.5 pods/s.
2023-04-26 08:11:50 +02:00
..
2022-06-14 13:55:31 +02:00
2023-03-22 11:29:33 -07:00
2023-03-08 15:42:33 -08:00
2023-03-06 12:08:53 -05:00
2022-02-03 05:32:12 +08:00
2022-10-18 18:57:00 -07:00
2023-04-11 15:34:57 -07:00
2023-03-07 15:50:01 +08:00
2023-03-15 20:19:48 -07:00
2022-05-26 17:19:36 +02:00
2023-03-28 22:36:41 -07:00
2023-03-08 17:26:47 +01:00
2023-04-04 19:21:15 +02:00
2022-05-28 21:14:09 +02:00
2023-03-13 19:00:44 +08:00
2022-11-09 09:02:40 +01:00
2022-04-06 12:34:49 -04:00
2022-10-14 15:53:49 +00:00
2023-01-18 03:12:34 -08:00
2022-12-10 11:44:10 +00:00
2023-04-12 08:46:16 -07:00
2023-03-13 13:31:07 +01:00
2023-03-17 22:18:07 +01:00
2022-11-02 15:24:14 -07:00
2023-04-11 21:18:12 -07:00
2023-03-08 08:37:56 -05:00
2023-03-07 15:50:01 +08:00
2023-04-09 01:47:42 +09:00
2022-05-23 11:50:29 +02:00
2023-03-07 16:04:32 +01:00
2022-05-26 16:20:56 +02:00
2023-04-14 08:05:53 +08:00
2023-01-25 20:32:40 +00:00
2023-03-07 18:14:18 +00:00
2022-05-05 20:12:50 +00:00
2021-03-31 15:50:18 +08:00
2023-01-13 18:28:44 +01:00
2023-03-10 18:30:09 +00:00
2022-03-29 13:39:48 -04:00
2023-02-14 07:19:31 -08:00
2023-03-07 04:19:51 -08:00
2022-07-15 20:22:37 +08:00
2022-02-03 05:32:12 +08:00
2023-03-14 13:57:11 -04:00
2023-04-26 08:11:50 +02:00
2022-05-26 17:19:36 +02:00
2023-01-05 18:38:40 +01:00
2023-03-07 04:19:59 -08:00
2023-03-14 22:58:11 +00:00
2023-03-14 23:28:05 +00:00
2023-03-08 18:57:57 +08:00
2022-05-26 17:19:36 +02:00
2023-03-07 04:19:43 -08:00
2021-02-28 15:17:29 -08:00
2023-01-28 03:14:57 +00:00
2023-02-13 11:45:30 -08:00
2023-03-14 08:37:30 +08:00
2023-03-14 08:37:30 +08:00
2021-03-25 23:02:52 +08:00
2022-11-14 10:24:54 -08:00
2017-04-28 14:19:39 -07:00
2021-06-18 16:31:05 +08:00