-
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
Send request metrics from queue proxy #3596
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.
@yanweiguo: 0 warnings.
In response to this:
Add support to send request metrics from the queue proxy. This functionality already exists in Istio mesh and the reason for the duplication here is to move towards eliminating our dependency on Istio's mesh functionality.
/lint
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.
pkg/reconciler/v1alpha1/clusteringress/resources/virtual_service.go
Outdated
Show resolved
Hide resolved
@@ -274,7 +285,7 @@ func main() { | |||
|
|||
timeoutHandler := queue.TimeToFirstByteTimeoutHandler(http.HandlerFunc(handler(reqChan, breaker, httpProxy, h2cProxy)), | |||
time.Duration(revisionTimeoutSeconds)*time.Second, "request timeout") | |||
composedHandler := pushRequestLogHandler(timeoutHandler) | |||
composedHandler := pushRequestMetricHandler(pushRequestLogHandler(timeoutHandler)) |
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.
Did you mean to replace the log handler?
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.
No. Hmm, what I did is adding a handler layer to the log handler, isn't it?
minor comments. Mostly about documentation. |
/test pull-knative-serving-upgrade-tests |
2 similar comments
/test pull-knative-serving-upgrade-tests |
/test pull-knative-serving-upgrade-tests |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mdemirhan, yanweiguo 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 |
/test pull-knative-serving-integration-tests |
2 similar comments
/test pull-knative-serving-integration-tests |
/test pull-knative-serving-integration-tests |
/lgtm |
/test pull-knative-serving-integration-tests |
Fixed the cause which breaks integration tests: SERVING_SERVICE can be empty. |
The following is the coverage report on pkg/.
|
/lgtm |
Add support to send request metrics from the queue proxy. This functionality already exists in Istio mesh and the reason for the duplication here is to move towards eliminating our dependency on Istio's mesh functionality.
/lint