summaryrefslogtreecommitdiff
path: root/ceilometer/objectstore
diff options
context:
space:
mode:
authorgordon chung <gord@live.ca>2015-02-17 15:15:27 -0500
committergordon chung <gord@live.ca>2015-02-24 18:33:26 -0500
commit6fcb4527142b74d87833c379146da43eca9b9f93 (patch)
treee892751fce51313a8ffc169f2045740ffb8022f5 /ceilometer/objectstore
parent29b27092567a7bbc4b7c6f769ed161b1e4d6203d (diff)
downloadceilometer-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.py2
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):