Skip to content

Add metric name pluralization guidelines#1109

Merged
carlosalberto merged 3 commits intoopen-telemetry:masterfrom
justinfoote:metric_naming_guidance
Nov 10, 2020
Merged

Add metric name pluralization guidelines#1109
carlosalberto merged 3 commits intoopen-telemetry:masterfrom
justinfoote:metric_naming_guidance

Conversation

@justinfoote
Copy link
Copy Markdown
Member

This PR is part of the solution to issue #600.

Changes

This PR is a clarification in the general metrics semantic conventions guidelines. It adds some guidelines about when to use a pluralized metric name (like system.paging.faults) and when to use a singular name (like http.server.duration).

Related issues #600 and #705

Related oteps: #108

@justinfoote justinfoote requested review from a team October 19, 2020 17:12
Copy link
Copy Markdown
Member

@arminru arminru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you're at it, it would be nice if you could add a TOC on top (like on your other PR https://github.com/open-telemetry/opentelemetry-specification/pull/1076/files#r502371390) since the document is already getting quite long. Thanks!

@arminru arminru requested a review from jmacd October 20, 2020 14:12
@justinfoote
Copy link
Copy Markdown
Member Author

I've just added one small correction. It turns out, I was mis-using the term pseudo-unit. The things we have in curly braces in the units spec are non-units.

@jmacd
Copy link
Copy Markdown
Contributor

jmacd commented Nov 10, 2020

(I'm trying to merge this: @justinfoote surely you've signed the CLA-- not sure what else I can do.)

@carlosalberto carlosalberto reopened this Nov 10, 2020
@carlosalberto carlosalberto merged commit e0d42d5 into open-telemetry:master Nov 10, 2020
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
schmikei pushed a commit to schmikei/opentelemetry-specification that referenced this pull request Apr 17, 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.

5 participants