Skip to content

Commit

Permalink
feat: add os.kernel.version to os resource semantic conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed Jan 19, 2024
1 parent a41f0e8 commit c7c3fe0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/attributes-registry/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ linkTitle: OS
|---|---|---|---|
| `os.build_id` | string | Unique identifier for a particular build or compilation of the operating system. | `TQ3C.230805.001.B2`; `20E247`; `22621` |
| `os.description` | string | Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. | `Microsoft Windows [Version 10.0.18363.778]`; `Ubuntu 18.04.1 LTS` |
| `os.kernel.version` | string | The version string of the kernel as defined in [Version Attributes](/docs/resource/README.md#version-attributes). | `6.7.0-arch3-1` |
| `os.name` | string | Human readable operating system name. | `iOS`; `Android`; `Ubuntu` |
| `os.type` | string | The operating system type. | `windows` |
| `os.version` | string | The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). | `14.2.1`; `18.04.1` |
Expand Down
1 change: 1 addition & 0 deletions docs/resource/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ In case of virtualized environments, this is the operating system as it is obser
|---|---|---|---|---|
| [`os.build_id`](../attributes-registry/os.md) | string | Unique identifier for a particular build or compilation of the operating system. | `TQ3C.230805.001.B2`; `20E247`; `22621` | Recommended |
| [`os.description`](../attributes-registry/os.md) | string | Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. | `Microsoft Windows [Version 10.0.18363.778]`; `Ubuntu 18.04.1 LTS` | Recommended |
| [`os.kernel.version`](../attributes-registry/os.md) | string | The version string of the kernel as defined in [Version Attributes](/docs/resource/README.md#version-attributes). | `6.7.0-arch3-1` | Recommended |
| [`os.name`](../attributes-registry/os.md) | string | Human readable operating system name. | `iOS`; `Android`; `Ubuntu` | Recommended |
| [`os.type`](../attributes-registry/os.md) | string | The operating system type. | `windows` | Required |
| [`os.version`](../attributes-registry/os.md) | string | The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). | `14.2.1`; `18.04.1` | Recommended |
Expand Down
6 changes: 6 additions & 0 deletions model/registry/os.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ groups:
The version string of the operating system as defined in
[Version Attributes](/docs/resource/README.md#version-attributes).
examples: ['14.2.1', '18.04.1']
- id: kernel.version
type: string
brief: >
The version string of the kernel as defined in
[Version Attributes](/docs/resource/README.md#version-attributes).
examples: ['6.7.0-arch3-1']
- id: build_id
type: string
brief: 'Unique identifier for a particular build or compilation of the operating system.'
Expand Down
1 change: 1 addition & 0 deletions model/resource/os.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ groups:
- ref: os.name
- ref: os.version
- ref: os.build_id
- ref: os.kernel.version

0 comments on commit c7c3fe0

Please sign in to comment.