-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 response metrics for RuntimeSDK hook client #7956
✨ add response metrics for RuntimeSDK hook client #7956
Conversation
Hi @MaxFedotov. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
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.
Overall looks good.
/cc @chrischdi
3471630
to
4b9dbdf
Compare
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.
🤔 : I'm questioning if it makes sense to add non-http related information as metric to a metric we call http_requests_total
.
Maybe we should in this case rename it to runtime_sdk_hook_calls_total
(or something better) because its not a metric anymore relying on the plain http data.
Edit: we don't call it http_requests_total
, so seems fine to me :D
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.
Only nits 👍
And there is one more thing I would like to implement in this PR - to align bucket values with |
@ykakarap @sbueringer hi! Is there anything left that I need to do in order to make it merged? |
Looks good to me, thank you! /lgtm Can you please squash the commits, then I would merge |
LGTM label has been added. Git tree hash: 707a673562875a18e890c52b81b884f467bf9624
|
9b89a55
to
e49d4fc
Compare
fix linting issues apply review notes. Add status to requests_total metric apply review notes part 2 move response typecasting logic to metrics package align capi runtime sdk histogram bucket values with controller-runtime
e49d4fc
to
60317e0
Compare
Thank you very much! /lgtm |
LGTM label has been added. Git tree hash: 4d2e1f9ca1dd2917dded987af5e5767b869acc35
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
What this PR does / why we need it:
This PR adds an additional
response_total
metric for RuntimeSDK hook client.metric example:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #7952