Bug 1063337 - Resource metric graph portlet y axis not displaying numbers properly
Summary: Resource metric graph portlet y axis not displaying numbers properly
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI, Usability
Version: 4.9
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-10 14:20 UTC by Jirka Kremser
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
foo (486.53 KB, image/png)
2014-02-10 14:20 UTC, Jirka Kremser
no flags Details
bar (449.36 KB, image/png)
2014-02-10 14:21 UTC, Jirka Kremser
no flags Details

Description Jirka Kremser 2014-02-10 14:20:23 UTC
Created attachment 861403 [details]
foo

Description of problem:
Resource metric graphs used in RHQ can't display the large enough numbers on the y axis. If the monitored metric has no basic unit, and thus it is unable to use a k/M/G prefixes, the number should be probably presented in 10^n (base to exponent) manner.


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

How reproducible:
always

Steps to Reproduce:
1. add resource metric graph dashboard of resource "Perm_Gen" (JbossAS7/platform-mbean/memory-pool)
2. observe

Actual results:
only the right-most zeros are displayed on the y axis (see the attached images)

Expected results:
something like: 1 * 10^6, 2 * 10^6, ... or perhaps even just 1, 2, 3, ... with some indication that those numbers are in millions/thousands


Additional info:
the numbers reported by the Perm_Gen resource should represent the memory size, however the plugin descriptor lacks the base units for these metrics. There is another bug 1063335 for it.

Comment 1 Jirka Kremser 2014-02-10 14:21:42 UTC
Created attachment 861405 [details]
bar

the same issue on a pop-up version of the graph


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