support disabling profiler and http meters

there is support to disable all non-metric meters. the profiler and
http meters should be part of this list but were left out.

Change-Id: I0ad0e9d1258b237d5e4d30bf999e0fa67d308227
Closes-Bug: #1434711
This commit is contained in:
gordon chung 2015-03-20 16:58:39 -04:00
parent b0ba685268
commit aa9be399c1
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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.*"]