Bug 1461800

Summary: Metrics numeric value for records with only one value are reported as array and not a number
Product: Red Hat Enterprise Virtualization Manager Reporter: Shirly Radco <sradco>
Component: rubygem-fluent-plugin-collectd-nestAssignee: Shirly Radco <sradco>
Status: CLOSED ERRATA QA Contact: Lukas Svaty <lsvaty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1.2CC: lsvaty, rmeggins
Target Milestone: ovirt-4.1.3Keywords: Rebase, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-06 07:31:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1402901, 1455608    

Description Shirly Radco 2017-06-15 11:03:56 UTC
Description of problem:
Metrics numeric value for records with only one value are reported as array and not as a number.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Set up metrics store.
2. Set up metrics on the hosts and engine.
3. Search for the value of plugin such as cpu, memory and see that is reported as a number.

Actual results:
field is reported as an array.

Expected results:
field is reported as a number.

Additional info:

Comment 2 Sandro Bonazzola 2017-06-15 15:22:19 UTC
Need a rebase on 0.1.4

Comment 4 Lukas Svaty 2017-06-20 10:03:27 UTC
tested on memory and cpu, both values reported as numbers

ovirt-engine-metrics-1.0.4.2-1.el7ev.noarch

Comment 6 errata-xmlrpc 2017-07-06 07:31:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:1693