-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
discovery(openstack): add load balancer discovery #15539
discovery(openstack): add load balancer discovery #15539
Conversation
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
It will not need to be reviewed until #14367 is merged since a rebase will be required. |
@machine424 @jan--f is this in your comfort zone maybe? |
Not for me but I' can try to find someone. |
I pinged a few people, asking for feedback. Due to the end of the year, this may take some time. |
This is really great work! I tested out #14367 and this PR together in openstack on openshift environment and I do see octavia metrics Also, visualized these metrics by importing https://grafana.com/grafana/dashboards/15828-openstack-octavia-amphora-load-balancer/ It would be nice to have |
Hi @yadneshk, Many thanks for the feedback. I agree that the |
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
…dias/prometheus into openstack-loadbalancer-discovery Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
@yadneshk added on commit cb72541 Feel free to re-test it if you can 🙏 |
@paulojmdias operating and provisioning status look good now |
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
…dias/prometheus into openstack-loadbalancer-discovery Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
@yadneshk thanks for reviewing this. @machine424 @jan--f does this look good to you to get merged? |
…k-loadbalancer-discovery Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Since PR #14367 was merged, I rebased this code to include the incoming changes. @machine424 @jan--f you can review when you can. 🙌 |
This review should be aligned with #15558, the PR will be merged first, and then the other one will need a rebase. |
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.
Thanks!
Description
OpenStack Octavia natively supports enabling the Prometheus endpoint on some drivers, like
amphora
. For that, users need to create a listener with thePROMETHEUS
protocol, and the metrics from the load balancer can be scraped automatically.Adding the
loadbalancer
role support for theopenstack
discovery will enhance the ability to dynamically scrape the load balancer metrics without using other manual options.The code lists all Load Balancers and Listeners from the
NewLoadBalancerV2
client and lists all Floating IPs from theNewNetworkV2
client.References