-
Notifications
You must be signed in to change notification settings - Fork 547
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
Conversation
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.
Please fix failing unit tests
clusterloader2/pkg/measurement/common/slos/api_responsiveness_prometheus.go
Outdated
Show resolved
Hide resolved
clusterloader2/pkg/measurement/common/slos/api_responsiveness_prometheus.go
Outdated
Show resolved
Hide resolved
7a5c7ba
to
9d389eb
Compare
Done. |
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.
Given that now we have this nice unit-tests that Janek implemented, could you add a unit test for custom thresholds?
clusterloader2/pkg/measurement/common/slos/api_responsiveness_prometheus.go
Outdated
Show resolved
Hide resolved
9d389eb
to
34de156
Compare
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. |
34de156
to
52e17e7
Compare
clusterloader2/pkg/measurement/common/slos/api_responsiveness_prometheus_test.go
Outdated
Show resolved
Hide resolved
52e17e7
to
f1d338d
Compare
/lgtm Nice! |
[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 |
/retest |
2 similar comments
/retest |
/retest |
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