<div dir="ltr"><div>The dynamic pollster in Ceilometer will be first released in Ussuri. However, there are some important PRs still waiting for a merge, that might be important for your use case:</div><div>* <a href="https://review.opendev.org/#/c/722092/">https://review.opendev.org/#/c/722092/</a></div><div>* <a href="https://review.opendev.org/#/c/715180/">https://review.opendev.org/#/c/715180/</a></div><div>* <a href="https://review.opendev.org/#/c/715289/">https://review.opendev.org/#/c/715289/</a></div><div>* <a href="https://review.opendev.org/#/c/679999/">https://review.opendev.org/#/c/679999/</a></div><div>* <a href="https://review.opendev.org/#/c/709807/">https://review.opendev.org/#/c/709807/</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 24, 2020 at 8:18 AM Carlos Goncalves <<a href="mailto:cgoncalves@redhat.com">cgoncalves@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 24, 2020 at 12:20 PM Ionut Biru <<a href="mailto:ionut@fleio.com" target="_blank">ionut@fleio.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I want to meter the loadbalancer into gnocchi for billing purposes in stein/train and ceilometer doesn't support dynamic pollsters. </div></div></blockquote><div><br></div><div>I think I misunderstood your use case, sorry. I read it as if you wanted to know "if a loadbalancer was deployed and has status active".</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Until I upgrade to Ussuri, is there a way to accomplish this?</div></div></blockquote><div><br></div><div>I'm not sure Ceilometer supports it even in Ussuri. I'll defer to the Ceilometer project.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 24, 2020 at 12:45 PM Carlos Goncalves <<a href="mailto:cgoncalves@redhat.com" target="_blank">cgoncalves@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Ionut,<div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 24, 2020 at 11:27 AM Ionut Biru <<a href="mailto:ionut@fleio.com" target="_blank">ionut@fleio.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello guys,<div>I was trying to add in polling.yaml and pipeline from ceilometer the following:</div><div>   - network.services.lb.active.connections<br>      - network.services.lb.health_monitor<br>      - network.services.lb.incoming.bytes<br>      - network.services.lb.listener<br>      - network.services.lb.loadbalancer<br>      - network.services.lb.member<br>      - network.services.lb.outgoing.bytes<br>      - network.services.lb.pool<br>      - network.services.lb.total.connections<br></div><div><br></div><div>But it doesn't work, I think they are for the old lbs that were supported in neutron.</div><div><br></div><div>I found <a href="https://docs.openstack.org/ceilometer/latest/admin/telemetry-dynamic-pollster.html" target="_blank">https://docs.openstack.org/ceilometer/latest/admin/telemetry-dynamic-pollster.html</a> but this is not available in stein or train.</div><div><br></div><div><div>I was wondering if there is a way to meter loadbalancers from octavia. </div></div><div>I mostly want for start to just meter if a loadbalancer was deployed and has status active.</div></div></blockquote><div><br></div><div>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]. <span style="font-family:Arial,sans-serif;font-size:small">Additionally, </span><span style="font-size:small;font-family:Arial,sans-serif">Octavia has three API endpoints for statistics [2][3][4].</span></div><div><span style="font-family:Arial,sans-serif;font-size:small"><br></span></div><div><div>I hope this helps with your use case.</div><div><br></div><div>Cheers,</div><div>Carlos</div></div><div><br></div><div>[1] <a href="https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=get-the-load-balancer-status-tree-detail#get-the-load-balancer-status-tree" target="_blank">https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=get-the-load-balancer-status-tree-detail#get-the-load-balancer-status-tree</a><span style="font-family:Arial,sans-serif;font-size:small"><br></span></div><div>[2] <a href="https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=get-load-balancer-statistics-detail#get-load-balancer-statistics" target="_blank">https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=get-load-balancer-statistics-detail#get-load-balancer-statistics</a></div><div>[3] <a href="https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=get-listener-statistics-detail#get-listener-statistics" target="_blank">https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=get-listener-statistics-detail#get-listener-statistics</a></div><div>[4] <a href="https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=show-amphora-statistics-detail#show-amphora-statistics" target="_blank">https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=show-amphora-statistics-detail#show-amphora-statistics</a></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div></div></div>
</blockquote></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">Ionut Biru - <a href="https://fleio.com" target="_blank">https://fleio.com</a><br></div></div>
</blockquote></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Rafael Weingärtner</div></div>