Pls help me to create the BT which will show me the time for the each argument for the method. so that I can create report for different argument called by same method. Also will be able to see the time consumed by the argument. Pls find the snap as below;
Answer by Graeme W. ·
Shirish,
You can get the time taken by individual web requests by using the Web Requests - Time measure template. You would have to create a separate measure for each URL (or URL pattern) you are interested in, but after that you could use the measures in charting (e.g., to show the average, max, etc.) or as a result measure in a business transaction.
Note that this won't give you an analysis broken down by the second argument to CallRequestReply – just the URL -- and will only work if the outgoing call is identified as a web request.
-- Graeme
Answer by Shirish R. ·
Sure thanks,
you mean to say that there is way to find the exec. time of the URL in argument? if yes, then pls help me to get it.
Answer by Graeme W. ·
Shirish,
There's no way to do exactly what you want within Dynatrace. Business transactions can pick out methods with particular argument values, and they can return the execution time of particular methods, but at the moment there's no way to return the execution time of a method with particular argument values.
It looks like these are calls to external services. If you're just interested in the time taken by the external call – as opposed to the entire callRequestReply method – there may be something we can do based on that.
-- Graeme
Answer by Shirish R. ·
thanks for your reply!
This method been called multiple times in one PP also each time the argument is different.
Pls find the attached snap.
Answer by Graeme W. ·
Shirish,
That depends a little bit on how this method is called. Is it only called once per PurePath?
If so, you could define a measure to extract the argument value, and use that as a splitting measure in a PurePath business transaction.
Then, define a measure to return the method execution time and add it as a result measure to the business transaction.
If you can confirm that the method is only called (at most) once, I can give you more details of the BT, if you like.
-- Graeme
JANUARY 15, 3:00 PM GMT / 10:00 AM ET