diff options
author | gordon chung <gord@live.ca> | 2015-02-17 15:15:27 -0500 |
---|---|---|
committer | gordon chung <gord@live.ca> | 2015-02-24 18:33:26 -0500 |
commit | 6fcb4527142b74d87833c379146da43eca9b9f93 (patch) | |
tree | e892751fce51313a8ffc169f2045740ffb8022f5 /ceilometer/objectstore | |
parent | 29b27092567a7bbc4b7c6f769ed161b1e4d6203d (diff) | |
download | ceilometer-6fcb4527142b74d87833c379146da43eca9b9f93.tar.gz |
add an option to disable non-metric meters
a large chunk of meters don't measure anything and are really
healthcheck events. these should be stored as events and not
samples. this patch adds an option to disable false meters and
warn if not disabled.
Change-Id: I654f657dd36967ad3ec99bbe06209e7745432e12
Diffstat (limited to 'ceilometer/objectstore')
-rw-r--r-- | ceilometer/objectstore/notifications.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ceilometer/objectstore/notifications.py b/ceilometer/objectstore/notifications.py index a3d9f788..082fb741 100644 --- a/ceilometer/objectstore/notifications.py +++ b/ceilometer/objectstore/notifications.py @@ -44,7 +44,7 @@ class _Base(plugin_base.NotificationBase): for topic in conf.notification_topics] -class SwiftWsgiMiddleware(_Base): +class SwiftWsgiMiddleware(_Base, plugin_base.NonMetricNotificationBase): @property def event_types(self): |