OptionalcollectorCollector settings that supply every field the tracing config leaves unset (endpoint,
protocol, headers, compression, TLS, sampler, resource, batch). Default:
OtelCollectorConfig.fromEnv({}, env).
OptionalenvEnvironment for the default collector config; false ignores the environment.
OptionalidCustom id generator (tests).
OptionalpropagatorsExtra propagators the service package supports, by name (e.g. datadog).
OptionalsamplerSampler that replaces the one built from config.sampler/samplerRatio (e.g. a remote
sampler such as Jaeger's). config.sampler is still validated and reported in toString().
OptionalspanExtra span processors added after the batch processor.
Options of initTracing.