-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Introduce the job_finished_indexes_total metric #121292
Introduce the job_finished_indexes_total metric #121292
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
/sig apps |
f68a548
to
e585cb8
Compare
/assign @alculquicondor |
Is the description stale? |
e585cb8
to
8ca5d11
Compare
e28aa79
to
5c1eb29
Compare
aa0770f
to
f28a2a8
Compare
test/integration/job/job_test.go
Outdated
@@ -286,6 +286,154 @@ func TestJobFinishedNumReasonMetric(t *testing.T) { | |||
} | |||
} | |||
|
|||
func TestJobFinishedIndexesTotalMetric(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added the tests as integration, because this is what we did so far for most features, however, with the recent issues with test timeouts for integration I'm thinking about moving them to unit tests. WDYT @alculquicondor ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just add checks to the existing tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I can, let me try
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, PTAL
/hold |
f28a2a8
to
d1fcd84
Compare
d1fcd84
to
b0d04d9
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
LGTM label has been added. Git tree hash: 18ea0443a79e527281fb61ef3462afbb47af4578
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, mimowo 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 |
/hold cancel |
/retest |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Implement metrics proposed in the JobBackoffLimitPerIndex feature KEP
Which issue(s) this PR fixes:
Part of: kubernetes/enhancements#3850
Special notes for your reviewer:
Wondering about moving the tests from integration to unit.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: