OptionaldebugEnable verbose OTel SDK diagnostics (sets the global diag logger).
OptionaldisableDisable log export.
OptionaldisableDisable metrics export.
OptionaldisableDisable trace export.
OptionalenvironmentDeployment environment name (e.g. production, staging, dev).
Becomes the deployment.environment.name resource attribute.
OptionalheadersOptional headers to send with every OTLP export request (e.g. authentication tokens for hosted backends).
OptionalinstrumentationsAuto-instrumentations to register at SDK startup.
Use the helpers from @cleverbrush/otel/instrumentations
(e.g. outboundHttpInstrumentations(), runtimeMetrics()).
OptionallogsOverride the OTLP logs endpoint (/v1/logs is appended).
OptionalmetricsOverride the OTLP metrics endpoint (/v1/metrics is appended).
OptionalmetricsMetric export interval in milliseconds.
OptionalotlpBase OTLP/HTTP endpoint for traces, logs, and metrics.
If not provided, falls back to the standard OTel environment
variables (OTEL_EXPORTER_OTLP_ENDPOINT,
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, etc.).
Per-signal endpoints below take precedence over this value.
OptionalresourceAdditional resource attributes merged onto the default resource.
Useful for host.name, cloud.region, custom team tags, etc.
Logical name of the service emitting telemetry.
Becomes the service.name resource attribute and is the primary
identifier in observability backends.
OptionalserviceOptional service version → service.version resource attribute.
OptionaltracesOverride the OTLP traces endpoint (/v1/traces is appended).
Configuration for setupOtel.