Stacktrace configuration options
editStacktrace configuration options
editapplication_packages
editUsed to determine whether a stack trace frame is an in-app frame or a library frame.
Default | Type | Dynamic |
---|---|---|
|
Collection |
true |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|
stack_trace_limit
editSetting it to 0 will disable stack trace collection. Any positive integer value will be used as the maximum number of frames to collect. Setting it -1 means that all frames will be collected.
Default | Type | Dynamic |
---|---|---|
|
Integer |
true |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|
span_frames_min_duration
editIn its default settings, the APM agent will collect a stack trace with every recorded span.
While this is very helpful to find the exact place in your code that causes the span, collecting this stack trace does have some overhead.
When setting this option to -1
, stack traces will be collected for all spans. Setting it to a positive value, e.g. 5ms
, will limit stack trace collection to spans with durations equal or longer than the given value, e.g. 5 milliseconds.
To disable stack trace collection for spans completely, set the value to 0.
Supports the duration suffixes ms
, s
and m
.
Example: 5ms
.
The default unit for this option is ms
Default | Type | Dynamic |
---|---|---|
|
TimeDuration |
true |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|