DX Application Performance Management

Expand all | Collapse all

How to calculate the time taken between request sent and getting response from wily ?

Jump to Best Answer
  • 1.  How to calculate the time taken between request sent and getting response from wily ?

    Posted 06-18-2015 12:55 PM

    I have one package, one class but two methods (request and response) and want to calculate the time taken between the request sent and getting response.

    I see two similiar graphs, one for request type and one for response type with similiar values for average response time at a particular time. Little difference in values.

    How shall I check the time taken between the request and response ?



  • 2.  Re: How to calculate the time taken between request sent and getting response from wily ?

    Posted 06-18-2015 01:55 PM

    Hi,

    Is request() method subsequently making a call to response(), if yes then just instrumenting request() will give you time spent in response() + any extra time spent in request ().

    If request() doesn't do any additional processing before calling response() then what you see on graphs would be expected, with little bit of time diff. for request() metric vs. response().

     

    Regards,

    Kulbir.



  • 3.  Re: How to calculate the time taken between request sent and getting response from wily ?

    Posted 06-18-2015 02:46 PM

    Hi,

     

    For single user profiling, you can Take help from "trace View".

    Click on the "request" in trace view, you will get "Timestamp" value. That is actually the time when that particular method has been invoked out of full duration.

    For e.g. a full trace duration is 8secs and value of timestamp is 2 secs. So it indicates that this method\class was invoked at 2 seconds out of full 8 secs time period. Duration will give you the time consumed by that method\class.

     

    Hope it helps.

     

    Regards,

    Vaibhav



  • 4.  Re: How to calculate the time taken between request sent and getting response from wily ?

    Posted 06-23-2015 07:32 AM

    Hi,

    The code is developed using Blueprint and they are using CXF Endpoints of Fuse. Now this internally calls many java classes for request and response. We cannot instrument all the request and response classes because it will only give me the separate average response time of the particular request or response in the form of graph and not the overall response time. How shall we calculate the overall time taken and secondly how to show that in dashboard?



  • 5.  Re: How to calculate the time taken between request sent and getting response from wily ?

    Posted 06-24-2015 01:43 PM

    Have you tried enabling cross JVM fucnctionality ?

    Though it will not contain things which are not isntrumented, but atleast the correlated data for instrumented data will be available in traces to stitch the story.

     

    Regards,

    Vaibhav



  • 6.  Re: How to calculate the time taken between request sent and getting response from wily ?

    Posted 06-25-2015 11:58 AM

    Hi,

    Can you please elaborate the cross JVM functionality ? How to enable that and what data can we get from that ?



  • 7.  Re: How to calculate the time taken between request sent and getting response from wily ?
    Best Answer

    Posted 07-27-2015 04:48 PM

    Dear pvpalval:

    This is from the APM Java Agent Guide

     

    Cross-Process Transaction Tracing

    The CA Introscope® Java agent can trace transactions that cross JVM boundaries on WebLogic Server or WebSphere. The environment must be comprised of compatible versions of the application server by the same vendor. Cross-process transaction tracing is supported for synchronous transactions, for instance servlets to EJBs, and asynchronous transactions.

    Important! Cross-process transaction tracing is available only with CA Introscope® 9.0 agents at a minimum.

    More information:

    Enable cross-process tracing in WebLogic Server

    Enable cross-process tracing in WebSphere

     

    You read further in the documentation as required

     

    Thanks

    Hal German APM Support



  • 8.  Re: How to calculate the time taken between request sent and getting response from wily ?

    Posted 07-28-2015 12:25 PM

    Dear pvpalval::

     

    Have you read further on Cross-JVM tracing?

    Thanks

    Hal German

    APM Support



  • 9.  Re: How to calculate the time taken between request sent and getting response from wily ?

     
    Posted 07-28-2015 12:40 PM

    This topic is totally unrelated to Cross-JVM tracing.

    It's about asynchronous Web Service / HTTP request processing.  The in parallel discussed monitoring solution for JBoss Fuse covers asynchronous round trip times for CXF WebServcies on the Consumer and Producer side.

     

    Asynchronous_Producing_Web_Services .png

    Asynchronously_Consumed_Web_Services.png

     

    Thanks