}
switch SpanExporterType(exporterType) {
case OtelTracesOtlpExporterType:
// only grpc is supported; fail if user requests a different protocol
if protocol, exists := envVars(OtelExporterOtlpTracesProtocolEnvKey); exists {
isSupported := protocol == OtelExporterOtlpTracesGrcpProtocol
if !isSupported {