You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`host.type`](/docs/registry/attributes/host.md)| string | Type of host. For Cloud, this must be the machine type. |`n1-standard-1`|`Recommended`||
21
+
|[`host.ip`](/docs/registry/attributes/host.md)| string[]| Available IP addresses of the host, excluding loopback interfaces. [1]|`["192.168.1.140", "fe80::abc2:4a28:737a:609e"]`|`Opt-In`||
22
+
|[`host.mac`](/docs/registry/attributes/host.md)| string[]| Available MAC addresses of the host, excluding loopback interfaces. [2]|`["AC-DE-48-23-45-67", "AC-DE-48-23-45-67-01-9F"]`|`Opt-In`||
23
+
24
+
**[1]`host.ip`:** IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format.
25
+
26
+
**[2]`host.mac`:** MAC Addresses MUST be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant.
27
+
16
28
**Other Attributes:**
17
29
18
30
> :warning: This entity definition contains attributes without a role.
19
31
> Stable Entities MUST NOT have attributes without a defined role.
|[`host.arch`](/docs/registry/attributes/host.md)| string | The CPU architecture the host system is running on. |`amd64`; `arm32`; `arm64`|`Recommended`||
24
-
|[`host.id`](/docs/registry/attributes/host.md)| string | Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. [1]|`fdbf79e8af94cb7f9e8df36789187052`|`Recommended`||
25
-
|[`host.image.id`](/docs/registry/attributes/host.md)| string | VM image ID or host OS image ID. For Cloud, this value is from the provider. |`ami-07b06b442921831e5`|`Recommended`||
26
-
|[`host.image.name`](/docs/registry/attributes/host.md)| string | Name of the VM image or OS install the host was instantiated from. |`infra-ami-eks-worker-node-7d4ec78312`; `CentOS-8-x86_64-1905`|`Recommended`||
27
-
|[`host.image.version`](/docs/registry/attributes/host.md)| string | The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). |`0.1`|`Recommended`||
35
+
|[`host.id`](/docs/registry/attributes/host.md)| string | Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. [3]|`fdbf79e8af94cb7f9e8df36789187052`|`Recommended`||
28
36
|[`host.name`](/docs/registry/attributes/host.md)| string | Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. |`opentelemetry-test`|`Recommended`||
29
-
|[`host.type`](/docs/registry/attributes/host.md)| string | Type of host. For Cloud, this must be the machine type. |`n1-standard-1`|`Recommended`||
30
-
|[`host.ip`](/docs/registry/attributes/host.md)| string[]| Available IP addresses of the host, excluding loopback interfaces. [2]|`["192.168.1.140", "fe80::abc2:4a28:737a:609e"]`|`Opt-In`||
31
-
|[`host.mac`](/docs/registry/attributes/host.md)| string[]| Available MAC addresses of the host, excluding loopback interfaces. [3]|`["AC-DE-48-23-45-67", "AC-DE-48-23-45-67-01-9F"]`|`Opt-In`||
32
37
33
-
**[1]`host.id`:** Collecting `host.id` from non-containerized systems
38
+
**[3]`host.id`:** Collecting `host.id` from non-containerized systems
34
39
35
40
**Non-privileged Machine ID Lookup**
36
41
@@ -56,13 +61,35 @@ detector implementations MUST not collect `host.id` from privileged sources. If
56
61
privileged lookup of `host.id` is required, the value should be injected via the
57
62
`OTEL_RESOURCE_ATTRIBUTES` environment variable.
58
63
59
-
**[2]`host.ip`:** IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format.
64
+
## Host CPU
60
65
61
-
**[3]`host.mac`:** MAC Addresses MUST be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant.
|[`host.cpu.arch`](/docs/registry/attributes/host.md)| string | The CPU architecture the host system is running on. |`amd64`; `arm32`; `arm64`|`Recommended`||
80
+
|[`host.id`](/docs/registry/attributes/host.md)| string | Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. |`fdbf79e8af94cb7f9e8df36789187052`|`Recommended`||
81
+
|[`host.cpu.cache.l2.size`](/docs/registry/attributes/host.md)| int | The amount of level 2 memory cache available to the processor (in Bytes). |`12288000`|`Opt-In`||
82
+
|[`host.cpu.family`](/docs/registry/attributes/host.md)| string | Family or generation of the CPU. |`6`; `PA-RISC 1.1e`|`Opt-In`||
83
+
|[`host.cpu.model.id`](/docs/registry/attributes/host.md)| string | Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. |`6`; `9000/778/B180L`|`Opt-In`||
84
+
|[`host.cpu.model.name`](/docs/registry/attributes/host.md)| string | Model designation of the processor. |`11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz`|`Opt-In`||
85
+
|[`host.cpu.stepping`](/docs/registry/attributes/host.md)| string | Stepping or core revisions. |`1`; `r1p1`|`Opt-In`||
86
+
|[`host.cpu.vendor.id`](/docs/registry/attributes/host.md)| string | Processor manufacturer identifier. A maximum 12-character string. [4]|`GenuineIntel`|`Opt-In`||
87
+
88
+
**[4]`host.cpu.vendor.id`:**[CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string.
62
89
63
90
---
64
91
65
-
`host.arch` 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.
92
+
`host.cpu.arch` 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.
66
93
67
94
| Value | Description | Stability |
68
95
|---|---|---|
@@ -75,29 +102,26 @@ privileged lookup of `host.id` is required, the value should be injected via the
75
102
|`s390x`| IBM z/Architecture ||
76
103
|`x86`| 32-bit x86 ||
|[`host.cpu.cache.l2.size`](/docs/registry/attributes/host.md)| int | The amount of level 2 memory cache available to the processor (in Bytes). |`12288000`|`Opt-In`||
94
-
|[`host.cpu.family`](/docs/registry/attributes/host.md)| string | Family or generation of the CPU. |`6`; `PA-RISC 1.1e`|`Opt-In`||
95
-
|[`host.cpu.model.id`](/docs/registry/attributes/host.md)| string | Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. |`6`; `9000/778/B180L`|`Opt-In`||
96
-
|[`host.cpu.model.name`](/docs/registry/attributes/host.md)| string | Model designation of the processor. |`11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz`|`Opt-In`||
97
-
|[`host.cpu.stepping`](/docs/registry/attributes/host.md)| string | Stepping or core revisions. |`1`; `r1p1`|`Opt-In`||
98
-
|[`host.cpu.vendor.id`](/docs/registry/attributes/host.md)| string | Processor manufacturer identifier. A maximum 12-character string. [4]|`GenuineIntel`|`Opt-In`||
117
+
|[`host.image.id`](/docs/registry/attributes/host.md)| string | VM image ID or host OS image ID. For Cloud, this value is from the provider. |`ami-07b06b442921831e5`|`Recommended`||
118
+
|[`host.image.version`](/docs/registry/attributes/host.md)| string | The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). |`0.1`|`Recommended`||
99
119
100
-
**[4]`host.cpu.vendor.id`:**[CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string.
|[`host.image.name`](/docs/registry/attributes/host.md)| string | Name of the VM image or OS install the host was instantiated from. |`infra-ami-eks-worker-node-7d4ec78312`; `CentOS-8-x86_64-1905`|`Recommended`||
|[`host.id`](/docs/registry/attributes/host.md)| string | Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. [1]|`fdbf79e8af94cb7f9e8df36789187052`|`Recommended`||
23
-
|[`host.image.id`](/docs/registry/attributes/host.md)| string | VM image ID or host OS image ID. For Cloud, this value is from the provider. |`ami-07b06b442921831e5`|`Recommended`||
24
-
|[`host.image.name`](/docs/registry/attributes/host.md)| string | Name of the VM image or OS install the host was instantiated from. |`infra-ami-eks-worker-node-7d4ec78312`; `CentOS-8-x86_64-1905`|`Recommended`||
25
-
|[`host.image.version`](/docs/registry/attributes/host.md)| string | The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). |`0.1`|`Recommended`||
26
23
|[`host.name`](/docs/registry/attributes/host.md)| string | Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. |`opentelemetry-test`|`Recommended`||
27
24
|[`host.type`](/docs/registry/attributes/host.md)| string | Type of host. For Cloud, this must be the machine type. |`n1-standard-1`|`Recommended`||
28
25
|[`host.ip`](/docs/registry/attributes/host.md)| string[]| Available IP addresses of the host, excluding loopback interfaces. [2]|`["192.168.1.140", "fe80::abc2:4a28:737a:609e"]`|`Opt-In`||
0 commit comments