Skip to content

Commit

Permalink
do not allow custom values for logstream
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Jun 26, 2023
1 parent 4922f45 commit 4d6fc20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion semantic_conventions/logs/media.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ groups:
brief: >
The stream associated with the log. SHOULD be one of: `stdout`, `stderr`.
type:
allow_custom_values: true
allow_custom_values: false
members:
- id: stdout
value: 'stdout'
Expand Down
2 changes: 1 addition & 1 deletion specification/logs/semantic_conventions/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ As such, these should be recorded as Log Record attributes when applicable. They
|---|---|---|---|---|
| `log.iostream` | string | The stream associated with the log. SHOULD be one of: `stdout`, `stderr`. | `stdout` | Opt-In |

`log.iostream` has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.
`log.iostream` MUST be one of the following:

| Value | Description |
|---|---|
Expand Down

0 comments on commit 4d6fc20

Please sign in to comment.