Skip to content

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

Merged
lzchen merged 12 commits intoopen-telemetry:mainfrom
lzchen:semconv
Aug 23, 2024
Merged

Fix http.host and net.peer.ip new http semconv mapping#2814
lzchen merged 12 commits intoopen-telemetry:mainfrom
lzchen:semconv

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
@github-actions github-actions bot requested review from ocelotl and shalevr 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
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
@lzchen lzchen merged commit bc4d2c5 into open-telemetry:main Aug 23, 2024
@lzchen lzchen deleted the semconv branch August 23, 2024 23:56
xrmx pushed a commit to xrmx/opentelemetry-python-contrib that referenced this pull request Jan 24, 2025
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