-
Notifications
You must be signed in to change notification settings - Fork 705
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
LoadBalancer: support instance selection based on specific actuator metrics #756
Comments
#601 is along those lines. It's fairly hard to do since you would want those metrics from other instances, how do you report that the load balancer. |
@spencergibb so the only solution would be to implement a custom |
that's one option, yes. |
@spencergibb I think that custom |
@spencergibb & @OlgaMaciaszek I am working on a custom More specifically I have started creating a I will be watching the parent issue #601 but if you thing a PR would make sense when I complete it, please let me know. |
@kmandalas Definitely, if you come up with something, do submit a PR. You might also want to keep an eye on what is happening with the following issues: #675 (currently a PR in review - introduces possibilities to propagate load-balanced call data and to run a callback method after a load-balanced call has been completed; probably best to base your changes on that) and #674 (planning to work on adding in micrometer here). |
Provide more fine-grained load balancing rules based on actuator metrics like
system.cpu.usage
,jvm.memory.usage
etc. Could be something configurable based on a specific metric and a corresponding threshold value. If this value is exceeded the balancer will prefer instances below this value. Otherwise default behavior will be applied.Alternatively I assume this can be achieved by implementing a custom
HealthIndicator
but a more out-of-the-box configuration-only capability could be very useful.The text was updated successfully, but these errors were encountered: