CaptureLimitsConfig

Guardrails that prevent instrumentation from impacting application performance by limiting how much data is captured.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The maximum nesting depth to traverse inside collections. Defaults to 3.

Link copied to clipboard

The maximum number of items to capture from any collection to prevent large payloads. Defaults to 10.

Link copied to clipboard

The maximum number of fields to capture for any object. Defaults to 10.

Link copied to clipboard
val maxHits: Int?

The maximum number of times the instrumentation point can be hit before it is automatically disabled. Defaults to 100.

Link copied to clipboard

The maximum depth for nested object traversal when capturing structured data. Defaults to 3.

Link copied to clipboard

The maximum number of stack frames to capture in stack traces. Defaults to 2.

Link copied to clipboard

The maximum total size, in bytes, of a captured stack trace. Defaults to 1000.

Link copied to clipboard

The maximum length of captured string values in characters. Strings longer than this are truncated. Defaults to 128.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String