Add an exchange for Zaqar in profiler notification plugin
To enable Zaqar to use ceilometer as trace info storage. Main patch in Zaqar is: I32565de6c447cd5e95a0ef54a9fbd4e571c2d820 New option 'zaqar_control_exchange' is added to allow operator configures exchange name base on zaqar deployment for its trace data pushing up. DocImpact We prepared a common BP in oslo-spec due to integration change is similar to all projects: I29a2a59ded9e260a3d3bf79957bd49f403d8e83a The spec of osprofiler integration for zaqar is: https://review.openstack.org/#/c/135612/ Change-Id: Ib94f5d4f90956342d5b1ac183ca70179de0505f7 Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
This commit is contained in:
parent
a78961db68
commit
96180c8b11
@ -24,6 +24,9 @@ OPTS = [
|
||||
cfg.StrOpt('trove_control_exchange',
|
||||
default='trove',
|
||||
help="Exchange name for DBaaS notifications."),
|
||||
cfg.StrOpt('zaqar_control_exchange',
|
||||
default='zaqar',
|
||||
help="Exchange name for Messaging service notifications."),
|
||||
]
|
||||
|
||||
cfg.CONF.register_opts(OPTS)
|
||||
@ -52,6 +55,7 @@ class ProfilerNotifications(plugin_base.NotificationBase):
|
||||
conf.keystone_control_exchange,
|
||||
conf.sahara_control_exchange,
|
||||
conf.trove_control_exchange,
|
||||
conf.zaqar_control_exchange,
|
||||
]
|
||||
|
||||
for exchange in exchanges:
|
||||
|
Loading…
Reference in New Issue
Block a user