summaryrefslogtreecommitdiff
path: root/ceilometer/dispatcher/gnocchi.py
diff options
context:
space:
mode:
Diffstat (limited to 'ceilometer/dispatcher/gnocchi.py')
-rw-r--r--ceilometer/dispatcher/gnocchi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ceilometer/dispatcher/gnocchi.py b/ceilometer/dispatcher/gnocchi.py
index 9d34d716..aad4f23a 100644
--- a/ceilometer/dispatcher/gnocchi.py
+++ b/ceilometer/dispatcher/gnocchi.py
@@ -291,6 +291,8 @@ class GnocchiDispatcher(dispatcher.Base):
LOG.warn("metric %s is not handled by gnocchi" %
metric_name)
continue
+ if rd.cfg.get("ignore"):
+ continue
resource_type = rd.cfg['resource_type']
resource = {