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

Add custom thresholds mechanism in APIResponsivenessPrometheus measurement #1276

Merged
merged 1 commit into from
May 28, 2020

Conversation

tosi3k
Copy link
Member

@tosi3k tosi3k commented May 27, 2020

To automatize Golang regression detection in our CI jobs it'd be convenient to override the default SLO threshold for certain metrics.

Custom thresholds included in the custom_api_call_thresholds.yaml file derive from experiments with running a kubemark load test job with the faulty golang version.

/sig scalability
/cc mm4tt

@k8s-ci-robot k8s-ci-robot requested a review from mm4tt May 27, 2020 12:54
@k8s-ci-robot k8s-ci-robot added sig/scalability Categorizes an issue or PR as relevant to SIG Scalability. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 27, 2020
Copy link
Contributor

@mm4tt mm4tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix failing unit tests

@tosi3k tosi3k force-pushed the cl2-custom-thresholds branch from 7a5c7ba to 9d389eb Compare May 27, 2020 13:27
@tosi3k
Copy link
Member Author

tosi3k commented May 27, 2020

Please fix failing unit tests

Done.

Copy link
Contributor

@mm4tt mm4tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that now we have this nice unit-tests that Janek implemented, could you add a unit test for custom thresholds?

@tosi3k tosi3k force-pushed the cl2-custom-thresholds branch from 9d389eb to 34de156 Compare May 27, 2020 17:20
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 27, 2020
@tosi3k
Copy link
Member Author

tosi3k commented May 27, 2020

Given that now we have this nice unit-tests that Janek implemented, could you add a unit test for custom thresholds?

Done. I don't know why I assumed writing legit unit tests for the custom thresholds is going to take much more effort than it actually did.

@tosi3k tosi3k force-pushed the cl2-custom-thresholds branch from 34de156 to 52e17e7 Compare May 27, 2020 19:31
@tosi3k tosi3k force-pushed the cl2-custom-thresholds branch from 52e17e7 to f1d338d Compare May 28, 2020 13:05
@mm4tt
Copy link
Contributor

mm4tt commented May 28, 2020

/lgtm
/approve

Nice!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 28, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mm4tt, tosi3k

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 28, 2020
@tosi3k
Copy link
Member Author

tosi3k commented May 28, 2020

/retest

2 similar comments
@tosi3k
Copy link
Member Author

tosi3k commented May 28, 2020

/retest

@tosi3k
Copy link
Member Author

tosi3k commented May 28, 2020

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/scalability Categorizes an issue or PR as relevant to SIG Scalability. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants