Bug 1518736 - decbytes and bytes on dashboards
Summary: decbytes and bytes on dashboards
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-monitoring-integration
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.4.0
Assignee: Ankush Behl
QA Contact: Filip Balák
URL:
Whiteboard:
Depends On:
Blocks: 1503134
TreeView+ depends on / blocked
 
Reported: 2017-11-29 14:22 UTC by Lubos Trilety
Modified: 2018-09-04 07:00 UTC (History)
3 users (show)

Fixed In Version: tendrl-ansible-1.6.1-2.el7rhgs.noarch.rpm, tendrl-api-1.6.1-1.el7rhgs.noarch.rpm, tendrl-commons-1.6.1-1.el7rhgs.noarch.rpm, tendrl-monitoring-integration-1.6.1-1.el7rhgs.noarch.rpm, tendrl-node-agent-1.6.1-1.el7, tendrl-ui-1.6.1-1.el7rhgs.noarch.rpm,
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 06:59:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2616 0 None None None 2018-09-04 07:00:23 UTC

Description Lubos Trilety 2017-11-29 14:22:23 UTC
Description of problem:
There's ambiguity in uses of decimal and binary metric for capacity in Grafana as both are used:

E.g.
tendrl-gluster-bricks.json
"The Capacity Available panel displays the available capacity for a given volume."
uses binary metric powers of 1024 - "format": "bytes", while
"The Weekly Growth Rate panel displays the forecasted weekly growth rate for capacity utilization computed based on daily capacity utilization."
uses decimal pwers of 1000 - "format": "decbytes"


Version-Release number of selected component (if applicable):
tendrl-monitoring-integration-1.5.4-8.el7rhgs.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install tendrl-monitoring-integration package
2. Look on json files in /etc/tendrl/monitoring-integration/grafana/dashboards/ directory

Actual results:
bytes, kbytes and decbytes is used for capacity metrics

Expected results:
Only decimal or binary metric should be used for any capacity metric. It should be unified on all dashboards.

Additional info:

Comment 1 Nishanth Thomas 2017-11-29 14:32:53 UTC
Not critical to address at the point of time. Proposing to move out to a future release.

Comment 3 Filip Balák 2018-05-11 12:29:32 UTC
Only binary metric is used for capacity metrics:
tendrl-gluster-at-a-glance uses kbytes
tendrl-gluster-bricks uses bytes
tendrl-gluster-hosts uses bytes
tendrl-gluster-volumes uses kbytes
--> VERIFIED

Tested with:
tendrl-ansible-1.6.3-3.el7rhgs.noarch
tendrl-api-1.6.3-3.el7rhgs.noarch
tendrl-api-httpd-1.6.3-3.el7rhgs.noarch
tendrl-commons-1.6.3-4.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-2.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-2.el7rhgs.noarch
tendrl-node-agent-1.6.3-4.el7rhgs.noarch
tendrl-notifier-1.6.3-2.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-1.el7rhgs.noarch

Comment 5 errata-xmlrpc 2018-09-04 06:59:21 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/RHSA-2018:2616


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