diff --git a/translator/trace/zipkin/attributes.go b/translator/trace/internal/zipkin/attributes.go similarity index 100% rename from translator/trace/zipkin/attributes.go rename to translator/trace/internal/zipkin/attributes.go diff --git a/translator/trace/zipkinv1/json.go b/translator/trace/zipkinv1/json.go index 6c2700e8f4cc..d74c1895a036 100644 --- a/translator/trace/zipkinv1/json.go +++ b/translator/trace/zipkinv1/json.go @@ -31,7 +31,7 @@ import ( "go.opentelemetry.io/collector/internal/idutils" "go.opentelemetry.io/collector/internal/model" tracetranslator "go.opentelemetry.io/collector/translator/trace" - "go.opentelemetry.io/collector/translator/trace/zipkin" + "go.opentelemetry.io/collector/translator/trace/internal/zipkin" ) var ( diff --git a/translator/trace/zipkinv1/json_test.go b/translator/trace/zipkinv1/json_test.go index accb45b69c64..db7d1b2a7197 100644 --- a/translator/trace/zipkinv1/json_test.go +++ b/translator/trace/zipkinv1/json_test.go @@ -31,7 +31,7 @@ import ( "go.opentelemetry.io/collector/translator/conventions" tracetranslator "go.opentelemetry.io/collector/translator/trace" - "go.opentelemetry.io/collector/translator/trace/zipkin" + "go.opentelemetry.io/collector/translator/trace/internal/zipkin" ) func TestSingleJSONV1BatchToTraces(t *testing.T) { diff --git a/translator/trace/zipkinv2/from_translator.go b/translator/trace/zipkinv2/from_translator.go index 8b063a09fb9f..017fc1fefc9b 100644 --- a/translator/trace/zipkinv2/from_translator.go +++ b/translator/trace/zipkinv2/from_translator.go @@ -29,7 +29,7 @@ import ( "go.opentelemetry.io/collector/internal/model" "go.opentelemetry.io/collector/translator/conventions" tracetranslator "go.opentelemetry.io/collector/translator/trace" - "go.opentelemetry.io/collector/translator/trace/zipkin" + "go.opentelemetry.io/collector/translator/trace/internal/zipkin" ) const ( diff --git a/translator/trace/zipkinv2/to_translator.go b/translator/trace/zipkinv2/to_translator.go index 0d1c429e452b..0eafcd5cb6fe 100644 --- a/translator/trace/zipkinv2/to_translator.go +++ b/translator/trace/zipkinv2/to_translator.go @@ -33,7 +33,7 @@ import ( "go.opentelemetry.io/collector/internal/occonventions" "go.opentelemetry.io/collector/translator/conventions" tracetranslator "go.opentelemetry.io/collector/translator/trace" - "go.opentelemetry.io/collector/translator/trace/zipkin" + "go.opentelemetry.io/collector/translator/trace/internal/zipkin" ) var _ model.ToTracesTranslator = (*ToTranslator)(nil) diff --git a/translator/trace/zipkinv2/to_translator_test.go b/translator/trace/zipkinv2/to_translator_test.go index fb11feca0f39..431336e5baa5 100644 --- a/translator/trace/zipkinv2/to_translator_test.go +++ b/translator/trace/zipkinv2/to_translator_test.go @@ -23,7 +23,7 @@ import ( "go.opentelemetry.io/collector/consumer/pdata" "go.opentelemetry.io/collector/translator/conventions" - "go.opentelemetry.io/collector/translator/trace/zipkin" + "go.opentelemetry.io/collector/translator/trace/internal/zipkin" ) func TestZipkinSpansToInternalTraces(t *testing.T) {