SkyAPM / go2sky

Distributed tracing and monitor SDK in Go for Apache SkyWalking APM
https://skywalking.apache.org/
Apache License 2.0
448 stars 122 forks source link

Is v0.5.0 not backward compatible? #71

Closed bejens closed 4 years ago

bejens commented 4 years ago

Describe the bug

When I use go2sky@v0.5.0 client to conection skywalking@6.6.0 server. I got this error: report serviceInstance properties error rpc error: code = Unimplemented desc = Method not found ManagementService/reportInstanceProperties.

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

arugal commented 4 years ago

Yes, v3 protocols has been used since 0.4.0, you can try version before 0.3.0.

bejens commented 4 years ago

But when I use 'go get -u' to get code,This repository will upgrade. How can I lock repository version in go.

arugal commented 4 years ago

But when I use 'go get -u' to get code,This repository will upgrade. How can I lock repository version in go.

You can through the go.mod.