-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Allow any registered gRPC load balancer to be used #8262
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #8262 +/- ##
==========================================
- Coverage 90.18% 90.14% -0.04%
==========================================
Files 302 302
Lines 15766 15771 +5
==========================================
- Hits 14218 14217 -1
- Misses 1254 1259 +5
- Partials 294 295 +1
☔ View full report in Codecov by Sentry. |
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.
Can you please add a test?
@jmacd please add a changelog about this enhancement |
Apologies, i accidentally closed the PR on github from my phone 😬 |
I made a changelog, but there's no issue filed and it makes me think this PR doesn't really need a changelog entry. Do we need an issue? |
I'll file an issue stating that changelog issues shouldn't require issues, though :) |
fa4fbb2
to
36b9475
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.
You can use the PR number or an issue number @jmacd
Looks like one linting error to address:
|
@jmacd why do you hate linters? |
Description: gRPC-Go's
balancer
package includes a static registration mechanism and a way to inspect whether a balancer name is registered. We should use this mechanism instead of hard-coding an allowlist of balancer names.Custom collector configurations may have additional balancers linked in, and we should allow them to be used.
Testing: existing cover this, pass
Documentation: Existing documentation refers to gRPC balancer package, does not mention any allowlist behavior.