-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate the modified context (#2476)
OTel tracing leverages context to propagate information about the ongoing trace. While the invokedWrapper method creates a new context as part of creating a new trace, it doesn't propagate that context to the subsequent method calls; the old context gets propagated. This causes the subsequent spans to create a new trace instead of joining the ongoing one. Fix that by propagating the context containing span information.
- Loading branch information
1 parent
0fae307
commit 864d775
Showing
1 changed file
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters