Module: OpenTelemetry::SemConv::Incubating::HOST

Defined in:
lib/opentelemetry/semconv/incubating/host/attributes.rb

Attribute Names collapse

HOST_ARCH =
Note:

Stability Level: development

The CPU architecture the host system is running on.

'host.arch'
HOST_CPU_CACHE_L2_SIZE =
Note:

Stability Level: development

The amount of level 2 memory cache available to the processor (in Bytes).

Examples:

Sample Values

12288000
'host.cpu.cache.l2.size'
HOST_CPU_FAMILY =
Note:

Stability Level: development

Family or generation of the CPU.

Examples:

Sample Values

6
PA-RISC 1.1e
'host.cpu.family'
HOST_CPU_MODEL_ID =
Note:

Stability Level: development

Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family.

Examples:

Sample Values

6
9000/778/B180L
'host.cpu.model.id'
HOST_CPU_MODEL_NAME =
Note:

Stability Level: development

Model designation of the processor.

Examples:

Sample Values

11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
'host.cpu.model.name'
HOST_CPU_STEPPING =
Note:

Stability Level: development

Stepping or core revisions.

Examples:

Sample Values

1
r1p1
'host.cpu.stepping'
HOST_CPU_VENDOR_ID =
Note:

Stability Level: development

Processor manufacturer identifier. A maximum 12-character string.

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.

Examples:

Sample Values

GenuineIntel
'host.cpu.vendor.id'
HOST_ID =
Note:

Stability Level: development

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.

Examples:

Sample Values

fdbf79e8af94cb7f9e8df36789187052
'host.id'
HOST_IMAGE_ID =
Note:

Stability Level: development

VM image ID or host OS image ID. For Cloud, this value is from the provider.

Examples:

Sample Values

ami-07b06b442921831e5
'host.image.id'
HOST_IMAGE_NAME =
Note:

Stability Level: development

Name of the VM image or OS install the host was instantiated from.

Examples:

Sample Values

infra-ami-eks-worker-node-7d4ec78312
CentOS-8-x86_64-1905
'host.image.name'
HOST_IMAGE_VERSION =
Note:

Stability Level: development

The version string of the VM image or host OS as defined in Version Attributes.

Examples:

Sample Values

0.1
'host.image.version'
HOST_IP =
Note:

Stability Level: development

Available IP addresses of the host, excluding loopback interfaces.

IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be specified in the RFC 5952 format.

Examples:

Sample Values

["192.168.1.140", "fe80::abc2:4a28:737a:609e"]
'host.ip'
HOST_MAC =
Note:

Stability Level: development

Available MAC addresses of the host, excluding loopback interfaces.

MAC Addresses MUST be represented in IEEE RA hexadecimal form: as hyphen-separated octets in uppercase hexadecimal form from most to least significant.

Examples:

Sample Values

["AC-DE-48-23-45-67", "AC-DE-48-23-45-67-01-9F"]
'host.mac'
HOST_NAME =
Note:

Stability Level: development

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.

Examples:

Sample Values

opentelemetry-test
'host.name'
HOST_TYPE =
Note:

Stability Level: development

Type of host. For Cloud, this must be the machine type.

Examples:

Sample Values

n1-standard-1
'host.type'