Skip to content

Conversation

@laurit
Copy link
Contributor

@laurit laurit commented Oct 3, 2024

https://ge.opentelemetry.io/s/oggd336zee6my/tests/task/:instrumentation:ratpack:ratpack-1.4:javaagent:test/details/server.RatpackForkedHttpServerTest/test%20post%20stream?top-execution=1
Recently added test is flaky because the parent of reactive callback is either the server span or controller. In library instrumentation it seems to be always the server span. This PR changes the behavior of the javaagent instrumentation to run reactive callbacks with the same context where subscribe was called as we do with other reactive instrumentations.

@laurit laurit requested a review from a team as a code owner October 3, 2024 11:23
@trask trask merged commit f235209 into open-telemetry:main Oct 3, 2024
56 checks passed
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.

2 participants