-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fix to get only backoff metrics of discover RPC #1706
Conversation
Signed-off-by: hlts2 <[email protected]>
Signed-off-by: hlts2 <[email protected]>
[CHATOPS:HELP] ChatOps commands.
|
Codecov Report
@@ Coverage Diff @@
## master #1706 +/- ##
==========================================
- Coverage 31.60% 31.53% -0.08%
==========================================
Files 385 385
Lines 32691 32713 +22
==========================================
- Hits 10331 10315 -16
- Misses 21966 22001 +35
- Partials 394 397 +3
Continue to review full report at Codecov.
|
Signed-off-by: hlts2 <[email protected]>
Signed-off-by: hlts2 <[email protected]>
Signed-off-by: hlts2 <[email protected]>
Signed-off-by: hlts2 <[email protected]>
[FOSSA] The scan result will be available at https://app.fossa.com/projects/custom%2B21465%2Fvald/refs/branch/fix-discover-logic/701b3b4ba64b83c2fc5141b1a7d9fd05201e62c2 |
Profile Report
|
Co-authored-by: Yusuke Kato <[email protected]>
Signed-off-by: hlts2 <[email protected]>
Thank you for your review! 🙏 |
* fix context propagation Signed-off-by: hlts2 <[email protected]> * fix discover logic Signed-off-by: hlts2 <[email protected]> * refactor Signed-off-by: hlts2 <[email protected]> * add method to get backoff instance Signed-off-by: hlts2 <[email protected]> * fix invalid memory access error and refactor disconnect logic Signed-off-by: hlts2 <[email protected]> * add backoff name to roundrobin context Signed-off-by: hlts2 <[email protected]> * Update internal/client/v1/client/discoverer/discover.go Co-authored-by: Yusuke Kato <[email protected]> * fix build error and reuse named return variable Signed-off-by: hlts2 <[email protected]> Co-authored-by: Yusuke Kato <[email protected]>
Description:
WHAT
I fixed code to get only backoff metrics of discover RPC.
WHY
There was a lot of backoff metrics in discover RPC before.
The current implementation included a backoff metrics that is not directly related to the RPC call.
https://github.com/vdaas/vald/blob/master/internal/client/v1/client/discoverer/discover.go#L221
Related Issue:
How Has This Been Tested?:
Environment:
Types of changes:
Changes to Core Features:
Checklist: