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
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...