Remove hostname for global hypervisor metrics
Change-Id: Ic66523d4d54465947699833c5e9a5a7d99f60388
diff --git a/collectd/files/plugin/hypervisor_stats.py b/collectd/files/plugin/hypervisor_stats.py
index 5fc3bdb..7d1696f 100644
--- a/collectd/files/plugin/hypervisor_stats.py
+++ b/collectd/files/plugin/hypervisor_stats.py
@@ -140,6 +140,7 @@
'meta': {
'aggregate': agg,
'aggregate_id': agg_id,
+ 'meta': {'discard_hostname': True}
}
}
# Dispatch the global metrics
@@ -147,6 +148,7 @@
yield {
'type_instance': 'total_{}'.format(k),
'values': v,
+ 'meta': {'discard_hostname': True}
}
plugin = HypervisorStatsPlugin(collectd, PLUGIN_NAME,