Skip to content

rename attributes added by natchez-http4s to follow OTel semantic conventions#7

Merged
bpholt merged 2 commits into
mainfrom
semconv
Dec 19, 2025
Merged

rename attributes added by natchez-http4s to follow OTel semantic conventions#7
bpholt merged 2 commits into
mainfrom
semconv

Conversation

@bpholt

@bpholt bpholt commented Dec 18, 2025

Copy link
Copy Markdown
Member

Following standards is generally a good thing, but especially here, because with these changes, X-Ray should start displaying a lot more useful information in its UI: (highlighted in orange)
Screenshot 2025-12-18 at 5 50 28 PM

The trace map is also improved, showing the correct association from client to server:
image

Some of this may be able to be removed if typelevel/natchez-http4s#148 is merged.

It now supports using http.response.status_code, which is the key
required by the OTel semantic conventions.
@bpholt bpholt self-assigned this Dec 18, 2025
@bpholt bpholt requested a review from a team as a code owner December 18, 2025 23:54
@bpholt

bpholt commented Dec 19, 2025

Copy link
Copy Markdown
Member Author

FYI, this is what the trace map looked like when the inferred segments were being added:
image

@bpholt bpholt merged commit 82a61a1 into main Dec 19, 2025
5 checks passed
@bpholt bpholt deleted the semconv branch December 19, 2025 16:28
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