Skip to content

Commit

Permalink
Update the description of the host.image attribute (open-telemetry#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-rosset authored Apr 11, 2023
1 parent 661a43d commit 2399a0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions semantic_conventions/resource/host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ groups:
prefix: host
type: resource
brief: >
A host is defined as a general computing instance.
A host is defined as a computing instance. For example, physical servers, virtual machines, switches or disk array.
attributes:
- id: id
type: string
Expand Down Expand Up @@ -62,11 +62,11 @@ groups:
- id: image.id
type: string
brief: >
VM image ID. For Cloud, this value is from the provider.
VM image ID or host OS image ID. For Cloud, this value is from the provider.
examples: ['ami-07b06b442921831e5']
- id: image.version
type: string
brief: >
The version string of the VM image as defined in
The version string of the VM image or host OS as defined in
[Version Attributes](README.md#version-attributes).
examples: ['0.1']
6 changes: 3 additions & 3 deletions specification/resource/semantic_conventions/host.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

**type:** `host`

**Description:** A host is defined as a general computing instance.
**Description:** A host is defined as a computing instance. For example, physical servers, virtual machines, switches or disk array.

<!-- semconv host -->
| Attribute | Type | Description | Examples | Requirement Level |
Expand All @@ -14,8 +14,8 @@
| `host.type` | string | Type of host. For Cloud, this must be the machine type. | `n1-standard-1` | Recommended |
| `host.arch` | string | The CPU architecture the host system is running on. | `amd64` | Recommended |
| `host.image.name` | 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.image.id` | string | VM image ID. For Cloud, this value is from the provider. | `ami-07b06b442921831e5` | Recommended |
| `host.image.version` | string | The version string of the VM image as defined in [Version Attributes](README.md#version-attributes). | `0.1` | Recommended |
| `host.image.id` | string | VM image ID or host OS image ID. For Cloud, this value is from the provider. | `ami-07b06b442921831e5` | Recommended |
| `host.image.version` | string | The version string of the VM image or host OS as defined in [Version Attributes](README.md#version-attributes). | `0.1` | Recommended |

`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.

Expand Down

0 comments on commit 2399a0f

Please sign in to comment.