Browse Source

Merge "Disable check metrics to avoid redundant metrics"

changes/36/442036/1
Jenkins 2 years ago
parent
commit
5f4cab9047

+ 2
- 1
deployment_scripts/puppet/modules/lma_collector/files/collectd/hypervisor_stats.py View File

@@ -138,7 +138,8 @@ class HypervisorStatsPlugin(openstack.CollectdPlugin):
138 138
                 'values': v,
139 139
             }
140 140
 
141
-plugin = HypervisorStatsPlugin(collectd, PLUGIN_NAME)
141
+plugin = HypervisorStatsPlugin(collectd, PLUGIN_NAME,
142
+                               disable_check_metric=True)
142 143
 
143 144
 
144 145
 def config_callback(conf):

+ 1
- 1
deployment_scripts/puppet/modules/lma_collector/files/collectd/openstack_cinder.py View File

@@ -88,7 +88,7 @@ class CinderStatsPlugin(openstack.CollectdPlugin):
88 88
             }
89 89
 
90 90
 
91
-plugin = CinderStatsPlugin(collectd, PLUGIN_NAME)
91
+plugin = CinderStatsPlugin(collectd, PLUGIN_NAME, disable_check_metric=True)
92 92
 
93 93
 
94 94
 def config_callback(conf):

+ 2
- 1
deployment_scripts/puppet/modules/lma_collector/files/collectd/openstack_cinder_services.py View File

@@ -74,7 +74,8 @@ class CinderServiceStatsPlugin(openstack.CollectdPlugin):
74 74
                 }
75 75
 
76 76
 
77
-plugin = CinderServiceStatsPlugin(collectd, PLUGIN_NAME)
77
+plugin = CinderServiceStatsPlugin(collectd, PLUGIN_NAME,
78
+                                  disable_check_metric=True)
78 79
 
79 80
 
80 81
 def config_callback(conf):

+ 1
- 1
deployment_scripts/puppet/modules/lma_collector/files/collectd/openstack_glance.py View File

@@ -83,7 +83,7 @@ class GlanceStatsPlugin(openstack.CollectdPlugin):
83 83
                 'meta': {'visibility': visibility, 'status': status},
84 84
             }
85 85
 
86
-plugin = GlanceStatsPlugin(collectd, PLUGIN_NAME)
86
+plugin = GlanceStatsPlugin(collectd, PLUGIN_NAME, disable_check_metric=True)
87 87
 
88 88
 
89 89
 def config_callback(conf):

+ 2
- 1
deployment_scripts/puppet/modules/lma_collector/files/collectd/openstack_keystone.py View File

@@ -80,7 +80,8 @@ class KeystoneStatsPlugin(openstack.CollectdPlugin):
80 80
             'values': len(roles),
81 81
         }
82 82
 
83
-plugin = KeystoneStatsPlugin(collectd, PLUGIN_NAME)
83
+plugin = KeystoneStatsPlugin(collectd, PLUGIN_NAME,
84
+                             disable_check_metric=True)
84 85
 
85 86
 
86 87
 def config_callback(conf):

+ 1
- 1
deployment_scripts/puppet/modules/lma_collector/files/collectd/openstack_neutron.py View File

@@ -110,7 +110,7 @@ class NeutronStatsPlugin(openstack.CollectdPlugin):
110 110
         yield {'type_instance': 'floatingips', 'values': len(routers)}
111 111
 
112 112
 
113
-plugin = NeutronStatsPlugin(collectd, PLUGIN_NAME)
113
+plugin = NeutronStatsPlugin(collectd, PLUGIN_NAME, disable_check_metric=True)
114 114
 
115 115
 
116 116
 def config_callback(conf):

+ 2
- 1
deployment_scripts/puppet/modules/lma_collector/files/collectd/openstack_neutron_agents.py View File

@@ -77,7 +77,8 @@ class NeutronAgentStatsPlugin(openstack.CollectdPlugin):
77 77
                 }
78 78
 
79 79
 
80
-plugin = NeutronAgentStatsPlugin(collectd, PLUGIN_NAME)
80
+plugin = NeutronAgentStatsPlugin(collectd, PLUGIN_NAME,
81
+                                 disable_check_metric=True)
81 82
 
82 83
 
83 84
 def config_callback(conf):

+ 2
- 1
deployment_scripts/puppet/modules/lma_collector/files/collectd/openstack_nova.py View File

@@ -64,7 +64,8 @@ class NovaInstanceStatsPlugin(openstack.CollectdPlugin):
64 64
             }
65 65
 
66 66
 
67
-plugin = NovaInstanceStatsPlugin(collectd, PLUGIN_NAME)
67
+plugin = NovaInstanceStatsPlugin(collectd, PLUGIN_NAME,
68
+                                 disable_check_metric=True)
68 69
 
69 70
 
70 71
 def config_callback(conf):

+ 2
- 1
deployment_scripts/puppet/modules/lma_collector/files/collectd/openstack_nova_services.py View File

@@ -79,7 +79,8 @@ class NovaServiceStatsPlugin(openstack.CollectdPlugin):
79 79
                 }
80 80
 
81 81
 
82
-plugin = NovaServiceStatsPlugin(collectd, PLUGIN_NAME)
82
+plugin = NovaServiceStatsPlugin(collectd, PLUGIN_NAME,
83
+                                disable_check_metric=True)
83 84
 
84 85
 
85 86
 def config_callback(conf):

Loading…
Cancel
Save