-
Notifications
You must be signed in to change notification settings - Fork 9.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
Switch from grpc-ecosystem/go-grpc-prometheus to grpc-ecosystem/go-grpc-middleware/providers/prometheus #19195
base: main
Are you sure you want to change the base?
Conversation
Hi @dims. Thanks for your PR. I'm waiting for a etcd-io 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-sigs/prow repository. |
f7123cd
to
f80c5b2
Compare
/ok-to-test |
thanks @ivanvc |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
... and 27 files with indirect coverage changes @@ Coverage Diff @@
## main #19195 +/- ##
==========================================
+ Coverage 68.76% 68.88% +0.12%
==========================================
Files 420 420
Lines 35650 35686 +36
==========================================
+ Hits 24514 24584 +70
+ Misses 9714 9684 -30
+ Partials 1422 1418 -4 Continue to review full report in Codecov by Sentry.
|
/test pull-etcd-integration-2-cpu-amd64 |
/assign @ahrtr @serathius |
Thanks @dims for the PR. I did some sanity test on this PR, and compared it with the existing main branch.
Also references: |
Do we need a test to confirm that no metric was removed? |
…pc-middleware/providers/prometheus Signed-off-by: Davanum Srinivas <[email protected]>
@ahrtr did you run with |
i think so for future-proofing! |
YES, I executed the same command on this PR and the main branch. The main branch was working as expected, but this PR did not generate the histograms metrics. |
f80c5b2
to
03554ca
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dims The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@ahrtr found the issue and hopefully fixed it. Added a test as well. However, please check if i broke anything in the process of threading the option through to both the test suite and the main binary. |
cafe302
to
d3fe3e2
Compare
/test pull-etcd-integration-2-cpu-amd64 |
f1e0118
to
c4bed32
Compare
/test pull-etcd-robustness-arm64 |
@serathius Done! see new test case. If there are other metrics we can trigger them and then add to the list. |
debfc85
to
efbc3fc
Compare
Signed-off-by: Davanum Srinivas <[email protected]>
efbc3fc
to
742ce69
Compare
@@ -177,3 +181,189 @@ func getHTTPBodyAsLines(t *testing.T, url string) []string { | |||
resp.Body.Close() | |||
return lines | |||
} | |||
|
|||
func TestAllMetricsGenerated(t *testing.T) { |
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.
The test is large already, can you move the test to separate PR?
Reviving previous effort from: #17974
xref: kubernetes/kubernetes#128583
Added a new test to make sure we are not missing any expected metrics.
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.