Builds the OTLP span exporter for a resolved config (the exporterFactory of
initTracingWith): http/protobuf → @opentelemetry/exporter-trace-otlp-proto, grpc →
@opentelemetry/exporter-trace-otlp-grpc. Headers, compression, timeout and TLS come from the
config. native throws ConfigError (the package exports OTLP only).
Builds the OTLP span exporter for a resolved config (the
exporterFactoryofinitTracingWith):http/protobuf→@opentelemetry/exporter-trace-otlp-proto,grpc→@opentelemetry/exporter-trace-otlp-grpc. Headers, compression, timeout and TLS come from the config.nativethrowsConfigError(the package exports OTLP only).