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

Expose correct Context.current() in reactive-netty callbacks #2850

Merged
merged 4 commits into from Apr 29, 2021

Conversation

mateuszrzeszutek
Copy link
Member

@mateuszrzeszutek mateuszrzeszutek commented Apr 22, 2021

And make sure to clean up channel attributes in netty 4.1 instrumentation.

doOnResolve, doAfterResolve, doOnResolveError, doOnConnected and doOnDisconnected are not covered because they're called either too early or too late and getting any context from the connection in one of them is impossible.

I think it closes #2776 - I've checked all HTTP clients that we instrument and that seemed "reactive" to me and none of them allow to set listeners like reactor-netty does (or none at all).

@trask trask merged commit 56d7fd3 into open-telemetry:main Apr 29, 2021
@mateuszrzeszutek mateuszrzeszutek deleted the reactor-netty-context branch November 18, 2022 10:28
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.

Auto-manual instrumentations integrations in "reactive" frameworks
4 participants