Bug 1459764 - Collectd records with one numeric value are not reporting the numeric value to the metrics store
Summary: Collectd records with one numeric value are not reporting the numeric value t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-metrics
Classification: oVirt
Component: Generic
Version: 1.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.1.3
: 1.0.4.3
Assignee: Shirly Radco
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On: 1461690 1464394
Blocks: oVirt-Metrics-and-Logs 1456459
TreeView+ depends on / blocked
 
Reported: 2017-06-08 06:57 UTC by Shirly Radco
Modified: 2017-07-06 14:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-06 14:01:46 UTC
oVirt Team: Metrics
Embargoed:
rule-engine: ovirt-4.1+
lsvaty: testing_ack+


Attachments (Terms of Use)

Description Shirly Radco 2017-06-08 06:57:22 UTC
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:

Comment 1 Shirly Radco 2017-06-13 07:37:50 UTC
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.

Comment 2 Rich Megginson 2017-06-13 15:00:22 UTC
This is a bug in the viaq plugin: https://github.com/ViaQ/fluent-plugin-viaq_data_model/pull/5

Comment 4 Rich Megginson 2017-06-14 17:29:00 UTC
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

Comment 5 Lukas Svaty 2017-06-22 09:33:47 UTC
waiting for new build with the verification

Comment 6 Lukas Svaty 2017-06-26 13:35:00 UTC
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
      }


Note You need to log in before you can comment on or make changes to this bug.