Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/net/trace: add GetSpanId and GetTraceId for cross-request tracking. #17085

Open
mwitkow opened this issue Sep 13, 2016 · 0 comments
Open

x/net/trace: add GetSpanId and GetTraceId for cross-request tracking. #17085

mwitkow opened this issue Sep 13, 2016 · 0 comments
Milestone

Comments

@mwitkow
Copy link

mwitkow commented Sep 13, 2016

In our gRPC and in HTTP handlers we're using request IDs in headers to correlate the tree of requests that "spawn" out of an original request.

Golang has an awesome /debug/requests and /debug/events, which are incredibly helpful, especially for gRPC.

Ideally, we'd move from our custom middleware/interceptors that we use with request ID to propagate (in our internal network) as trace spans. Unfortunately, you cannot read the trace ID in order for it to be serialized into headers. This would make it possible to have a consistent view of request IDs in our logs and /debug/requests.

Also it would make it easier to ship stuff to DapperCloud Trace :)

@quentinmit quentinmit changed the title x/net/trace usable: add GetSpanId and GetTraceId for cross-request tracking. x/net/trace: add GetSpanId and GetTraceId for cross-request tracking. Sep 13, 2016
@quentinmit quentinmit added this to the Unreleased milestone Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants