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

[COLIB-522]: Fix the trace propagation for engine gRPC calls #178

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

pavel-procopiuc
Copy link
Contributor

@pavel-procopiuc pavel-procopiuc commented Dec 2, 2024

https://prima-assicurazioni-spa.myjetbrains.com/youtrack/issue/COLIB-522

This PR adds a helper propagator that injects the opentelemtry context necessary for DataDog to link traces between different services when calling them via gRPC.

This is based on #177 so it might contain a lot of unrelated changes on the first glance. The actual change is in the last commit: [COLIB-522]: Fix the trace propagation for engine gRPC calls

@pavel-procopiuc
Copy link
Contributor Author

@cpiemontese I have rebased this PR onto master

Copy link
Contributor

@cpiemontese cpiemontese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a super expert on creating injectors/propagators but +1 from me

I'm curious to see how it works if you test it

@cpiemontese cpiemontese merged commit c611b99 into master Dec 3, 2024
7 checks passed
@cpiemontese cpiemontese deleted the COLIB-522 branch December 3, 2024 14:12
@pavel-procopiuc
Copy link
Contributor Author

It does work, I've done some limited testing of the same code on another project and got a pretty fine trace, so no worries here

@fusillicode
Copy link
Contributor

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