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:
parent
b0ba685268
commit
aa9be399c1
@ -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
|
||||
|
@ -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.*"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user