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
Answer by Arturo R. ·
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.
Answer by Sebastian K. ·
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.