Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 4.01 KB

File metadata and controls

56 lines (43 loc) · 4.01 KB

Operating System

In case of virtualized environments, this is the operating system as it is observed by the process, i.e., the virtualized guest rather than the underlying host.

Status: Experimental

type: os

Description: The operating system (OS) on which the process represented by this resource is running.

Attribute Type Description Examples Requirement Level Stability
os.type string The operating system type. windows; linux; darwin Required Experimental
os.build_id string Unique identifier for a particular build or compilation of the operating system. [1] TQ3C.230805.001.B2; 20E247; 22621 Recommended Experimental
os.description 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 Experimental
os.name string Human readable operating system name. iOS; Android; Ubuntu Recommended Experimental
os.version string The version string of the operating system as defined in Version Attributes. 14.2.1; 18.04.1 Recommended Experimental

[1] os.build_id: build_id values SHOULD be obtained from the following sources:

OS Primary Fallback
Windows CurrentBuildNumber from registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion -
MacOS ProductBuildVersion from /System/Library/CoreServices/SystemVersion.plist ProductBuildVersion from /System/Library/CoreServices/ServerVersion.plist
Linux BUILD_ID from /etc/os-release BUILD_ID from /usr/lib/os-release;
contents of /proc/sys/kernel/osrelease

os.type 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.

Value Description Stability
aix AIX (Advanced Interactive eXecutive) Experimental
darwin Apple Darwin Experimental
dragonflybsd DragonFly BSD Experimental
freebsd FreeBSD Experimental
hpux HP-UX (Hewlett Packard Unix) Experimental
linux Linux Experimental
netbsd NetBSD Experimental
openbsd OpenBSD Experimental
solaris SunOS, Oracle Solaris Experimental
windows Microsoft Windows Experimental
z_os IBM z/OS Experimental