diff options
author | gord chung <gord@live.ca> | 2016-11-30 21:04:43 +0000 |
---|---|---|
committer | gord chung <gord@live.ca> | 2016-11-30 21:04:43 +0000 |
commit | d82b19e838c7813e4f42c4c226699788aa45dd00 (patch) | |
tree | a375290f65882502da1392779f48a86fd54d49d2 /ceilometer/notification.py | |
parent | c0210dd0a2ff4f36d53add87b6c381ea4e2735ca (diff) | |
download | ceilometer-d82b19e838c7813e4f42c4c226699788aa45dd00.tar.gz |
drop disable_non_metric_meters option
we don't support large amounts volume=1 meters anymore. the ones that
remain are on purpose and should be disabled via pipeline.
Change-Id: Ie571555449353f464412e71cd229a66544f9ae45
Diffstat (limited to 'ceilometer/notification.py')
-rw-r--r-- | ceilometer/notification.py | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/ceilometer/notification.py b/ceilometer/notification.py index 644cee54..467c5236 100644 --- a/ceilometer/notification.py +++ b/ceilometer/notification.py @@ -22,10 +22,9 @@ from oslo_log import log import oslo_messaging from stevedore import extension -from ceilometer.agent import plugin_base as base from ceilometer import coordination from ceilometer.event import endpoint as event_endpoint -from ceilometer.i18n import _, _LI, _LW +from ceilometer.i18n import _, _LI from ceilometer import messaging from ceilometer import pipeline from ceilometer import service_base @@ -47,12 +46,6 @@ OPTS = [ default=True, deprecated_group='collector', help='Acknowledge message when event persistence fails.'), - cfg.BoolOpt('disable_non_metric_meters', - default=True, - help='WARNING: Ceilometer historically offered the ability to ' - 'store events as meters. This usage is NOT advised as it ' - 'can flood the metering database and cause performance ' - 'degradation.'), cfg.BoolOpt('workload_partitioning', default=False, help='Enable workload partitioning, allowing multiple ' @@ -214,11 +207,6 @@ class NotificationService(service_base.PipelineBasedService): with self.coord_lock: self._configure_pipeline_listener() - if not self.conf.notification.disable_non_metric_meters: - LOG.warning(_LW('Non-metric meters may be collected. It is highly ' - 'advisable to disable these meters using ' - 'ceilometer.conf or the pipeline.yaml')) - self.init_pipeline_refresh() def _configure_main_queue_listeners(self, pipe_manager, @@ -237,9 +225,6 @@ class NotificationService(service_base.PipelineBasedService): targets = [] for ext in notification_manager: handler = ext.obj - if (self.conf.notification.disable_non_metric_meters and - isinstance(handler, base.NonMetricNotificationBase)): - continue LOG.debug('Event types from %(name)s: %(type)s' ' (ack_on_error=%(error)s)', {'name': ext.name, |