AppD Archive

Measure a recursive method

CommunityUser
Splunk Employee
Splunk Employee

Hi,

I'd like to measure a recursive Java-method and split every call by the first parameter.

Is there any way my AppDynamics Pro-version can do this?

Thanks in advance for your answer.

Tags (2)
0 Karma
1 Solution

Arun_Dasetty
Super Champion

Hi Ramiz,

 See if adding "snapshot data" config as part of CEP rule helps here,Custom exit point will be shows like JDBC/HTTP backend in call graph exit calls column and in the popup you should see snapshot data config added on target API:

https://docs.appdynamics.com/display/PRO41/Configure+Custom+Exit+Points

View solution in original post

0 Karma

Arun_Dasetty
Super Champion

Hi ,

Have you gone through the follwoing feature, pojo BT split option:

https://docs.appdynamics.com/display/PRO41/POJO+Entry+Points#POJOEntryPoints-pojo-splittingDynamical...

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks for the reply.

I created a new POJO-type entry point rule, checked "Match Classes with a Class Name that Equals *full class name*" and "Method Name Equals *call*".
On the Transaction-Splitting tab I selected the first two checkboxes and entered "Parameter index *0* Getter Chain to run on method parameter *toString()*".
..saved the rule, restarted the IBM-Websphere server, triggered the Application and waited for my Transaction-Snapshots to pop up.

As soon as a snapshot was displayed I clicked on it and chose "View Transaction Snapshot".

Then I "drilled down" where I opened the call graph. (I attached an example call graph)


Now what I'd like to see is with which parameter every recursive call of the call-Method was invoked with.

0 Karma

Arun_Dasetty
Super Champion

Hi,

Can you check if below feature helps , add collector on target method parameter index this will be part of snapshot/call graph for new load in UI:

image.png

image.png

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi,

the technical issues were resolved and I could finally test the Data Collector.

Unfortunately, I have still not reached my desired goal.

The Data Collector shows all the first parameters of the called recursive function but in a different window ("User Data").

What I need is a combined view of those parameters within the callgraph.

Is there something else I can try?

Sincere regards,

Ramiz

0 Karma

Arun_Dasetty
Super Champion

Hi Ramiz,

 See if adding "snapshot data" config as part of CEP rule helps here,Custom exit point will be shows like JDBC/HTTP backend in call graph exit calls column and in the popup you should see snapshot data config added on target API:

https://docs.appdynamics.com/display/PRO41/Configure+Custom+Exit+Points

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Akumar,

thank you very much for your patience and help!

Today I tested the Custom Exit Points and now I finally get the needed information in the snapshots call graph.

Best regards,

Ramiz

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi,

thanks for the quick reply!

Unfortunately, we have some technical difficulties with our server at the moment and I can't access our AppDynamics-Controller.

I will test the Data Collector and reply as soon as possible.

Sincere regards,

Ramiz

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...