Skip to main content
Configure the Netra SDK programmatically when initializing for maximum control over your application’s observability settings. This section covers how to set up the SDK using code parameters.

Basic Configuration

Initialize the SDK with essential parameters:

Available Parameters

Advanced Configuration

Setting Resource Attributes

Add custom attributes to enrich your tracing data:

Controlling Content Tracing

Control what content is captured:

Example Configurations

Basic Production Setup

Development Setup

Last modified on February 3, 2026