-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Subresources are not included in apiserver prometheus metrics #46354
Subresources are not included in apiserver prometheus metrics #46354
Conversation
/lgtm |
We currently are getting the request latencies labelled by just (verb, resource) pair.. Now we also have subresource. @smarterclayton Could you also update that logic as part of this PR? I'm happy to do that as well. |
Ok. |
Subresources are very often completely different code paths and errors generated on those code paths are important to distinguish.
0588a85
to
ad431c4
Compare
Updated with metrics. |
Thanks for updating! |
@k8s-bot pull-kubernetes-e2e-gce-etcd3 test this |
@k8s-bot pull-kubernetes-e2e-gce-etcd3 test this hates me |
Thanks @smarterclayton /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: caesarxuchao, smarterclayton, wojtek-t
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue (batch tested with PRs 45573, 46354, 46376, 46162, 46366) |
@smarterclayton: The following test(s) failed:
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
Automatic merge from submit-queue Fix minor bugs in setting API call metrics with subresource Based on changes from #46354 /cc @wojtek-t @smarterclayton
Subresources are very often completely different code paths and errors
generated on those code paths are important to distinguish.
@kubernetes/sig-api-machinery-pr-reviews