summaryrefslogtreecommitdiff
path: root/ceilometer/profiler
diff options
context:
space:
mode:
Diffstat (limited to 'ceilometer/profiler')
-rw-r--r--ceilometer/profiler/notifications.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/ceilometer/profiler/notifications.py b/ceilometer/profiler/notifications.py
index 495805a6..e6c7b874 100644
--- a/ceilometer/profiler/notifications.py
+++ b/ceilometer/profiler/notifications.py
@@ -13,12 +13,18 @@
# License for the specific language governing permissions and limitations
# under the License.
+from oslo.config import cfg
import oslo.messaging
from ceilometer import plugin
from ceilometer import sample
+# TODO(boris-42): remove after adding keystone audit plugins.
+cfg.CONF.import_opt('keystone_control_exchange',
+ 'ceilometer.identity.notifications')
+
+
class ProfilerNotifications(plugin.NotificationBase):
event_types = ["profiler.*"]
@@ -35,7 +41,8 @@ class ProfilerNotifications(plugin.NotificationBase):
conf.cinder_control_exchange,
conf.glance_control_exchange,
conf.neutron_control_exchange,
- conf.heat_control_exchange
+ conf.heat_control_exchange,
+ conf.keystone_control_exchange
]
for exchange in exchanges: