New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go get gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer Fails #1227
Comments
Thanks for submitting this issue. I'm able to reproduce it like this:
Additionally I checked:
So this seems to be specific to go1.15 on linux. @knusbaum assigning this to you for taking a closer look since you're on escalation rotation this week. |
I am also seeing this issue with |
I suspect this was caused by #1188 |
I think this is a GOPATH mode vs module-aware mode issue. In GOPATH mode (the default for |
The previously mentioned PR has been merged and this works now. |
`[builder 8/11] RUN go get gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer:
#14 153.2 # gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer
#14 153.2 /go/src/gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer/stats.go:294:33: cannot use msg (type *sketchpb.DDSketch) as type protoreflect.ProtoMessage in argument to "google.golang.org/protobuf/proto".Marshal:
#14 153.2 *sketchpb.DDSketch does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
#14 153.2 /go/src/gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer/stats.go:299:34: cannot use msg (type *sketchpb.DDSketch) as type protoreflect.ProtoMessage in argument to "google.golang.org/protobuf/proto".Marshal:
#14 153.2 *sketchpb.DDSketch does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
executor failed running [/bin/sh -c go get gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer]: exit code: 2`
Golang Image :
golang:1.15-alpine
The text was updated successfully, but these errors were encountered: