Monitor arguments and return value of methods
To monitor/capture arguments and return value of any method in applicare simply add the method as key business transaction and enable transaction tracing. In the trace, the return value of the method will be shown in the param _ap_txn_ret_val.
Sample:
To monitor arguments and return value of getInterger method we should add it as key business transactions.
In the above case,
_ap_txn_ret_val shows the return value and javal.lang.Integer & java.lang.String shows the value of the arguments passed to the method getInterger()
Please sign in to leave a comment.
Comments
0 comments