Builder

class Builder

Properties

Link copied to clipboard

Client-side filters that target specific instances. Each object in the array is AND-matched on its keys, and multiple objects are OR-matched to decide where to apply the instrumentation.

Link copied to clipboard

Specifies what to capture when the instrumentation point is hit. Specify CodeCapture for code-level capture settings.

Link copied to clipboard

An optional short description (up to 50 characters) that explains the purpose of this instrumentation.

Link copied to clipboard

The environment that the service is running in, such as eks:cluster-prod/namespace or ec2:production.

Link copied to clipboard

For BREAKPOINT: optional, defaults to 24 hours, must be between 5 min and 24 hours. For PROBE: not supported. PROBE configurations are permanent and persist until explicitly deleted.

Link copied to clipboard

Type of instrumentation: BREAKPOINT (temporary) or PROBE (permanent)

Link copied to clipboard

The location where instrumentation should be applied. Specify a CodeLocation for code-level instrumentation.

Link copied to clipboard

The name of the service to instrument. This should match the service.name resource attribute reported by the application.

Link copied to clipboard

The telemetry signal type to emit for this instrumentation. The supported value is SNAPSHOT.

Link copied to clipboard
var tags: List<Tag>?

An optional list of key-value pairs to associate with the instrumentation configuration. Tags can help you organize and categorize your resources.