View Source OpenTelemetry.SemConv.Incubating.SystemAttributes (OpenTelemetry.SemConv v1.27.0)
OpenTelemetry Semantic Conventions for System attributes.
Summary
Types
Deprecated, use cpu.mode
instead.
The filesystem state
The filesystem type
The memory state
A stateless protocol MUST NOT set this attribute
The paging access direction
The memory paging state
The memory paging type
The process state, e.g., Linux Process State Codes
Deprecated, use system.process.status
instead.
Functions
The logical CPU number [0..n-1]
The device identifier
The filesystem mode
The filesystem mount path
The filesystem state
The filesystem type
The memory state
A stateless protocol MUST NOT set this attribute
The paging access direction
The memory paging state
The memory paging type
The process state, e.g., Linux Process State Codes
Types
@type system_cpu_state_values() :: %{
user: :user,
system: :system,
nice: :nice,
idle: :idle,
iowait: :iowait,
interrupt: :interrupt,
steal: :steal
}
Deprecated, use cpu.mode
instead.
Enum Values
@type system_filesystem_state_values() :: %{
used: :used,
free: :free,
reserved: :reserved
}
The filesystem state
Enum Values
@type system_filesystem_type_values() :: %{
fat32: :fat32,
exfat: :exfat,
ntfs: :ntfs,
refs: :refs,
hfsplus: :hfsplus,
ext4: :ext4
}
The filesystem type
Enum Values
@type system_memory_state_values() :: %{
used: :used,
free: :free,
shared: :shared,
buffers: :buffers,
cached: :cached
}
The memory state
Enum Values
@type system_network_state_values() :: %{
close: :close,
close_wait: :close_wait,
closing: :closing,
delete: :delete,
established: :established,
fin_wait_1: :fin_wait_1,
fin_wait_2: :fin_wait_2,
last_ack: :last_ack,
listen: :listen,
syn_recv: :syn_recv,
syn_sent: :syn_sent,
time_wait: :time_wait
}
A stateless protocol MUST NOT set this attribute
Enum Values
@type system_paging_direction_values() :: %{in: :in, out: :out}
The paging access direction
Enum Values
@type system_paging_state_values() :: %{used: :used, free: :free}
The memory paging state
Enum Values
@type system_paging_type_values() :: %{major: :major, minor: :minor}
The memory paging type
Enum Values
@type system_process_status_values() :: %{
running: :running,
sleeping: :sleeping,
stopped: :stopped,
defunct: :defunct
}
The process state, e.g., Linux Process State Codes
Enum Values
@type system_processes_status_values() :: %{
running: :running,
sleeping: :sleeping,
stopped: :stopped,
defunct: :defunct
}
Deprecated, use system.process.status
instead.
Enum Values
Functions
@spec system_cpu_logical_number() :: :"system.cpu.logical_number"
The logical CPU number [0..n-1]
Value type
Value must be of type integer()
.
Examples
[1]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_cpu_logical_number()
:"system.cpu.logical_number"
?SYSTEM_CPU_LOGICAL_NUMBER.
'system.cpu.logical_number'
@spec system_cpu_state() :: :"system.cpu.state"
@spec system_cpu_state_values() :: system_cpu_state_values()
@spec system_device() :: :"system.device"
The device identifier
Value type
Value must be of type atom() | String.t()
.
Examples
["(identifier)"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_device()
:"system.device"
?SYSTEM_DEVICE.
'system.device'
@spec system_filesystem_mode() :: :"system.filesystem.mode"
The filesystem mode
Value type
Value must be of type atom() | String.t()
.
Examples
["rw, ro"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_mode()
:"system.filesystem.mode"
?SYSTEM_FILESYSTEM_MODE.
'system.filesystem.mode'
@spec system_filesystem_mountpoint() :: :"system.filesystem.mountpoint"
The filesystem mount path
Value type
Value must be of type atom() | String.t()
.
Examples
["/mnt/data"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_mountpoint()
:"system.filesystem.mountpoint"
?SYSTEM_FILESYSTEM_MOUNTPOINT.
'system.filesystem.mountpoint'
@spec system_filesystem_state() :: :"system.filesystem.state"
The filesystem state
Examples
["used"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_state()
:"system.filesystem.state"
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_state_values().used
:used
iex> %{OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_state() => OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_state_values().used}
%{:"system.filesystem.state" => :used}
?SYSTEM_FILESYSTEM_STATE.
'system.filesystem.state'
?SYSTEM_FILESYSTEM_STATE_VALUES_USED.
'used'
#{?SYSTEM_FILESYSTEM_STATE => ?SYSTEM_FILESYSTEM_STATE_VALUES_USED}.
#{'system.filesystem.state' => 'used'}
@spec system_filesystem_state_values() :: system_filesystem_state_values()
@spec system_filesystem_type() :: :"system.filesystem.type"
The filesystem type
Examples
["ext4"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_type()
:"system.filesystem.type"
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_type_values().fat32
:fat32
iex> %{OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_type() => OpenTelemetry.SemConv.Incubating.SystemAttributes.system_filesystem_type_values().fat32}
%{:"system.filesystem.type" => :fat32}
?SYSTEM_FILESYSTEM_TYPE.
'system.filesystem.type'
?SYSTEM_FILESYSTEM_TYPE_VALUES_FAT32.
'fat32'
#{?SYSTEM_FILESYSTEM_TYPE => ?SYSTEM_FILESYSTEM_TYPE_VALUES_FAT32}.
#{'system.filesystem.type' => 'fat32'}
@spec system_filesystem_type_values() :: system_filesystem_type_values()
@spec system_memory_state() :: :"system.memory.state"
The memory state
Examples
["free", "cached"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_memory_state()
:"system.memory.state"
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_memory_state_values().used
:used
iex> %{OpenTelemetry.SemConv.Incubating.SystemAttributes.system_memory_state() => OpenTelemetry.SemConv.Incubating.SystemAttributes.system_memory_state_values().used}
%{:"system.memory.state" => :used}
?SYSTEM_MEMORY_STATE.
'system.memory.state'
?SYSTEM_MEMORY_STATE_VALUES_USED.
'used'
#{?SYSTEM_MEMORY_STATE => ?SYSTEM_MEMORY_STATE_VALUES_USED}.
#{'system.memory.state' => 'used'}
@spec system_memory_state_values() :: system_memory_state_values()
@spec system_network_state() :: :"system.network.state"
A stateless protocol MUST NOT set this attribute
Examples
["close_wait"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_network_state()
:"system.network.state"
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_network_state_values().close
:close
iex> %{OpenTelemetry.SemConv.Incubating.SystemAttributes.system_network_state() => OpenTelemetry.SemConv.Incubating.SystemAttributes.system_network_state_values().close}
%{:"system.network.state" => :close}
?SYSTEM_NETWORK_STATE.
'system.network.state'
?SYSTEM_NETWORK_STATE_VALUES_CLOSE.
'close'
#{?SYSTEM_NETWORK_STATE => ?SYSTEM_NETWORK_STATE_VALUES_CLOSE}.
#{'system.network.state' => 'close'}
@spec system_network_state_values() :: system_network_state_values()
@spec system_paging_direction() :: :"system.paging.direction"
The paging access direction
Examples
["in"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_direction()
:"system.paging.direction"
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_direction_values().in
:in
iex> %{OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_direction() => OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_direction_values().in}
%{:"system.paging.direction" => :in}
?SYSTEM_PAGING_DIRECTION.
'system.paging.direction'
?SYSTEM_PAGING_DIRECTION_VALUES_IN.
'in'
#{?SYSTEM_PAGING_DIRECTION => ?SYSTEM_PAGING_DIRECTION_VALUES_IN}.
#{'system.paging.direction' => 'in'}
@spec system_paging_direction_values() :: system_paging_direction_values()
@spec system_paging_state() :: :"system.paging.state"
The memory paging state
Examples
["free"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_state()
:"system.paging.state"
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_state_values().used
:used
iex> %{OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_state() => OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_state_values().used}
%{:"system.paging.state" => :used}
?SYSTEM_PAGING_STATE.
'system.paging.state'
?SYSTEM_PAGING_STATE_VALUES_USED.
'used'
#{?SYSTEM_PAGING_STATE => ?SYSTEM_PAGING_STATE_VALUES_USED}.
#{'system.paging.state' => 'used'}
@spec system_paging_state_values() :: system_paging_state_values()
@spec system_paging_type() :: :"system.paging.type"
The memory paging type
Examples
["minor"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_type()
:"system.paging.type"
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_type_values().major
:major
iex> %{OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_type() => OpenTelemetry.SemConv.Incubating.SystemAttributes.system_paging_type_values().major}
%{:"system.paging.type" => :major}
?SYSTEM_PAGING_TYPE.
'system.paging.type'
?SYSTEM_PAGING_TYPE_VALUES_MAJOR.
'major'
#{?SYSTEM_PAGING_TYPE => ?SYSTEM_PAGING_TYPE_VALUES_MAJOR}.
#{'system.paging.type' => 'major'}
@spec system_paging_type_values() :: system_paging_type_values()
@spec system_process_status() :: :"system.process.status"
The process state, e.g., Linux Process State Codes
Examples
["running"]
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_process_status()
:"system.process.status"
iex> OpenTelemetry.SemConv.Incubating.SystemAttributes.system_process_status_values().running
:running
iex> %{OpenTelemetry.SemConv.Incubating.SystemAttributes.system_process_status() => OpenTelemetry.SemConv.Incubating.SystemAttributes.system_process_status_values().running}
%{:"system.process.status" => :running}
?SYSTEM_PROCESS_STATUS.
'system.process.status'
?SYSTEM_PROCESS_STATUS_VALUES_RUNNING.
'running'
#{?SYSTEM_PROCESS_STATUS => ?SYSTEM_PROCESS_STATUS_VALUES_RUNNING}.
#{'system.process.status' => 'running'}
@spec system_process_status_values() :: system_process_status_values()
@spec system_processes_status() :: :"system.processes.status"
@spec system_processes_status_values() :: system_processes_status_values()