Closed ops-cn closed 4 years ago
Describe the bug
panic: proto: duplicate enum registered: SpanType
goroutine 1 [running]: github.com/golang/protobuf/proto.RegisterEnum(0x2bb3c53, 0x8, 0xc000289080, 0xc0002890e0) E:/workspace/go/src/pkg/mod/github.com/golang/protobuf@v1.4.2/proto/registry.go:104 +0x125 github.com/SkyAPM/go2sky/reporter/grpc/language-agent.init.0() E:/workspace/go/src/pkg/mod/github.com/!sky!a!p!m/go2sky@v0.4.0/reporter/grpc/language-agent/Tracing.pb.go:520 +0x59
To Reproduce Steps to reproduce the behavior:
with go micro and gin framework
Never encountered, can you provide more information :)
Since go-micro version 2.1.0, go-micro has added a SpanType enum that conflicts with the definition of Skywalking. Please try the previous version.
Describe the bug
panic: proto: duplicate enum registered: SpanType
goroutine 1 [running]: github.com/golang/protobuf/proto.RegisterEnum(0x2bb3c53, 0x8, 0xc000289080, 0xc0002890e0) E:/workspace/go/src/pkg/mod/github.com/golang/protobuf@v1.4.2/proto/registry.go:104 +0x125 github.com/SkyAPM/go2sky/reporter/grpc/language-agent.init.0() E:/workspace/go/src/pkg/mod/github.com/!sky!a!p!m/go2sky@v0.4.0/reporter/grpc/language-agent/Tracing.pb.go:520 +0x59
To Reproduce Steps to reproduce the behavior:
with go micro and gin framework