diff options
author | Dina Belova <dbelova@mirantis.com> | 2014-10-08 16:47:33 +0400 |
---|---|---|
committer | Dina Belova <dbelova@mirantis.com> | 2014-12-12 20:55:15 +0300 |
commit | 68df2bb9dc311f0492906f2502d963ecebd3d339 (patch) | |
tree | 56adac55016bdf1fedac6e191bc2112600de27e4 /ceilometer/middleware.py | |
parent | fec091a2dbce1023c8c41b78ea54d8c8243a8edd (diff) | |
download | ceilometer-68df2bb9dc311f0492906f2502d963ecebd3d339.tar.gz |
Move central agent code to the polling agent module
That's the preparation for further compute and central agents
merge
Partially-Implements-Blueprint: merge-compute-central-agents
Change-Id: If5f151ab7d30c9711929f6dcade553fdca09ab67
Diffstat (limited to 'ceilometer/middleware.py')
-rw-r--r-- | ceilometer/middleware.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ceilometer/middleware.py b/ceilometer/middleware.py index c9c369f0..21e2edaa 100644 --- a/ceilometer/middleware.py +++ b/ceilometer/middleware.py @@ -18,7 +18,7 @@ from oslo.config import cfg import oslo.messaging -from ceilometer import plugin +from ceilometer.agent import plugin_base from ceilometer import sample cfg.CONF.import_opt('nova_control_exchange', @@ -42,7 +42,7 @@ OPTS = [ cfg.CONF.register_opts(OPTS) -class HTTPRequest(plugin.NotificationBase): +class HTTPRequest(plugin_base.NotificationBase): event_types = ['http.request'] @staticmethod |