Environment Variables
These environment variables provide a quick way to configure common settings, especially for deployment environments.Programmatic Configuration
Thetracing.init() function, typically called at your application’s entry point, accepts various parameters to configure the tracing behavior. Programmatic settings take precedence over environment variables.
client
An initialized SGPClient instance. If provided, the SDK will use this client for all tracing data export requests. This allows you to configure HTTP settings (like base_url, timeout, max_retries for the client itself) that will also apply to your tracing data.
disabled
- Set to
Trueto explicitly disable tracing. When disabled,create_trace()andcreate_span()will return “No-Op” objects that perform no data collection or export. - Set to
Falseto explicitly enable tracing. - Defaults to
Falseif not specified, unlessDISABLE_SCALE_TRACINGenvironment variable is set.

