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

Add recommendation to use non-prefixed units for metric instruments #3312

Merged
merged 19 commits into from
Apr 12, 2023

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Mar 13, 2023

Addresses #705 (comment)

Changes

Provides guidelines for when to use a prefixed unit and when to not.

Related issues #705

@MrAlias MrAlias added area:semantic-conventions Related to semantic conventions spec:metrics Related to the specification/metrics directory labels Mar 13, 2023
@MrAlias MrAlias marked this pull request as ready for review March 13, 2023 16:44
@MrAlias MrAlias requested review from a team March 13, 2023 16:44
@trask
Copy link
Member

trask commented Mar 31, 2023

cc @open-telemetry/java-instrumentation-approvers, this will impact process.runtime.jvm.gc.duration

Copy link
Member

@jack-berg jack-berg left a comment

Choose a reason for hiding this comment

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

This appears to codify the TC vote here. If I properly understood the TC's decision, we recommended going further than only using seconds as the default unit for duration, extending the recommendation to prefer base (or non-prefixed) units generally.

cc @open-telemetry/technical-committee please confirm / revise my understanding of the decision.

@trask
Copy link
Member

trask commented Apr 12, 2023

@open-telemetry/technical-committee I think this is ready to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:semantic-conventions Related to semantic conventions spec:metrics Related to the specification/metrics directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants