cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to capture the return value of a method?

Hello,

Is it possible to capture the return value of a Java method in Dynatrace?

Best Regards,

Fousseyni B.

 

1 REPLY 1

Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

Yes you can.

Settings -> Server Side Service Monitoring -> Request Attributes.

Create a new Request Attribute and in the Data Source section, specify "Java Method Parameters".

Once you've defined the class.method, you will be provided a pulldown to choose the 'Return Value' value of the specified method.

Here's the doc page which describes this feature. https://www.dynatrace.com/support/help/monitor/tra...