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

Fix http.host and net.peer.ip new http semconv mapping #2814

Merged
merged 12 commits into from
Aug 23, 2024

Conversation

lzchen
Copy link
Contributor

@lzchen lzchen commented Aug 22, 2024

http.host old semantic convention should map to different new semantic convention depending on if they are client or server type telemetry. See spec for details.

Also updates net.peer.ip -> client.address logic to be conditional only if it doesn't exist already. This is outlined in the migration doc net.peer.ip -> net.sock.peer.addr → network.peer.address.

@lzchen lzchen requested a review from a team August 22, 2024 17:35
@lzchen lzchen marked this pull request as draft August 22, 2024 17:57
@lzchen lzchen changed the title Fix http.host new http semconv mapping Fix http.host + net.peer.ip new http semconv mapping Aug 22, 2024
@lzchen lzchen marked this pull request as ready for review August 22, 2024 18:52
@emdneto emdneto changed the title Fix http.host + net.peer.ip new http semconv mapping Fix http.host and net.peer.ip new http semconv mapping Aug 23, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
@lzchen lzchen merged commit bc4d2c5 into open-telemetry:main Aug 23, 2024
521 checks passed
@lzchen lzchen deleted the semconv branch August 23, 2024 23:56
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.

4 participants