Skip to content

Instrumenting async operations in Go #2747

Answered by jpkrohling
albertteoh asked this question in Q&A
Discussion options

You must be logged in to vote

Async is typically a problem in other languages when using a facility like obtaining the "current span". In Go, the context is explicitly passed down, so, async operations should just work. In your specific case, the context is not being propagated, so, being async isn't really relevant to the situation. Can you somehow add context values to this Thrift context? Or start the Thrift context based on your existing context?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@yurishkuro
Comment options

Answer selected by albertteoh
Comment options

albertteoh
Jan 29, 2021
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants