Abdullah Gharaibeh
44d9497133
Increase the size of the buckets for PodSchedulingDuration scheduler metric.
2020-07-22 16:42:01 -04:00
Abdullah Gharaibeh
6f9794d5e9
Rename pod_preemption_metrics to preemption_metrics. Since this metric's type was changed from Gauge to Histogram, renaming it should make it easier to providers to migrate
2020-07-20 11:44:10 -04:00
Kubernetes Prow Robot
c2e6e147be
Merge pull request #92160 from YuikoTakada/add_deprecated_description_scheduling_duration_seconds
...
Add Deprecated description to metrics scheduling_duration_seconds
2020-07-09 00:04:48 -07:00
Yuiko Mori
97bca0ec59
Add Deprecated description to metrics scheduling_duration_seconds
2020-07-02 00:14:49 +00:00
Abdullah Gharaibeh
d1ea49bcd9
breakdown PodSchedulingDuration by number of attempts
2020-07-01 17:34:07 -04:00
Aldo Culquicondor
698eda3079
Add profile label to scheduler extension point metrics
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-06-23 15:30:22 -04:00
Aldo Culquicondor
eb9711dc1f
Add profile label to schedule_attempts_total metric
...
and e2e_scheduling_duration_seconds
Also adding result label to e2e_scheduling_duration_seconds. Previously, the metric was only updated for successful attempts
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-06-22 15:19:57 -04:00
RainbowMango
4d8280acca
rename metric scheduler_total_preemption_attempts to scheduler_preemption_attempts_total as counter metrics should have _total suffix.
2020-05-26 20:11:42 +08:00
caiweidong
bbaa76c8f5
Expose scheduler metric register function to make it possible for plugins to use it
2020-04-07 19:07:30 +08:00
Jan Chaloupka
a3f6627ce8
scheduler: deprecate deprecated metrics in 1.19
...
We need some time to compare both deprecated and new replacing metrics so other consumers like clusterloader2 have time to adjust.
2020-02-25 02:58:33 +01:00
Mateusz
d221d82eaf
run permit plugins in the scheduling cycle
2020-02-18 10:04:23 -08:00
Shingo Omura
c9c4be66d3
Fix pending_pods, schedule_attempts_total was not recorded
...
because metric initializations are too early. This causes actual metric
instance become no-op.
modification made in thie commit to make sure actual metric instance won't be no-op metrics:
- re-initialize scheduler/metrics.PodSchedule{Successes, Failure, Errors} after metric creation
- scheduler/metrics.Register() should be called before initializing SchedulingQueue,
2020-01-31 17:03:41 +09:00
danielqsj
ab182552b4
clean SinceInMicroseconds, convert to SinceInSeconds
2020-01-10 17:05:38 +08:00
danielqsj
85931af1ee
remove deprecated metrics of scheduler
2020-01-10 17:03:40 +08:00
Kubernetes Prow Robot
180e1c9f51
Merge pull request #86584 from xiaoanyunfei/cleanup/deprecate_scheduler_metrics
...
deprecate scheduling_algorithm_predicate_evaluation_seconds and sched…
2020-01-03 03:41:40 -08:00
sunxiaofei03
97676963c3
deprecate scheduling_algorithm_predicate/priority_evaluation_seconds
2019-12-24 19:41:01 +08:00
sunxiaofei03
70b80ae28a
Deprecate scheduling_duration_seconds Summary metric
2019-12-24 19:17:29 +08:00
Kubernetes Prow Robot
7a5929da02
Merge pull request #83838 from RainbowMango/pr_hide_scheduler_deprecated_metrics
...
Turn off scheduler metrics that have been deprecated
2019-11-15 07:59:15 -08:00
RainbowMango
d9b12b131a
Hide scheduler metrics that have been deprecated in 1.14
2019-11-14 10:02:18 +08:00
Cong Liu
8995c1e030
Update bucket for scheduler framework latency histograms.
2019-11-13 16:35:59 -05:00
Cong Liu
af6a8160c3
Add scheduler plugin execution duration metric.
...
Address comments
Sample metrics
Use rand.Intn and some cleanup
2019-11-12 13:00:20 -05:00
Mike Dame
4735011287
Add scheduler cache size metrics
2019-10-30 15:33:29 -04:00
Cong Liu
f32d735b50
Add permit_wait_duration_seconds metric for scheduler.
2019-10-23 09:01:27 -04:00
Guoliang Wang
08f7b22025
Add a metric to track number of scheduler binding goroutines
2019-10-21 16:38:12 +08:00
Cong Liu
fc226e0670
Add incoming pod metrics to scheduler queue.
2019-10-16 14:26:16 -04:00
Kubernetes Prow Robot
1552ba6b00
Merge pull request #83569 from liu-cong/framework-metrics
...
Add metrics for scheduler framework.
2019-10-15 23:05:28 -07:00
Cong Liu
da30a00f9a
Add metrics for scheduler framework.
2019-10-14 20:26:03 -04:00
Kubernetes Prow Robot
54f089fa08
Merge pull request #83603 from Tabrizian/master
...
feat: change the `pod_preemption_victims` to Histogram
2019-10-11 10:53:43 -07:00
Cong Liu
085852160a
Add per-pod metrics for scheduler.
2019-10-10 16:58:21 -04:00
Iman Tabrizian
451a535401
feat: feat: change the pod_preemption_victims
to Histogram
2019-10-09 18:28:32 -04:00
RainbowMango
832a4fbe99
Refactor metrics test from kube-schedule queue.
2019-10-08 15:39:30 +08:00
RainbowMango
c0c1d8e985
Update bazel by hack/update-bazel.sh
2019-09-27 10:18:31 +08:00
RainbowMango
4cc175e8d8
Remove direct reference to prometheus.Label for scheduler
2019-09-27 10:16:31 +08:00
RainbowMango
177eec76a3
Migrate prometheus bucket functionality to metrics stability framework.
2019-09-16 11:47:12 +08:00
Yecheng Fu
8a7607a308
volume scheduling: move metrics code into a separate pkg
2019-09-03 14:38:26 +08:00
Han Kang
8da448dbe3
migrate scheduler metrics endpoint to metrics stability framework
2019-08-28 03:40:43 -07:00
Yecheng Fu
214ea1a9d3
Update scheduler to use new volume scheduling library
...
To fix scheme issue, use k8s.io/client-go/kubernetes/scheme instead of
legacyscheme.
2019-05-02 14:57:47 +08:00
Wei Huang
6e10f0ce2f
scheduler: rename metric name of pending pods
2019-04-11 14:16:10 -07:00
Wei Huang
63c3a617cd
auto-generated files
2019-04-08 17:51:08 -07:00
Wei Huang
7afbd68730
add metrics to record number of pending pods in different queues
2019-04-08 17:51:07 -07:00
danielqsj
489dd27268
add comments for new const
2019-02-23 07:57:05 +08:00
danielqsj
f7b437cae0
convert latency in mertics name to duration
2019-02-22 21:40:13 +08:00
danielqsj
0f516f751d
Mark deprecated in related scheduler metrics
2019-01-08 13:07:16 +08:00
danielqsj
5b42a84cde
Change scheduler metrics to conform guideline
2019-01-08 11:16:01 +08:00
wangqingcan
1081e919e3
Eclass Task 1: clean up old equiv class code
...
Co-authored-by: Harry Zhang <resouer@gmail.com>
Co-authored-by: Wang Qingcan <wangqingcan@baidu.com>
2018-12-17 17:05:49 -08:00
wackxu
d5edcd3dc3
Add metrics to volume scheduling operations
2018-10-23 20:59:12 +08:00
Jonathan Basseri
b0a8dbbc9d
Add scheduler throughput metric.
...
This adds a counter to the scheduler that can be used to calculate
throughput and error ratio. Pods which fail to schedule are not counted
as errors, but can still be tracked separately from successes.
We already measure scheduler latency, but throughput was missing. This
should be considered a key metric for the scheduler.
2018-09-24 14:38:39 -07:00
Jonathan Basseri
b874d2789b
Add metrics to equivalence cache.
...
This adds counters to equiv. cache reads & writes. Reads are labeled by
hit/miss, while writes are labeled to indicate whether the write was
discarded.
This will give us visibility into,
- hit rate of cache reads
- ratio of reads to writes
- rate of discarded writes
2018-08-15 15:51:13 -07:00
Shyam Jeedigunta
b9ae20c99e
Split scheduler latency metric to fine-grained steps
2018-06-21 14:19:39 +02:00
Krzysztof Siedlecki
e32910a544
Readding summary metrics
2018-06-14 15:05:12 +02:00