Support empty *_monitored_queues for environments without telemetry
Bug #1938547 reported by
jaison
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-browbeat |
New
|
Undecided
|
Unassigned |
Bug Description
OSP16 environments without this queue or without telemetry will face error/traceback in collectd.
Although adding non-existent queues does not functionaly break collectd, but collectd will use its script/pyrabbit to connect to rabbitmq every 10 seconds.
We should support empty values like below so that no queue message counts are seen for any queues, but at the same time other results/metrics from pyrabbit are reported.
To post a comment you must log in.
./browbeat- containers/ collectd- openstack/ files/collectd_ rabbitmq_ monitoring. py supports having no message_count.
Need to make sure such collectd file should add message_count config only when *_monitored_queues is not empty
./ansible/ install/ roles/collectd/ templates/ undercloud. collectd. conf.j2