-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Autoscaler fetches metrics via a client from the collector. #4007
Autoscaler fetches metrics via a client from the collector. #4007
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markusthoemmes 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 |
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.
@markusthoemmes: 0 warnings.
In response to this:
This inverses the control of the metrics and makes the autoscaler obtain metrics from the collector vs. aggregating them in the autoscaler itself.
Release Note
NONE
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.
a0df6be
to
297add1
Compare
/assign @greghaynes |
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.
Superficial comments only.
LGTM |
297add1
to
df7aa33
Compare
@vagababov @yanweiguo Rebased and incorporated your feedback. Ready for another look. |
df7aa33
to
3eb7757
Compare
Rebased again. |
3eb7757
to
1a7fd5a
Compare
/test pull-knative-serving-upgrade-tests |
@yanweiguo thanks for the comments. Feedback has been addressed and the PR has been rebased again. |
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.
A few more nits.
41244bc
to
8b9fbb2
Compare
The following is the coverage report on pkg/.
|
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
This inverses the control of the metrics and makes the autoscaler obtain metrics from the collector vs. aggregating them in the autoscaler itself.
It is the last step to fully encapsulate metric collection/aggregation from the autoscaler itself and will make it possible to front the metric collector with the custom-metrics API.
Release Note