question

Josep C. avatar image
Josep C. asked ·

Calls an time measures to one method splited by argument

Hi all,

we've one method with one parameter like method1(String param), in appmon is possible to obtain the number of calls and the time (avg, max, min, sum) for the calls to this method splitted by the argument without create one specific measure for every param in the method?


Creating one BT splitting by the method param is not the solution for two reasons:

- in one pure path there's several calls to this method

- we want the number of calls and the time (avg, max, min, sum) for the method calls, not for the hole pure path.

Regards, Josep Maria

monitoringjava7.2measuressensors
10 |2000000 characters needed characters left characters exceeded

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

Arturo R. avatar image
Arturo R. answered ·

Hi,

The only way to have that information is calculating the result per argument (number and time) per method call. Also, consider the aggregation when calculating them, because as you already said, are purepath oriented.

Is useful to isolate certain (problematic...) args passed and fix them.

A generic way, as ponted bu @sebastian k., is available o Dynatrace.

Best regards

Arturo

Share
10 |2000000 characters needed characters left characters exceeded

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

Sebastian K. avatar image
Sebastian K. answered ·

May be try this:

Make such measure that will count execution time of method and use it as result measure of BT. Create as well splitting by argument value. In such case you should have what you need.

Sebastian


4 comments Share
10 |2000000 characters needed characters left characters exceeded

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

Hi Sebastian,

this will work but only with pure paths with one call to the method. The problem is with pure paths with more than one call to the method.

Regards, Josep Maria


Ps: this problem is described also here: https://answers.dynatrace.com/spaces/148/uem-open-q-a_2/questions/110673/business-transaction-to-show-the-method-and-its-ar.html



0 Likes 0 · ·

I don't have any other ideas how to handle this case right now. If I will find out any idea I will come back to you. For now I think method hotspots dashboard may be good source for you but it's based on purepaths and it's rather slow.

Sebastian

0 Likes 0 · ·

Hi Sabastian,


thanks for your response, I think this is one capability not available in appmon because it's pure path centric. Ruxit is service centric and maybe this is possible.


Regards, Josep Maria

0 Likes 0 · ·

In Dynatrace you can make service based on this particular method. You will have response time of all transactions that are executed by this method. And yes your case then will be resolved because you can use there request attribute (method argument value) for creating multidimensional analysis view. There you will have your parformance splitted by argument as you want.

Sebastian

0 Likes 0 · ·