Skip to content

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

Merged
trask merged 4 commits into
open-telemetry:mainfrom
mateuszrzeszutek:reactor-netty-context
Apr 29, 2021
Merged

Expose correct Context.current() in reactive-netty callbacks#2850
trask merged 4 commits into
open-telemetry:mainfrom
mateuszrzeszutek:reactor-netty-context

Conversation

@mateuszrzeszutek

@mateuszrzeszutek mateuszrzeszutek commented Apr 22, 2021

Copy link
Copy Markdown
Member

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
schmikei pushed a commit to schmikei/opentelemetry-java-instrumentation that referenced this pull request Apr 17, 2025
…etry#2850)

* Define semantic conventions yaml for non-otlp conventions

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Update semantic_conventions/trace/exporter/exporter.yaml

Co-authored-by: Christian Neumüller <christian+github@neumueller.me>

* Update semantic_conventions/scope/exporter/exporter.yaml

Co-authored-by: Joao Grassi <joao@joaograssi.com>

* Rename otel to otel_span

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
Co-authored-by: Joao Grassi <joao@joaograssi.com>
schmikei pushed a commit to schmikei/opentelemetry-java-instrumentation that referenced this pull request Apr 17, 2025
…etry#2850)

* Define semantic conventions yaml for non-otlp conventions

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Update semantic_conventions/trace/exporter/exporter.yaml

Co-authored-by: Christian Neumüller <christian+github@neumueller.me>

* Update semantic_conventions/scope/exporter/exporter.yaml

Co-authored-by: Joao Grassi <joao@joaograssi.com>

* Rename otel to otel_span

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
Co-authored-by: Joao Grassi <joao@joaograssi.com>
schmikei pushed a commit to schmikei/opentelemetry-java-instrumentation that referenced this pull request Apr 17, 2025
…etry#2850)

* Define semantic conventions yaml for non-otlp conventions

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Update semantic_conventions/trace/exporter/exporter.yaml

Co-authored-by: Christian Neumüller <christian+github@neumueller.me>

* Update semantic_conventions/scope/exporter/exporter.yaml

Co-authored-by: Joao Grassi <joao@joaograssi.com>

* Rename otel to otel_span

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
Co-authored-by: Joao Grassi <joao@joaograssi.com>
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