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

spring webflux client 6 #4770

Merged
merged 1 commit into from
Feb 22, 2023
Merged

spring webflux client 6 #4770

merged 1 commit into from
Feb 22, 2023

Conversation

amarziali
Copy link
Collaborator

What Does This Do

Instrument spring 6 webflux client. Old instrumentation was not working because the decorator relies on org.springframework.web.reactive.function.client.ClientResponse#statusCode()Lorg/springframework/http/HttpStatus but the HttpStatus interface is no more present on spring webflux 6 (it has been renamed to HttpStatusCode)

Before:

image

After (now the http.request client span is present)

image

Motivation

Additional Notes

@amarziali amarziali requested a review from a team as a code owner February 20, 2023 14:22
@amarziali amarziali force-pushed the andrea.marziali/webflux-client-6 branch from 6bd8db4 to d1e03bb Compare February 20, 2023 14:32
@amarziali amarziali added inst: others All other instrumentations inst: spring Spring instrumentation labels Feb 21, 2023
Copy link
Contributor

@devinsba devinsba left a comment

Choose a reason for hiding this comment

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

Looks good to me

@amarziali amarziali merged commit 925217b into master Feb 22, 2023
@amarziali amarziali deleted the andrea.marziali/webflux-client-6 branch February 22, 2023 09:09
@github-actions github-actions bot added this to the 1.9.0 milestone Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inst: others All other instrumentations inst: spring Spring instrumentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants