Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1232188

Summary: RT Gov:Properties are not logged for external components.
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: shsrivas
Component: RT GovernanceAssignee: Nobody <nobody>
Status: CLOSED UPSTREAM QA Contact: Matej Melko <mmelko>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: soa-p-jira
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: 2025-02-10 03:47:44 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:

Comment 1 Gary Brown 2015-06-16 11:22:54 UTC
I believe the problem is two fold:

1) Response times are only created (and logged in Elasticsearch) for the called services (i.e. consumer side), so the external invocation of remote (unmonitored) services is not recorded in Elasticsearch (as response time info).

2) The invocation details compiled as part of building a service description does not include the properties - so even if invocations (producer side) response times were recorded, the properties would not currently be available.


A solution would be to also record producer side response time information, and distinguish producer/consumer on the response time - as in some situations a single invocation may result in two response times being logged - one for the consumer side and one for the producer - so the user could filter out either depending on what they are interested in.

Does this sound a reasonable solution?

Comment 2 shsrivas 2015-06-16 11:38:08 UTC
Point1:I am not sure about this point or I did not understand it well.
In elastic search I can see the complete response(RequestReceived/RequestSent/RequestReceived/ResponseReceived/ResponseSent)

Point2:Agreed

Solution looks quite reasonable and will enhance the product flexibility.Because as of now we are logging the complete payload(Which can be very large) and we have to parse it for retrieving the value.While in case of property we can have it as indexed elastic search properties.

Comment 3 Gary Brown 2015-06-16 11:48:05 UTC
It sounds like the properties are being captured in the raw activity information (request/response sent/received), which is also stored in elasticsearch, but is not available in the response time information, which is indirectly derived from the code you referenced in your original comments.

So I'll build a community jar with the proposed change, and then you can try it out to see if it provides the functionality you require.

Comment 4 shsrivas 2015-06-16 13:02:25 UTC
Created attachment 1039470 [details]
sample Response from elastic search.Please open it in json editor

Comment 9 Red Hat Bugzilla 2025-02-10 03:47:44 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.