Description of problem: The collectd swap plugin reports records but the collectd.swap.swap and collectd.swap.swap_io do not contain value when we inspect the data in Kibana. Version-Release number of selected component (if applicable): 1.0.3 How reproducible: Steps to Reproduce: 1.Setup engine and hosts 2.Setup the metrics store 3.Install metrics+logging on engine and hosts 4.Filter by collectd.plugin=swap in Kibana 5.Check the value of the collectd.swap.swap and collectd.swap.swap_io fields Actual results: The collectd.swap.swap and collectd.swap.swap_io are3 empty Expected results: The fields should show the swap actual value Additional info:
This was found as a more general problem. It seems that the fluent-plugin-viaq_data_model removes the numeric value for records that contain only one value. This needs further investigation. I asked Rich Megginson to check the plugin.
This is a bug in the viaq plugin: https://github.com/ViaQ/fluent-plugin-viaq_data_model/pull/5
https://github.com/centos-opstools/rubygem-fluent-plugin-viaq_data_model/pull/1
New package is available upstream: http://cbs.centos.org/repos/opstools7-fluentd-012-candidate/x86_64/os/Packages/ [ ] rubygem-fluent-plugin-viaq_data_model-0.0.5-1.el7.noarch.rpm 14-Jun-2017 17:09 9.7K
waiting for new build with the verification
values are reported correctly in ovirt-engine-metrics-1.0.4.3-1.el7ev.noarch "collectd": { "dstypes": [ "derive" ], "interval": 10, "plugin": "swap", "type": "swap_io", "type_instance": "in", "swap": { "swap_io": 0 } "collectd": { "dstypes": [ "gauge" ], "interval": 10, "plugin": "swap", "type": "swap", "type_instance": "used", "swap": { "swap": 4186112 }