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

Add context propagation for rector schedulers #10311

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Jan 23, 2024

Resolves #10304
In later versions of webflux when controller method returns String instead of Mono<String> it gets dispatched to new thread with the scheduler which causes the context to be lost when using library instrumentation.

@laurit laurit requested a review from a team January 23, 2024 11:01
@laurit laurit merged commit 9259ce8 into open-telemetry:main Jan 24, 2024
47 checks passed
@laurit laurit deleted the reactor-scheduler-hook branch January 24, 2024 07:11
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.

opentelemetry-spring-webflux-5.3 lack context inside controller
3 participants