HostAttribute : string
Host attribute keys following OpenTelemetry semantic conventions.
These attribute names correspond to the Host resource attributes as defined in the OpenTelemetry semantic conventions specification.
Tags
Cases
- ARCH = 'host.arch'
- The CPU architecture the host system is running on.
- ID = 'host.id'
- Unique host ID.
- IP = 'host.ip'
- Available IP addresses of the host.
- MAC = 'host.mac'
- Available MAC addresses of the host.
- NAME = 'host.name'
- Name of the host.
- TYPE = 'host.type'
- Type of host.
Cases
ARCH
The CPU architecture the host system is running on.
Tags
ID
Unique host ID.
For cloud resources, this should be the cloud provider's instance ID. For non-cloud, this could be the machine-id from /etc/machine-id (Linux) or a similar system identifier.
Example: "i-1234567890abcdef0"
IP
Available IP addresses of the host.
Example: ["192.168.1.100", "fd00::1"]
MAC
Available MAC addresses of the host.
MAC addresses should be uppercase and colon-separated.
Example: ["AA:BB:CC:DD:EE:FF"]
NAME
Name of the host.
This may be a hostname, FQDN, or another host identifier.
Example: "web-server-1.example.com"
TYPE
Type of host.
For cloud resources, this could be the machine type like "t2.medium".
Example: "n1-standard-1"