Hi Ionut, On Fri, Apr 24, 2020 at 11:27 AM Ionut Biru <ionut@fleio.com> wrote:
Hello guys, I was trying to add in polling.yaml and pipeline from ceilometer the following: - network.services.lb.active.connections - network.services.lb.health_monitor - network.services.lb.incoming.bytes - network.services.lb.listener - network.services.lb.loadbalancer - network.services.lb.member - network.services.lb.outgoing.bytes - network.services.lb.pool - network.services.lb.total.connections
But it doesn't work, I think they are for the old lbs that were supported in neutron.
I found https://docs.openstack.org/ceilometer/latest/admin/telemetry-dynamic-pollste... but this is not available in stein or train.
I was wondering if there is a way to meter loadbalancers from octavia. I mostly want for start to just meter if a loadbalancer was deployed and has status active.
You can get the provisioning and operating status of Octavia load balancers via the Octavia API. There is also an API endpoint that returns the full load balancer status tree [1]. Additionally, Octavia has three API endpoints for statistics [2][3][4]. I hope this helps with your use case. Cheers, Carlos [1] https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=get-the-load-b... [2] https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=get-load-balan... [3] https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=get-listener-s... [4] https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=show-amphora-s...
-- Ionut Biru - https://fleio.com