Can dynaTrace be used to investigate Object? We have Object Model issue - the size of Object Model is 4 times bigger than normal transaction. We have dynaTrace 6.0 and 6.1.
Can dynaTrace convert object argument to string?
Answer by Kristof R. ·
Please remove the object name itself from the accessor, as per my example above:
it should just say << getModelName() >>
Also keep in mind you will have to do Hot Sensor Placement or an application restart after modifying the sensor configuration.
Answer by Kristof R. ·
Hi Sharyl,
We can capture the arguments that get passed along with methods as they are executed.
By default, Dynatrace will execute the toString() method on those objects. Depending on how they are implemented the output will be shown.
Alternatively, Dynatrace can execute so called "accessor methods" on those objects. On the return value of those method calls we will then execute toString() to return this to Dynatrace.
All of this can be configured in the Method Sensor Rule properties:
Let me know if this helps.
KR,
Kristof
JANUARY 15, 3:00 PM GMT / 10:00 AM ET