Bug 1417871

Summary: Missing "per minute" web-metrics for EAP 7
Product: [Other] RHQ Project Reporter: bkramer <bkramer>
Component: PluginsAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
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:
Bug Depends On:    
Bug Blocks: 1417868    

Description bkramer 2017-01-31 10:44:51 UTC
Description of problem:
In RHQ plugin for EAP 6 metrics: Bytes Received, Bytes Sent, Error Count, Processing Time and Request Count were defined as "trendsup" so we had Bytes Received per Minute, ... Request Count per Minute.

However, this is not the case in RHQ plugin for EAP 7. From EAP 7 rhq-plugin.xml file:


         <plugin-configuration>
           <c:simple-property name="path" readOnly="true" default="https-listener"/>
         </plugin-configuration>
 
         <metric property="bytes-received" description="The number of bytes that have been received by this listener"/>
         <metric property="bytes-sent" description="The number of bytes that have been sent out on this listener"/>
         <metric property="error-count" description="The number of 500 responses that have been sent by this listener"/>
         <metric property="max-processing-time" description="The maximum processing time taken by a request on this listener"/>
         <metric property="processing-time" description="The total processing time of all requests handed by this listener"/>
         <metric property="request-count" description="The number of requests this listener has served"/>


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



How reproducible:
Always

Steps to Reproduce:
1. Import EAP 7 standalone server into RHQ inventory;
2. Navigate to Inventory -> Servers -> EAP 7 -> Subsystems -> Web -> undertow -> Servers -> default-servers -> Http Listener -> default -> Monitoring -> Schedules


Actual results:
Available metrics are: Availability, Bytes Received, Bytes Sent, Error Count, Max Processing Time, Processing Time and Request Count.

Expected results:
We should see "per minute" metrics as well: Bytes Received per Minute, Bytes Sent per Minute, Error Count per Minute, Processing Time per Minute and Request Count per Minute.

Additional info: