feature: add gc scheduler metrics collection count#5263
feature: add gc scheduler metrics collection count#5263fuweid merged 1 commit intocontainerd:mainfrom
Conversation
|
Hi @pacoxu. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
985cd1b to
ee2ac69
Compare
|
need upgrade prometheus client_golang first. Run Updated |
6fae444 to
1eadf5a
Compare
|
Seems your commit subject (the first line of the commit message) is too long. Please take a look https://github.com/containerd/containerd/pull/5263/checks?check_run_id=2190784348. |
|
@pacoxu I'm interested to have this metrics in 1.6 if possible. Could you update the PR? |
1eadf5a to
79b66ea
Compare
|
Updated per your comments. @kzys |
|
Build succeeded.
|
kzys
left a comment
There was a problem hiding this comment.
Looks good to me!
@containerd/committers Can someone take a look?
|
/ok-to-test |
|
@pacoxu Please use your real name on the signed-off line. |
79b66ea to
5f5141a
Compare
|
ok @kzys thanks for your review. |
|
Build succeeded.
|
|
please rebase to make sure that CI is happy. thanks 🙏 |
5f5141a to
617ce04
Compare
@fuweid rebased and needs to wait for CI running. |
|
Build succeeded.
|
|
Not sure if it's a mandate, but other metrics in the repo are using docker/go-metrics for consistent naming. |
1 similar comment
|
Not sure if it's a mandate, but other metrics in the repo are using docker/go-metrics for consistent naming. |
617ce04 to
966f4af
Compare
replace the implementation. Updated. |
Signed-off-by: Paco Xu <[email protected]>
966f4af to
012d68f
Compare
|
@cpuguy83 do you have time to take a look again? |
|
ack |
|
@pacoxu: GitHub didn't allow me to request PR reviews from the following users: ruiwen-zhao. Note that only containerd members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/lgtm Non blocking and for my own education: how will the new metrics be used? More specifically, what issues will the new metrics help debug and how will they help? |
With these metrics, we can define an alert in Prometheus which is the consumer of metrics. For instance,
Just something we can do if we have such metrics. I find this to-do in comments, and not in a true issue that needs it. So I have no accurate scenarios that would use these metrics. 😂 |
|
Thanks @pacoxu for your patience. |
Fix todo
containerd/gc/scheduler/scheduler.go
Line 258 in 6948d89
See #5263 (comment)