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

Agent will try to register service and instance until succeed. It will block the thread. #34

Closed pmq5205209 closed 4 years ago

pmq5205209 commented 4 years ago

I make agent to register service and instance in main thread. If the backend service of the collector is invalid, the thread will be blocked.

wu-sheng commented 4 years ago

If you don't, you need more mechanisms to accept the context is not available, like Java or other agents did. Please consider to send a pull request.

wu-sheng commented 4 years ago

Register is gone since the v3 trace format. Closing.