Skip to content

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

Merged
kamilogorek merged 2 commits intogetsentry:masterfrom
karatekaneen:master
Apr 27, 2022
Merged

feat: ✨ Added function to continue from trace string#434
kamilogorek merged 2 commits intogetsentry:masterfrom
karatekaneen:master

Conversation

@karatekaneen
Copy link
Copy Markdown
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
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
@kamilogorek kamilogorek merged commit af11326 into getsentry:master Apr 27, 2022
@kamilogorek
Copy link
Copy Markdown
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.

3 participants