Bug 1004173
Summary: | SRT does not display data for min and max metrics | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Jiri Pechanec <jpechane> | ||||
Component: | RT Governance | Assignee: | Gary Brown <gbrown> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Sedlacek <jsedlace> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.0.0 GA | CC: | jpechane, oskutka, soa-p-jira | ||||
Target Milestone: | ER3 | ||||||
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: | |||||||
Attachments: |
|
Description
Jiri Pechanec
2013-09-04 06:58:14 UTC
Created attachment 793505 [details]
Screenshot
Notice the metrics in service overview and no difference in SRT gadget
It seems that the issue is in active collection. If I execute the query manually then I get something like this { "interface":"org.jboss.soa.qa.rtgsrt.SRTService", "timestamp":1378278790293, "min":1024, "max":1024, "serviceType":"{ urn:switchyard-soa:rtgov_srt:0.1.0 }SRTTest/SRTService", "operation":"twoWay", "fault":null, "average":1024, "requestId":null, "responseId":null, "context":[], "properties":{ } AggregateServiceResponseTime.mvel uses only getAverage() calls never getMin() or getMax() - is it correct? This is probably where the issue is - it averages based on the average value of each response time, setting the min/max values of those averages, rather doing an average calc for min, avg and max separately. Have applied a change to the mvel script (https://github.com/Governance/rtgov/commit/9c547e723ff0608835c9992dcab3bf956f7d8a9e) - could you try this out, as not sure whether this is related to the issue you are seeing. If not, then can you provide more information to help reproduce the problem scenario. It works as expected, good job Verified in ER3 Gary Brown <gary> updated the status of jira RTGOV-268 to Closed |