question

Bouare F. avatar image
Bouare F. asked ·

How to capture the return value of a method ?

Hello,

Is it possible to capture the return value of a java method on Dynatrace managed ?

Best Regards,

Fousseyni B.

configurationDynatrace Managedoneagentjava
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Joe H. avatar image
Joe H. answered ·

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...

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.