Page tree

Skip to end of metadata
Go to start of metadata

You can configure the App Visibility agent to collect data for stack traces that exceed thresholds. In the TrueSight console, you can see the results by viewing a trace at the code level.

Adjust the following parameters in the Agent Policy file to define stack traces that exceed thresholds (also called retrotraced methods).

Parameters that control stack traces for exceeded thresholds


Default value




If true, when a threshold is exceeded, the entire stack from the beginning of the request, to the method where the threshold is crossed, is added to the call tree. The methods in the stack do not contain full method information, such as start time, end time, and arguments.

If false, the feature is disabled and a stack trace is not recorded when a threshold is crossed.


Java, only:

If set to 1, the stack trace is captured when the first recorded method is encountered after the request has crossed the threshold. This is the default setting of the Light policy.

If set to 2, all executing threads are sampled at the frequency defined by presisting.retrtotrace.granularity and the stack trace is captured when the threshold is crossed.



Java: Frequency (in milliseconds) of the stack trace sampling, relevant when persisting.threshold.retrotrace.method=2.

.NET: Frequency (in milliseconds) of the stack trace sampling, relevant when persisting.threshold.retrotrace=true.



Java: The threshold when persisting.threshold.retrotrace.method=2.

.NET: The threshold when persisting.threshold.retrotrace=true.

Related topics

Modifying an App Visibility agent policy

Configuring an App Visibility agent policy to collect and monitor application information

Method trimming and stack traces