diff --git a/ceilometer/middleware.py b/ceilometer/middleware.py index f8c305a93..9aed621f2 100644 --- a/ceilometer/middleware.py +++ b/ceilometer/middleware.py @@ -40,7 +40,8 @@ OPTS = [ cfg.CONF.register_opts(OPTS) -class HTTPRequest(plugin_base.NotificationBase): +class HTTPRequest(plugin_base.NotificationBase, + plugin_base.NonMetricNotificationBase): event_types = ['http.request'] @staticmethod diff --git a/ceilometer/profiler/notifications.py b/ceilometer/profiler/notifications.py index c44c376ef..5373173c1 100644 --- a/ceilometer/profiler/notifications.py +++ b/ceilometer/profiler/notifications.py @@ -35,7 +35,8 @@ cfg.CONF.import_opt('keystone_control_exchange', 'ceilometer.identity.notifications') -class ProfilerNotifications(plugin_base.NotificationBase): +class ProfilerNotifications(plugin_base.NotificationBase, + plugin_base.NonMetricNotificationBase): event_types = ["profiler.*"]