Bug 1420682 - Undertow metrics processing-time, processing-time-per-minute and max-processing time do not show "unit" in the graph
Summary: Undertow metrics processing-time, processing-time-per-minute and max-processi...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 1420681
TreeView+ depends on / blocked
 
Reported: 2017-02-09 10:06 UTC by bkramer
Modified: 2020-04-27 01:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
added processing-time-per-minute.png screen shot (120.21 KB, image/png)
2017-02-09 10:07 UTC, bkramer
no flags Details

Description bkramer 2017-02-09 10:06:02 UTC
Description of problem:
Undertow metrics "Processing Time", "Processing Time per Minute" and "Max Processing Time" do not have units defined in the graph. According to the EAP code, "Processing Time" and "Max Processing Time" are shown as nanoseconds. However, metric graphs in our UI do not show unit on the Y axis and collected numbers are huge - see attached processing-time-per-minute.png screen shot [1].

Additionally, it seems that we don't show units for all other metrics - see "Bytes Sent per Minute" graph on the same processin-time-per-minute.png screen shot.   

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

How reproducible:
Always

Steps to Reproduce:
1. Install RHQ;
2. Start and import EAP 7 server into RHQ inventory;
3. Enable statistics on the EAP 7 server by executing:

    /subsystem=undertow:write-attribute(name="statistics-enabled",value=true)

4. Enable processing-time collection by setting "record-request-start-time" to true:

    /subsystem=undertow/server=default-server/http-listener=default:write-attribute(name="record-request-start-time",value=true)

5. Create requests/load on this http-listener


Actual results:
Huge numbers are shown in the "Processing Time per Minute" graph and without unit - for instance 49990188766.4934 

Expected results:
The value 49990188766.4934 - is shown as seconds and the graph shows correct unit.

Comment 1 bkramer 2017-02-09 10:07:06 UTC
Created attachment 1248770 [details]
added processing-time-per-minute.png screen shot


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