Bug 1417868

Summary: Missing "per minute" web-metrics for EAP 7
Product: [JBoss] JBoss Operations Network Reporter: bkramer <bkramer>
Component: Plugin -- JBoss EAP 7Assignee: Ruben Vargas Palma <rvargasp>
Status: CLOSED CURRENTRELEASE QA Contact: Filip Brychta <fbrychta>
Severity: high Docs Contact:
Priority: urgent    
Version: JON 3.3.6, JON 3.3.7CC: fbrychta, jmartine, loleary, rvargasp, spinder, stianlund+bugzilla
Target Milestone: ER01Keywords: Triaged
Target Release: One-off 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: 2017-07-13 15:17:55 UTC 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: 1417871    
Bug Blocks: 1327633, 1411825    

Description bkramer 2017-01-31 10:38:24 UTC
Description of problem:
In JBoss ON 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 JBoss ON 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):
JBoss ON 3.3.6, 3.3.7 
Application Platform Management Plug-in Pack Update-04 for JBoss ON 3.3


How reproducible:
Always

Steps to Reproduce:
1. Import EAP 7 standalone server into JBoss ON 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:

Comment 2 Josejulio Martínez 2017-03-03 23:05:18 UTC
commit 21f37193f2fc0be762cfe0b851de96b33c2dc9f9
Merge: 730168b 51e191c
Author: Michael Burman <yak>
Date:   Thu Mar 2 21:21:33 2017 +0200

    Merge pull request #295 from rubenvp8510/BZ1417868
    
    Bug 1417868 - Missing "per minute" web-metrics for EAP 7

commit 51e191ce29876ad7f6b393796b802d4cd6dc0404
Author: Ruben Vargas <ruben.vp8510>
Date:   Wed Mar 1 13:08:19 2017 -0600

    Bug 1417868 - Missing "per minute" web-metrics for EAP 7