From 99bf5687634fcb3f8f0f0f0e4c26c0299bfd9d1a Mon Sep 17 00:00:00 2001 From: Mark O'Neill Date: Mon, 31 Jul 2017 15:09:21 +0100 Subject: [PATCH] Add unit mappings for new plugins collectd 5.7.2 Unit mappings for dpdkstat, hugepages, intel_rdt Change-Id: Ia06d61493a2a0600684520960f5cf5b9297e0b70 --- collectd_ceilometer/common/units.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/collectd_ceilometer/common/units.py b/collectd_ceilometer/common/units.py index e97779c..5f2b89b 100644 --- a/collectd_ceilometer/common/units.py +++ b/collectd_ceilometer/common/units.py @@ -76,6 +76,17 @@ UNITS = { 'dns.dns_octets': 'b/s', 'dns.dns_rcode': 'Queries/s', + 'dpdkstat.derive': 'Errors', + 'dpdkstat.errors': 'Errors', + 'dpdkstat.if_rx_dropped': 'Dropped', + 'dpdkstat.if_rx_errors': 'Errors', + 'dpdkstat.if_rx_octets': 'Bytes', + 'dpdkstat.if_rx_packets': 'Packets', + 'dpdkstat.if_tx_errors': 'Errors', + 'dpdkstat.if_tx_octets': 'Bytes', + 'dpdkstat.if_tx_packets': 'Packets', + 'dpdkstat.operations': 'Ops', + 'entropy': 'b', 'filecount.files': 'Files', @@ -86,6 +97,14 @@ UNITS = { 'hddtemp': '°C', + 'hugepages.bytes': 'Bytes', + 'hugepages.vmpage_number': 'Pages', + 'hugepages.percent': '%', + + 'intel_rdt.ipc': 'instructions/cycle', + 'intel_rdt.memory_bandwidth': 'Bytes', + 'intel_rdt.bytes': 'Bytes', + 'interface.if_dropped': 'Packets/s', 'interface.if_errors': 'Errors/s', 'interface.if_packets': 'Packets/s',