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

Improve spring data reactive instrumentation #9561

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Sep 26, 2023

Resolves #9500
Currently spring data span is ended immediately when the method returns. This isn't ideal for reactive usage where repository methods return a mono or a flux. We can use our AsyncOperationEndSupport to defer ending the span until the mono/flux completes.

@laurit laurit requested a review from a team as a code owner September 26, 2023 13:28
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@laurit laurit merged commit b464369 into open-telemetry:main Sep 27, 2023
47 checks passed
@laurit laurit deleted the spring-data-reactive branch September 27, 2023 18:16
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.

tracing for spring-data-r2dbc Spring Data repository methods is timed incorrectly
2 participants