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

feat: ✨ Added function to continue from trace string #434

Merged
merged 2 commits into from Apr 27, 2022

Conversation

karatekaneen
Copy link
Contributor

tl;dr: This allows users to easily add traces from sources other than http.Request

Recently ran in to a situation where we want to add tracing between services where not all of them uses HTTP to communicate (in this case, rabbitMQ) so I refactored a bit and added a new exposed function that continues from a trace header.

This does not introduce any breaking changes from what I can see and the tests does of course still pass.

This allows users to easily add traces from sources other than http.Request
tracing.go Outdated Show resolved Hide resolved
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
@kamilogorek kamilogorek merged commit af11326 into getsentry:master Apr 27, 2022
@kamilogorek
Copy link
Contributor

Lovely, thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants