-
Notifications
You must be signed in to change notification settings - Fork 888
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
Add section to clarify pluralization rules #3641
Conversation
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
cc @open-telemetry/specs-semconv-approvers |
@@ -64,6 +64,13 @@ Names SHOULD follow these rules: | |||
and the value type SHOULD be an array. E.g. `process.command_args` might include multiple | |||
values: the executable name and command arguments. | |||
|
|||
- An exception to the above can occur when the attribute name in the plural form conflicts | |||
with another possible meaning. For example, using `host.ip` instead of `host.ips` is preferred |
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.
Wouldn't this be better as host.ip_addresses
then?
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.
+1
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.
Please comment on open-telemetry/semantic-conventions#203 (comment), so far we have discussed the following possibilities:
host.ip.addresses
host.ip
host.socket.address
with no consensus
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.
This addition is mostly to reflect the arguments shared at open-telemetry/semantic-conventions#203 (comment). But yes let's keep the conversation at that PR.
semi-related: #3658 |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
This PR adds a section in the Name Pluralization guidelines to clarify an exception for using the plural form as this was discussed at open-telemetry/semantic-conventions#203 (comment).
@mx-psi @MikePaquette @AlexanderWert feel free to have a look and suggest anything here.