Bug 1218150 - Calltime metrics sort does not work properly
Summary: Calltime metrics sort does not work properly
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Monitoring
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1218129
TreeView+ depends on / blocked
 
Reported: 2015-05-04 09:45 UTC by bkramer
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

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


Attachments (Terms of Use)
screen shot that shows incorrectly sorted values; (210.37 KB, image/png)
2015-05-04 09:45 UTC, bkramer
no flags Details

Description bkramer 2015-05-04 09:45:53 UTC
Created attachment 1021613 [details]
screen shot that shows incorrectly sorted values;

Description of problem:

In Calltime page, some values are displayed in ms and others in s. When using sort a column option, RHQ sorts the values as strings which gives a wrong result (see attached screen shot).

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

How reproducible:
Always

Steps to Reproduce:

1. Configure Response time metrics or just simply navigate to RHQ Server -> Deployments -> rhq.ear -> Subdeployments -> coregui.war -> web -> Monitoring -> Schedules and enable "Response Time" metric.

2. For the same resource, navigate to Monitoring -> Calltime and wait for the collected data to be displayed;

3. Click on "Total Time" (make sure that there are metrics shown in s(seconds) and ms (miliseconds)) and then click on the arrow next to the "Total Time" column;

Actual results:
Values are sorted but as strings so the "Total Time" will show:
3.0 ms
3.5 s
4.0 ms
4.0 ms
4.5 s
5.0 ms
...

Expected results:
Values should be sorted properly:
3.0 ms
4.0 ms
4.0 ms
5.0 ms
...
3.5 s
4.5 s
...


Additional info:
see attached screen shot - calltime_metrics.png.


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