Skip to content

Commit

Permalink
Add recommendation to use non-prefixed units for metric instruments (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias authored Apr 12, 2023
1 parent 9fc6984 commit 25f513d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ release.

- Clarify that units should use UCUM case sensitive variant.
([#3306](https://github.com/open-telemetry/opentelemetry-specification/pull/3306))
- Recommended non-prefixed units for metric instrument semantic conventions.
([#3312](https://github.com/open-telemetry/opentelemetry-specification/pull/3312))
- Remove No-Op instrument and Meter creation requirements.
([#3322](https://github.com/open-telemetry/opentelemetry-specification/pull/3322))
- Fixed attributes requirement level in semantic conventions for hardware metrics
Expand Down
2 changes: 2 additions & 0 deletions specification/metrics/semantic_conventions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ give additional meaning *without* the leading default unit (`1`). For example,
use `{packet}`, `{error}`, `{fault}`, etc.
- Instrument units SHOULD be specified using the UCUM case sensitive ("c/s")
variant. For example, "Cel" for the unit with full name "degree Celsius".
- Instruments SHOULD use non-prefixed units (i.e. `By` instead of `MiBy`)
unless there is good technical reason to not do so.

### Instrument Types

Expand Down

0 comments on commit 25f513d

Please sign in to comment.