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

feat: add os.kernel to os resource semantic conventions #655

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ release.
([#615](https://github.com/open-telemetry/semantic-conventions/pull/615))
- Add an example for gcp_pubsub asynchronous batch publish
([#545](https://github.com/open-telemetry/semantic-conventions/pull/545)).
- Add `os.kernel` to `os` resource semantic conventions
([#655](https://github.com/open-telemetry/semantic-conventions/pull/655))

### Fixes

Expand Down
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` | 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`](../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
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
Loading