Bug 982438

Summary: RFE: Resource and group reporting; translate per-minute to per-hour/day total
Product: [Other] RHQ Project Reporter: Elias Ross <genman>
Component: Core UIAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elias Ross 2013-07-09 04:03:59 UTC
RHQ shows, for example, an average of requests per minute for a servlet. This is great for an administrator and can clearly show the rise and fall during the day of requests (busy times) as well as provide comparisons between two days (which day had more frequent busier times.)

For *management* reporting purposes, I'd like to see a way to translate this into per-hour and per-day *total* metrics. For example, your per-minute request rate graph may look like:

|  xx  |  xxx
| x  x | x   
|x    x|x    x
  Day 1  Day 2

over, say, a two day period. The question then is how many total requests were on day one and day two. You would like to see:

|      |  x   | 
|  x   |  x   |
|  x   |  x   |
| 1232 | 1400 | <-- estimates at the bottom

Basically it's clear here that the second day was busier.

If this were calculus, we'd be integrating over two periods, day one and day two. Obviously, since we are dealing with discreet values, it's not entirely precise, but again it's more about doing comparisons not data reconciliation.

Weekly, hourly, monthly would also be great.

Also, for a resource group, the total should be multiplied by the number of group members.

For bonus points, it would be nice to assemble multiple graphs into one. For example, see the resource request rate and the error rate.

For more bonus points, have a way to schedule sending a CSV, PDF or PNG of the results to a script that can email or publish the results for future viewing.