Netra-specific Variables
Netra provides its own set of environment variables for configuring SDK-specific settings:Available Variables
OpenTelemetry Variables
Netra SDK also supports standard OpenTelemetry environment variables for compatibility:Available Variables
Configuration Precedence
Configuration values are resolved in the following order (highest to lowest precedence):- Code Parameters: Values passed directly to
Netra.init() - Netra Environment Variables:
NETRA_*variables - OpenTelemetry Environment Variables: Standard
OTEL_*variables - Default Values: Fallback values defined in the SDK
- Override any setting directly in code for maximum control
- Use Netra-specific environment variables for Netra-specific settings
- Fall back to standard OpenTelemetry variables for compatibility
- Rely on sensible defaults when no other configuration is provided