CaptureLimitsConfig
Guardrails that prevent instrumentation from impacting application performance by limiting how much data is captured.
Contents
- MaxCollectionDepth
-
The maximum nesting depth to traverse inside collections. Defaults to 3.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 5.
Required: No
- MaxCollectionWidth
-
The maximum number of items to capture from any collection to prevent large payloads. Defaults to 10.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 20.
Required: No
- MaxFieldsPerObject
-
The maximum number of fields to capture for any object. Defaults to 10.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 20.
Required: No
- MaxHits
-
The maximum number of times the instrumentation point can be hit before it is automatically disabled. Defaults to 100.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 1000.
Required: No
- MaxObjectDepth
-
The maximum depth for nested object traversal when capturing structured data. Defaults to 3.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 5.
Required: No
- MaxStackFrames
-
The maximum number of stack frames to capture in stack traces. Defaults to 2.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 20.
Required: No
- MaxStackTraceSize
-
The maximum total size, in bytes, of a captured stack trace. Defaults to 1000.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 1000.
Required: No
- MaxStringLength
-
The maximum length of captured string values in characters. Strings longer than this are truncated. Defaults to 128.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 255.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: