Skip to content

Commit

Permalink
Move zipkin constants to an internal package (#3431)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu authored Jun 14, 2021
1 parent 531fd92 commit fc413fc
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion translator/trace/zipkinv1/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion translator/trace/zipkinv1/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion translator/trace/zipkinv2/from_translator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion translator/trace/zipkinv2/to_translator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion translator/trace/zipkinv2/to_translator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fc413fc

Please sign in to comment.