From af5428829bf7ef411c71bfcd6e59f63b97e21768 Mon Sep 17 00:00:00 2001 From: Nail Islamov Date: Tue, 10 Mar 2020 16:09:40 +1100 Subject: [PATCH] Update OTLP protos, fix imports (#532) * Update OTLP protos, fix imports * Update go.sum Co-authored-by: Joshua MacDonald --- exporters/otlp/go.mod | 2 +- exporters/otlp/go.sum | 4 ++-- exporters/otlp/mock_collector_test.go | 2 +- exporters/otlp/otlp.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/exporters/otlp/go.mod b/exporters/otlp/go.mod index 2285b6176..0d8f9bf0d 100644 --- a/exporters/otlp/go.mod +++ b/exporters/otlp/go.mod @@ -5,7 +5,7 @@ replace go.opentelemetry.io/otel => ../.. require ( github.com/golang/protobuf v1.3.2 github.com/google/go-cmp v0.4.0 - github.com/open-telemetry/opentelemetry-proto v0.0.0-20200219184922-5e1d5bc66d5a + github.com/open-telemetry/opentelemetry-proto v0.0.0-20200308012146-674ae1c8703f github.com/stretchr/testify v1.4.0 go.opentelemetry.io/otel v0.2.3 golang.org/x/net v0.0.0-20190628185345-da137c7871d7 // indirect diff --git a/exporters/otlp/go.sum b/exporters/otlp/go.sum index 25a6ec2f1..c79679e64 100644 --- a/exporters/otlp/go.sum +++ b/exporters/otlp/go.sum @@ -30,8 +30,8 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/open-telemetry/opentelemetry-proto v0.0.0-20200219184922-5e1d5bc66d5a h1:Cw8YiI/nHPPiLUesxJCtZfOBMvWuUNqItCMNZpOMYro= -github.com/open-telemetry/opentelemetry-proto v0.0.0-20200219184922-5e1d5bc66d5a/go.mod h1:PMR5GI0F7BSpio+rBGFxNm6SLzg3FypDTcFuQZnO+F8= +github.com/open-telemetry/opentelemetry-proto v0.0.0-20200308012146-674ae1c8703f h1:o21WlujGsrjoN3+n99AflASF/K0S6+SOLOj2O9nNplc= +github.com/open-telemetry/opentelemetry-proto v0.0.0-20200308012146-674ae1c8703f/go.mod h1:PMR5GI0F7BSpio+rBGFxNm6SLzg3FypDTcFuQZnO+F8= github.com/opentracing/opentracing-go v1.1.1-0.20190913142402-a7454ce5950e/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= diff --git a/exporters/otlp/mock_collector_test.go b/exporters/otlp/mock_collector_test.go index b83704976..bd8b2b98b 100644 --- a/exporters/otlp/mock_collector_test.go +++ b/exporters/otlp/mock_collector_test.go @@ -24,7 +24,7 @@ import ( "google.golang.org/grpc" - coltracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/traces/v1" + coltracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/trace/v1" tracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/trace/v1" ) diff --git a/exporters/otlp/otlp.go b/exporters/otlp/otlp.go index d13fc5b2e..84ef082ed 100644 --- a/exporters/otlp/otlp.go +++ b/exporters/otlp/otlp.go @@ -25,7 +25,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - coltracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/traces/v1" + coltracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/trace/v1" tracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/trace/v1" export "go.opentelemetry.io/otel/sdk/export/trace"