Skip to content

Commit 2ccdf52

Browse files
simplify windows nt to reduce breaking changes
1 parent bdb46dc commit 2ccdf52

File tree

5 files changed

+8
-14
lines changed

5 files changed

+8
-14
lines changed

docs/registry/attributes/os.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The operating system (OS) on which the process represented by this resource is r
1212
| <a id="os-build-id" href="#os-build-id">`os.build_id`</a> | string | Unique identifier for a particular build or compilation of the operating system. | `TQ3C.230805.001.B2`; `20E247`; `22621` | ![Development](https://img.shields.io/badge/-development-blue) |
1313
| <a id="os-description" href="#os-description">`os.description`</a> | 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` | ![Development](https://img.shields.io/badge/-development-blue) |
1414
| <a id="os-name" href="#os-name">`os.name`</a> | string | Human readable operating system name. | `iOS`; `Android`; `Ubuntu` | ![Development](https://img.shields.io/badge/-development-blue) |
15-
| <a id="os-type" href="#os-type">`os.type`</a> | string | The operating system type. | `windows_nt`; `unix` | ![Development](https://img.shields.io/badge/-development-blue) |
15+
| <a id="os-type" href="#os-type">`os.type`</a> | string | The operating system type. | `windows`; `unix` | ![Development](https://img.shields.io/badge/-development-blue) |
1616
| <a id="os-version" href="#os-version">`os.version`</a> | 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` | ![Development](https://img.shields.io/badge/-development-blue) |
1717

1818
---
@@ -22,4 +22,4 @@ The operating system (OS) on which the process represented by this resource is r
2222
| Value | Description | Stability |
2323
|---|---|---|
2424
| `unix` | Unix | ![Development](https://img.shields.io/badge/-development-blue) |
25-
| `windows_nt` | Microsoft Windows NT based OS | ![Development](https://img.shields.io/badge/-development-blue) |
25+
| `windows` | Microsoft Windows | ![Development](https://img.shields.io/badge/-development-blue) |

docs/registry/entities/os.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
2222
|---|---|---|---|---|---|
23-
| [`os.type`](/docs/registry/attributes/os.md) | string | The operating system type. | `windows_nt`; `unix` | `Required` | ![Development](https://img.shields.io/badge/-development-blue) |
23+
| [`os.type`](/docs/registry/attributes/os.md) | string | The operating system type. | `windows`; `unix` | `Required` | ![Development](https://img.shields.io/badge/-development-blue) |
2424
| [`os.build_id`](/docs/registry/attributes/os.md) | string | Unique identifier for a particular build or compilation of the operating system. [1] | `TQ3C.230805.001.B2`; `20E247`; `22621` | `Recommended` | ![Development](https://img.shields.io/badge/-development-blue) |
2525
| [`os.description`](/docs/registry/attributes/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` | ![Development](https://img.shields.io/badge/-development-blue) |
2626
| [`os.name`](/docs/registry/attributes/os.md) | string | Human readable operating system name. | `iOS`; `Android`; `Ubuntu` | `Recommended` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -41,7 +41,7 @@
4141
| Value | Description | Stability |
4242
|---|---|---|
4343
| `unix` | Unix | ![Development](https://img.shields.io/badge/-development-blue) |
44-
| `windows_nt` | Microsoft Windows NT based OS | ![Development](https://img.shields.io/badge/-development-blue) |
44+
| `windows` | Microsoft Windows | ![Development](https://img.shields.io/badge/-development-blue) |
4545

4646

4747
<!-- markdownlint-restore -->

docs/resource/os.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In case of virtualized environments, this is the operating system as it is obser
1818

1919
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
2020
|---|---|---|---|---|---|
21-
| [`os.type`](/docs/registry/attributes/os.md) | string | The operating system type. | `windows_nt`; `unix` | `Required` | ![Development](https://img.shields.io/badge/-development-blue) |
21+
| [`os.type`](/docs/registry/attributes/os.md) | string | The operating system type. | `windows`; `unix` | `Required` | ![Development](https://img.shields.io/badge/-development-blue) |
2222
| [`os.build_id`](/docs/registry/attributes/os.md) | string | Unique identifier for a particular build or compilation of the operating system. [1] | `TQ3C.230805.001.B2`; `20E247`; `22621` | `Recommended` | ![Development](https://img.shields.io/badge/-development-blue) |
2323
| [`os.description`](/docs/registry/attributes/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` | ![Development](https://img.shields.io/badge/-development-blue) |
2424
| [`os.name`](/docs/registry/attributes/os.md) | string | Human readable operating system name. | `iOS`; `Android`; `Ubuntu` | `Recommended` | ![Development](https://img.shields.io/badge/-development-blue) |
@@ -39,7 +39,7 @@ In case of virtualized environments, this is the operating system as it is obser
3939
| Value | Description | Stability |
4040
|---|---|---|
4141
| `unix` | Unix | ![Development](https://img.shields.io/badge/-development-blue) |
42-
| `windows_nt` | Microsoft Windows NT based OS | ![Development](https://img.shields.io/badge/-development-blue) |
42+
| `windows` | Microsoft Windows | ![Development](https://img.shields.io/badge/-development-blue) |
4343

4444
<!-- markdownlint-restore -->
4545
<!-- prettier-ignore-end -->

docs/resource/zos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The following table describes how to populate the operating system attributes on
8888
| Value | Description | Stability |
8989
|---|---|---|
9090
| `unix` | Unix | ![Development](https://img.shields.io/badge/-development-blue) |
91-
| `windows_nt` | Microsoft Windows NT based OS | ![Development](https://img.shields.io/badge/-development-blue) |
91+
| `windows` | Microsoft Windows | ![Development](https://img.shields.io/badge/-development-blue) |
9292

9393
<!-- markdownlint-restore -->
9494
<!-- prettier-ignore-end -->

model/os/registry.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,10 @@ groups:
1111
- id: os.type
1212
type:
1313
members:
14-
- id: windows_nt
15-
value: 'windows_nt'
16-
brief: "Microsoft Windows NT based OS"
17-
stability: development
1814
- id: windows
1915
value: 'windows'
2016
brief: "Microsoft Windows"
21-
deprecated:
22-
reason: renamed
23-
renamed_to: windows_nt
17+
note: Used for the Windows NT Operating System.
2418
stability: development
2519
- id: linux
2620
value: 'linux'

0 commit comments

Comments
 (0)