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

report instance properties:rpc error: code = Unimplemented desc = Method not found: ManagementService/reportInstanceProperties #114

Closed youminxue closed 3 years ago

youminxue commented 3 years ago

Describe the bug A clear and concise description of what the bug is. report instance properties:rpc error: code = Unimplemented desc = Method not found: skywalking v8.1 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.

wu-sheng commented 3 years ago

This is a very clear error. You are using a very new go2sky SDK, but OAP version is too old.

youminxue commented 3 years ago

This is a very clear error. You are using a very new go2sky SDK, but OAP version is too old.

How much is the version changed

wu-sheng commented 3 years ago

You said you are using skywalking v8.1, I am not sure to do you describe correctly.

This method was added in skywalking's #4599 PR, since 8.0.0. Usually, this error is reported when you use OAP < 8.0

youminxue commented 3 years ago

You said you are using skywalking v8.1, I am not sure to do you describe correctly.

This method was added in skywalking's #4599 PR, since 8.0.0. Usually, this error is reported when you use OAP < 8.0

use apache/skywalking-oap-server:8.3.0-es7 docker image

youminxue commented 3 years ago

report serviceInstance properties error rpc error: code = Unimplemented desc = Method not found: skywalking.v3.ManagementService/reportInstanceProperties

wu-sheng commented 3 years ago

We can't see your point. There is nothing wrong related to this. Check your local env.

kezhenxu94 commented 3 years ago

report serviceInstance properties error rpc error: code = Unimplemented desc = Method not found: skywalking.v3.ManagementService/reportInstanceProperties

@youminxue This is the key error message, skywalking.v3. package name is added in OAP >=8.5.0 and adopted by go2sky >=1.0.0, compatibility is: go2sky >=1.0.0 with OAP >=8.5.0, go2sky <1.0.0 with OAP <8.5.0.

honganan commented 2 years ago

report serviceInstance properties error rpc error: code = Unimplemented desc = Method not found: skywalking.v3.ManagementService/reportInstanceProperties

@youminxue This is the key error message, skywalking.v3. package name is added in OAP >=8.5.0 and adopted by go2sky >=1.0.0, compatibility is: go2sky >=1.0.0 with OAP >=8.5.0, go2sky <1.0.0 with OAP <8.5.0.

@kezhenxu94 Is go2sky 0.6.0 compatible with OAP >=8.5.0? I want to use the new CorrelationContext feature in go2sky 1.1.0 so I will upgrade the OAP to new version, and want to know is it compatible with older version agent as the upgrade has a process. Thank you!

wu-sheng commented 2 years ago

report serviceInstance properties error rpc error: code = Unimplemented desc = Method not found: skywalking.v3.ManagementService/reportInstanceProperties

@youminxue This is the key error message, skywalking.v3. package name is added in OAP >=8.5.0 and adopted by go2sky >=1.0.0, compatibility is: go2sky >=1.0.0 with OAP >=8.5.0, go2sky <1.0.0 with OAP <8.5.0.

@kezhenxu94 Is go2sky 0.6.0 compatible with OAP >=8.5.0? I want to use the new CorrelationContext feature in go2sky 1.1.0 so I will upgrade the OAP to new version, and want to know is it compatible with older version agent as the upgrade has a process. Thank you!

I think so.

kezhenxu94 commented 2 years ago

and want to know is it compatible with older version agent as the upgrade has a process.

8.x.x OAP backend should be compatible with 8.x.x agents, but is not compatible with versions below 8.0.0, such as 7.x.x