• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by Prathamesh J. · Aug 20, 2014 at 06:25 PM ·

Query regarding transaction flow

transaction flow.png

Hi,

I have a query regarding the timing information shown in transaction flow.

As shown in attachment the Response Time for user action "Click on iAnalyze" is 8631ms and if I see the transaction flow for user action I can see the time spent on web server is 1.15s, on app server it took 11.86 s,in domain less call it spent 5.74s and on sql server it spent 122.93ms.

Now my question is how the response time is calculated as 8631ms because if I sum up all the time on each tier it is coming more than 8631ms.

Please help me to find out the exact reason for this

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

16 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Graeme W. · May 27, 2015 at 12:09 AM

Ricardo,

Yes, in the general case you can't calculate the response time contribution of each tier from the execution times.  Just to be completely clear, this is not so much a Dynatrace limitation as it is a limitation on what can be known about asynchronous execution.

But in any particular case, you might know enough about the application to be able to do make the calculation.

For example, if you knew that tier A called both tiers B and C but only waited for C, you might be able to calculate the response time contribution by looking at the execution times of tiers A and C.

-- Graeme

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Graeme W. · May 26, 2015 at 10:40 PM

Ricardo,

As you say, the Transaction Flow provides information on both response time and execution time.

The problem with a simple translation from one to the other – at least in the case of applications that include asynchronous inter-tier communications – is that it would seem to require a detailed model of locks, threads and the thread pool.

Suppose a thread on one tier makes an asynchronous call to another thread on the same tier, which sometimes makes a call to another tier.  Sometimes, perhaps based on the data being processed, the first thread waits for the second to complete and sometimes it doesn't.  We know the response time of the first thread, and we know the execution time of all the individual threads, but how do we know how much of response time  to charge to the downstream thread execution times?

So the answer to your question is that Dynatrace doesn't allow you to apply the Execution Time % breakdown to the Response Time.  Also, I don't think it's that simple.

-- Graeme

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Ricardo C. · May 26, 2015 at 10:57 PM 0
Share

Thanks Graeme,

So are you saying the percentage breakdown on the Transaction Flow is not really useful to determine the Response Time contribution for each Tier?

avatar image

Answer by Ricardo C. · May 20, 2015 at 09:34 AM

Question related to this statement above: The Response Time of PurePaths DOES NOT include Client Time. Client Time can be seen if you have UEM. It is captured and shown in the User Action PurePaths.

If we have UEM, will we still be able to see Client Time in User Action PurePath if the load was generated thru Load Runner?  Or will the load need to be generated thru QTP?

 

 

Comment

People who like this

0 Show 3 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Andreas G. ♦ · May 20, 2015 at 03:11 PM 0
Share

UEM is capturing data through the JavaScript agent we load into your website. If you use Load Runner UEM will only work if Load Runner actually loads and executes that JAvaScript file. In a "regular HTTP-based" Load Runner script this is not the case as you are just simulating HTTP Traffic. Load Runner has an option as far as I know that simulate a "TruClient". That would then also execute our JavaScript code and capture UEM data. QTP would do the same thing as it drives the browser

Andi

avatar image Ricardo C. Andreas G. ♦ · May 20, 2015 at 10:26 PM 0
Share

Question related to this statement above:  PurePath is able to follow synchronous and asynchronous transactions. In the Transaction Flow you see the time spent on each tier including time spent when this tier is called asynchronously.

The Transaction Flow shows the percentage breakdown for each tier for response time contribution.  But the percentage shown is based on Exec Sum (ms)column figure (syn + asyn) and not on the Response Time (ms) column.  So if we want to know just the Response Time contribution for a tier, would it be accurate to apply the percentage shown on the Transaction Flow?

So for example, if the Transaction Flow shows 47% for Tier JVM1, would it be accurate to state that Response Time contribution is 1960 (ms)?  47% of 4170 Response Time (ms) column = 1960 (ms). 

Since the Response Time (ms) column is for synchronous transactions only, would it be accurate applying the percentage against the Response Time (ms) column?

 

 

 

avatar image Ricardo C. Andreas G. ♦ · May 26, 2015 at 10:14 PM 0
Share

Hi Andreas, could you help me with my question above?

avatar image

Answer by Ed P. · May 19, 2015 at 03:57 AM

Hi guys

Jerry Lobenstein I have done a very similar report and the numbers don't add up. My PurePath duration is less than my web request. In some cases the PurePath is slightly less. The subpath -java and backend are the same time. DB time is the most accurate. Seems many people have this requirement. A chart of tier distribution as a percentage. Matching transaction Flow.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jerry L. · Dec 23, 2014 at 07:04 AM

Ok,  I assume your agents are connected and reporting in and data is being collected?   I would make sure via the Agent Overview this is the case, also you see Purepath data for the desired tier/agent.

Then make sure you have selected the Tier SubPath Measure Specific Attribute (Java, Net, Backend, etc.)

Under the measure details tab check to make sure your calculating for all applications and all agents.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jerry L. · Dec 23, 2014 at 05:48 AM

Hi Rajesh, 

Are you looking for a chart like below(could be pie, bar or line chart)?

Here are the measures I charted (Tier Subpaths, DB Time, Estimated Client Time)

Here is the specific value I have on the tier time measure

 

 

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Rajesh V. · Dec 23, 2014 at 06:42 AM 0
Share

Hi Jerry,

Yes. That's the kind of chart i am looking for. I tried to create couple of measures for Java tiers in my application, but when i added them back to chart no data populated. Don't know why, kindly help me.

 

Thanks for your support.

 

 

avatar image

Answer by Rajesh V. · Dec 23, 2014 at 03:57 AM

Hi, Could you please help me to chart the response time of each tier?

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Sep 25, 2014 at 08:48 PM

The Response Time of a PurePath is the execution time of the first node in the PurePath. In yesterdays Community Webinar I discussed Response Time vs. Duration as well as Exec Time vs. Total Exec Time. You can watch the recording on APM University: http://apmuonline.compuwareapm.com/course/view.php?id=724

 

Here are two images of the slides I used to explain these numbers:

 

The Response Time of PurePaths DOES NOT include Client Time. Client Time can be seen if you have UEM. It is captured and shown in the User Action PurePaths

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Prathamesh J. · Sep 25, 2014 at 07:59 PM

Can you please elaborate how the response time is calculated and does it calculate client time in response time.

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Richard H. · Sep 24, 2014 at 12:36 AM

 

I there a way to see/display these synchronous and async components relative to the whole transaction trace "sort of" like how dT displays hotspots in the upper left frame-let. For example one bar for the whole transaction duration. Then other parallel bars for the processings in the different agent nodes, and for both sync and async processings inside those, basically visually showing relatively when those processings were occurring (start to end times of them relative to the whole purePath). Basically somewhat simular idea as the hotspot display to give you a visual reference of what was happening in the selected purePath. Is this ability already there somewhere and I've never connected with it. I don't see a way to get this out of the transaction flow dashlet or the hotspot either but I might have missed some button somewhere.

 

Thanks,

Rich

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

  • 1
  • 2
  • ›

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A