zeromicro / go-zero

A cloud-native Go microservices framework with cli tool for productivity.
https://go-zero.dev
MIT License
29.18k stars 3.95k forks source link

feat: add rest(HTTP) call trace propagation convenience method #3469

Open ShyunnY opened 1 year ago

ShyunnY commented 1 year ago

I looked through the source code and found that go-zero implements the propagation of calls between gRPCs through metadata.

So I have a good suggestion. I hope to provide the encapsulation code of HTTP propagation in the trace package, which can make it easier to assemble the context of the propagation trace. I've written a PR code, but I'm not sure if go-zero needs this feature. Therefore raise this issue

kevwan commented 1 year ago

Would you please submit a PR? And we can have a discussion on this.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.