Skip to content

Commit

Permalink
Add "/" to valid characters for instrument names
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass committed Sep 7, 2023
1 parent e5b3109 commit d994745
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ release.
([#3670](https://github.com/open-telemetry/opentelemetry-specification/pull/3670))
- Rename "advice" to "advisory parameters".
([#3662](https://github.com/open-telemetry/opentelemetry-specification/pull/3662))
- Add "/" to valid characters for instrument names
([#3684](https://github.com/open-telemetry/opentelemetry-specification/pull/3684))

### Logs

Expand Down
6 changes: 3 additions & 3 deletions specification/metrics/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ The instrument name syntax is defined below using the [Augmented Backus-Naur
Form](https://tools.ietf.org/html/rfc5234):

```abnf
instrument-name = ALPHA 0*254 ("_" / "." / "-" / ALPHA / DIGIT)
instrument-name = ALPHA 0*254 ("_" / "." / "-" / "/" / ALPHA / DIGIT)
ALPHA = %x41-5A / %x61-7A; A-Z / a-z
DIGIT = %x30-39 ; 0-9
Expand All @@ -215,8 +215,8 @@ DIGIT = %x30-39 ; 0-9
* They are not null or empty strings.
* They are case-insensitive, ASCII strings.
* The first character must be an alphabetic character.
* Subsequent characters must belong to the alphanumeric characters, '_', '.',
and '-'.
* Subsequent characters must belong to the alphanumeric characters, '_', '.', '-',
and '/'.
* They can have a maximum length of 255 characters.

#### Instrument unit
Expand Down

0 comments on commit d994745

Please sign in to comment.