Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Prometheus metrics for LocalQueue (#3673) #55

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

KPostOffice
Copy link

cherry pick of local-queue metrics features

Copy link

openshift-ci bot commented Dec 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: KPostOffice

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

* add LocalQueue metrics (no feature gate)

Signed-off-by: Kevin <[email protected]>

* add all clear and report calls

Signed-off-by: Kevin <[email protected]>

* add feature gate

Signed-off-by: Kevin <[email protected]>

* cleanup todos and add more feature gates

Signed-off-by: Kevin <[email protected]>

* use feature gate instead of config

Signed-off-by: Kevin <[email protected]>

* cleanup

Signed-off-by: Kevin <[email protected]>

* add metrics checks to a test

Signed-off-by: Kevin <[email protected]>

* add lq metrics to cq integration test

Signed-off-by: Kevin <[email protected]>

* lint fix

Signed-off-by: Kevin <[email protected]>

* use name instead of local_queue

Signed-off-by: Kevin <[email protected]>

* update status metric description

Signed-off-by: Kevin <[email protected]>

* fix key name

Signed-off-by: Kevin <[email protected]>

* move registerLQ into metrics package

Signed-off-by: Kevin <[email protected]>

---------

Signed-off-by: Kevin <[email protected]>
@KPostOffice
Copy link
Author

/retest

@KPostOffice
Copy link
Author

/retest

Copy link

openshift-ci bot commented Dec 19, 2024

@KPostOffice: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-odh-kueue b859cc2 link true /test e2e-odh-kueue

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

@KPostOffice
Copy link
Author

I was debugging this test and noticed that the image being used when I ran the test was registry.k8s.io/kueue/kueue:v0.8.1 this version doesn't have the feature flag... but that confuses me. Shouldn't we be creating a new image based on the PR to run against when we run these tests so that the new changes are correctly tested?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant