Skip to content

Integrate the Micrometer Context Propagation library #29056

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

Closed
rstoyanchev opened this issue Sep 2, 2022 · 1 comment
Closed

Integrate the Micrometer Context Propagation library #29056

rstoyanchev opened this issue Sep 2, 2022 · 1 comment
Assignees
Labels
theme: observability An issue related to observability and tracing type: enhancement A general enhancement
Milestone

Comments

@rstoyanchev
Copy link
Contributor

The Micrometer context-propagation library propagates context across different types of context such as ThreadLocal, Reactor Context, and others. It does not replace those but rather helps to propagate values from one type of context to another, or simply to restore ThreadLocal values on a different thread.

One place where we can integrate the library is in Spring MVC. When a controller method returns Flux or Mono, we can use the Context Propagation library to populate the Reactor Context with values from any ThreadLocal's for which there is a registered ThreadLocalAccessor.

@rstoyanchev
Copy link
Contributor Author

The change is ready but needs to be postponed due to a classpath conflict between context-snapshot version 1.0 M5 vs 1.0 M3 brought in by Reactor Netty 2.0 M1 which in turn is waiting for a new Netty 5.0 Alpha5.

@rstoyanchev rstoyanchev modified the milestones: 6.0.0-M6, 6.0.0-RC1 Sep 14, 2022
@bclozel bclozel added the theme: observability An issue related to observability and tracing label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: observability An issue related to observability and tracing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants