// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform"

import (
	commonpb 

	
)

func ( instrumentation.Scope) *commonpb.InstrumentationScope {
	if  == (instrumentation.Scope{}) {
		return nil
	}
	return &commonpb.InstrumentationScope{
		Name:       .Name,
		Version:    .Version,
		Attributes: Iterator(.Attributes.Iter()),
	}
}