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

DefaultClientRequestObservationConvention generates wrong uri tag when missing path #33867

Closed
wants to merge 1 commit into from

Conversation

ZLATAN628
Copy link
Contributor

fix #33863

@pivotal-cla
Copy link

@ZLATAN628 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Nov 11, 2024
@pivotal-cla
Copy link

@ZLATAN628 Thank you for signing the Contributor License Agreement!

@bclozel bclozel added in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug theme: observability An issue related to observability and tracing and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 11, 2024
@bclozel bclozel added this to the 6.1.15 milestone Nov 11, 2024
@bclozel bclozel self-assigned this Nov 11, 2024
@bclozel bclozel changed the title Fix #33863: URI format Pattern DefaultClientRequestObservationConvention generates wrong uri tag when missing path Nov 11, 2024
bclozel pushed a commit that referenced this pull request Nov 12, 2024
Prior to this commit, a client sending a request to
"https://example.org" would record the wrong URI tag as
"/https://example.org".

This commit ensures that the scheme+host part is matched correctly in
the default client observation conventions.

See gh-33867
@bclozel bclozel closed this in 47f7e44 Nov 12, 2024
bclozel pushed a commit that referenced this pull request Nov 12, 2024
Prior to this commit, a client sending a request to
"https://example.org" would record the wrong URI tag as
"/https://example.org".

This commit ensures that the scheme+host part is matched correctly in
the default client observation conventions.

See gh-33867
bclozel added a commit that referenced this pull request Nov 12, 2024
@bclozel
Copy link
Member

bclozel commented Nov 12, 2024

Thanks for your contribution @ZLATAN628 this has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) theme: observability An issue related to observability and tracing type: bug A general bug
Projects
None yet
4 participants