-
Notifications
You must be signed in to change notification settings - Fork 176
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
Remove conditional requirement on network.peer.address
and network.peer.port
#449
Remove conditional requirement on network.peer.address
and network.peer.port
#449
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we do the same thing for the server.port
in HTTP server spans? Currently the spec says it's conditionally required:
If
server.address
is set and the port is not default (80 forhttp
scheme,443
for https).
Should we remove the "If server.address
is set" part?
My understanding is that if we remove that part, then |
oh, maybe you're suggesting then that we (similarly) make
that seems to make sense to me |
I didn't mean that actually. |
ya, it's a good point do you think of adding similar condition on
|
This PR removed that part 😄 -- yes, I think reverting it back would resolve the confusion. |
👍 fixed |
@AlexanderWert, @lmolkova, @mateuszrzeszutek and @trisch-me - I reset all the approvals because I've made additional changes, ptal, thx |
I missed these in #342.
Based on #342 (comment):
we decided to remove the conditional and always populate these attributes when network-layer instrumentation exists.
Changes
Remove conditional requirement on
network.peer.address
andnetwork.peer.port
.Merge requirement checklist
schema-next.yaml updated with changes to existing conventions.