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

net.peer.name clarification for HTTP client semconv #3276

Merged
merged 4 commits into from
Mar 6, 2023

Conversation

trask
Copy link
Member

@trask trask commented Mar 2, 2023

Fixes #3273

Changes

Clarifies that if an HTTP client request is explicitly made to an IP address, e.g. http://x.x.x.x:8080, then
net.peer.name SHOULD be the IP address x.x.x.x.

@trask trask marked this pull request as ready for review March 2, 2023 20:20
@trask trask requested review from a team March 2, 2023 20:20
@trask trask requested a review from a team March 2, 2023 20:21
@carlosalberto carlosalberto merged commit fe6f924 into open-telemetry:main Mar 6, 2023
@trask trask deleted the http-client-net-peer-name branch March 6, 2023 16:36
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
)

Fixes open-telemetry#3273

## Changes

Clarifies that if an HTTP client request is explicitly made to an IP
address, e.g. `http://x.x.x.x:8080`, then
`net.peer.name` SHOULD be the IP address `x.x.x.x`.
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.

net.peer.name in HTTP client semconv is both Required and also mentions "SHOULD NOT be set if"
6 participants