Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create BT based on method argument which is loaded when the method exits?

Highlighted

How to create BT based on method argument which is loaded when the method exits?

I want to profile a java class with method signature as below

 

public void executeLifecycleSteps(RequestInfo requestInfo) {
...
}

 

The problem is I want to name the BT on requestInfo.getTargetName()

The targetName is initially null and gets instantiated when one of the lifecyclesteps executes. Is there any way I can tell AppDynamics to calculate the BT name at the exist of the method?

Tags (2)
How to create BT based on method argument which is loaded when the method exits?