/AWS1/CL_CWSCAPTLIMITSCONFIG¶
Guardrails that prevent instrumentation from impacting application performance by limiting how much data is captured.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_maxhits TYPE /AWS1/CWSINTEGER /AWS1/CWSINTEGER¶
The maximum number of times the instrumentation point can be hit before it is automatically disabled. Defaults to 100.
iv_maxstringlength TYPE /AWS1/CWSINTEGER /AWS1/CWSINTEGER¶
The maximum length of captured string values in characters. Strings longer than this are truncated. Defaults to 128.
iv_maxcollectionwidth TYPE /AWS1/CWSINTEGER /AWS1/CWSINTEGER¶
The maximum number of items to capture from any collection to prevent large payloads. Defaults to 10.
iv_maxcollectiondepth TYPE /AWS1/CWSINTEGER /AWS1/CWSINTEGER¶
The maximum nesting depth to traverse inside collections. Defaults to 3.
iv_maxstackframes TYPE /AWS1/CWSINTEGER /AWS1/CWSINTEGER¶
The maximum number of stack frames to capture in stack traces. Defaults to 2.
iv_maxstacktracesize TYPE /AWS1/CWSINTEGER /AWS1/CWSINTEGER¶
The maximum total size, in bytes, of a captured stack trace. Defaults to 1000.
iv_maxobjectdepth TYPE /AWS1/CWSINTEGER /AWS1/CWSINTEGER¶
The maximum depth for nested object traversal when capturing structured data. Defaults to 3.
iv_maxfieldsperobject TYPE /AWS1/CWSINTEGER /AWS1/CWSINTEGER¶
The maximum number of fields to capture for any object. Defaults to 10.
Queryable Attributes¶
MaxHits¶
The maximum number of times the instrumentation point can be hit before it is automatically disabled. Defaults to 100.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXHITS() |
Getter for MAXHITS, with configurable default |
ASK_MAXHITS() |
Getter for MAXHITS w/ exceptions if field has no value |
HAS_MAXHITS() |
Determine if MAXHITS has a value |
MaxStringLength¶
The maximum length of captured string values in characters. Strings longer than this are truncated. Defaults to 128.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXSTRINGLENGTH() |
Getter for MAXSTRINGLENGTH, with configurable default |
ASK_MAXSTRINGLENGTH() |
Getter for MAXSTRINGLENGTH w/ exceptions if field has no val |
HAS_MAXSTRINGLENGTH() |
Determine if MAXSTRINGLENGTH has a value |
MaxCollectionWidth¶
The maximum number of items to capture from any collection to prevent large payloads. Defaults to 10.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXCOLLECTIONWIDTH() |
Getter for MAXCOLLECTIONWIDTH, with configurable default |
ASK_MAXCOLLECTIONWIDTH() |
Getter for MAXCOLLECTIONWIDTH w/ exceptions if field has no |
HAS_MAXCOLLECTIONWIDTH() |
Determine if MAXCOLLECTIONWIDTH has a value |
MaxCollectionDepth¶
The maximum nesting depth to traverse inside collections. Defaults to 3.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXCOLLECTIONDEPTH() |
Getter for MAXCOLLECTIONDEPTH, with configurable default |
ASK_MAXCOLLECTIONDEPTH() |
Getter for MAXCOLLECTIONDEPTH w/ exceptions if field has no |
HAS_MAXCOLLECTIONDEPTH() |
Determine if MAXCOLLECTIONDEPTH has a value |
MaxStackFrames¶
The maximum number of stack frames to capture in stack traces. Defaults to 2.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXSTACKFRAMES() |
Getter for MAXSTACKFRAMES, with configurable default |
ASK_MAXSTACKFRAMES() |
Getter for MAXSTACKFRAMES w/ exceptions if field has no valu |
HAS_MAXSTACKFRAMES() |
Determine if MAXSTACKFRAMES has a value |
MaxStackTraceSize¶
The maximum total size, in bytes, of a captured stack trace. Defaults to 1000.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXSTACKTRACESIZE() |
Getter for MAXSTACKTRACESIZE, with configurable default |
ASK_MAXSTACKTRACESIZE() |
Getter for MAXSTACKTRACESIZE w/ exceptions if field has no v |
HAS_MAXSTACKTRACESIZE() |
Determine if MAXSTACKTRACESIZE has a value |
MaxObjectDepth¶
The maximum depth for nested object traversal when capturing structured data. Defaults to 3.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXOBJECTDEPTH() |
Getter for MAXOBJECTDEPTH, with configurable default |
ASK_MAXOBJECTDEPTH() |
Getter for MAXOBJECTDEPTH w/ exceptions if field has no valu |
HAS_MAXOBJECTDEPTH() |
Determine if MAXOBJECTDEPTH has a value |
MaxFieldsPerObject¶
The maximum number of fields to capture for any object. Defaults to 10.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXFIELDSPEROBJECT() |
Getter for MAXFIELDSPEROBJECT, with configurable default |
ASK_MAXFIELDSPEROBJECT() |
Getter for MAXFIELDSPEROBJECT w/ exceptions if field has no |
HAS_MAXFIELDSPEROBJECT() |
Determine if MAXFIELDSPEROBJECT has a value |