diff options
author | gordon chung <gord@live.ca> | 2015-03-20 16:58:39 -0400 |
---|---|---|
committer | gordon chung <gord@live.ca> | 2015-03-23 22:16:38 +0000 |
commit | aa9be399c1f2e2feb9cf73379d8a9d95e4adce86 (patch) | |
tree | 3883706d63c3958f5d0d1b605f9a16ddcb7b6733 /ceilometer/middleware.py | |
parent | b0ba68526854497335cc3087ae9d49340dee1d43 (diff) | |
download | ceilometer-aa9be399c1f2e2feb9cf73379d8a9d95e4adce86.tar.gz |
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
Diffstat (limited to 'ceilometer/middleware.py')
-rw-r--r-- | ceilometer/middleware.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ceilometer/middleware.py b/ceilometer/middleware.py index f8c305a9..9aed621f 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 |