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

Deprecated, use system.process.status instead.

Types

Link to this type

system_cpu_state_values()

View Source
@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

  • :user e
  • :system e
  • :nice e
  • :idle e
  • :iowait e
  • :interrupt e
  • :steal e
Link to this type

system_filesystem_state_values()

View Source
@type system_filesystem_state_values() :: %{
  used: :used,
  free: :free,
  reserved: :reserved
}

The filesystem state

Enum Values

  • :used e
  • :free e
  • :reserved e
Link to this type

system_filesystem_type_values()

View Source
@type system_filesystem_type_values() :: %{
  fat32: :fat32,
  exfat: :exfat,
  ntfs: :ntfs,
  refs: :refs,
  hfsplus: :hfsplus,
  ext4: :ext4
}

The filesystem type

Enum Values

  • :fat32 e
  • :exfat e
  • :ntfs e
  • :refs e
  • :hfsplus e
  • :ext4 e
Link to this type

system_memory_state_values()

View Source
@type system_memory_state_values() :: %{
  used: :used,
  free: :free,
  shared: :shared,
  buffers: :buffers,
  cached: :cached
}

The memory state

Enum Values

  • :used e
  • :free e
  • :shared e
  • :buffers e
  • :cached e
Link to this type

system_network_state_values()

View Source
@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

  • :close e
  • :close_wait e
  • :closing e
  • :delete e
  • :established e
  • :fin_wait_1 e
  • :fin_wait_2 e
  • :last_ack e
  • :listen e
  • :syn_recv e
  • :syn_sent e
  • :time_wait e
Link to this type

system_paging_direction_values()

View Source
@type system_paging_direction_values() :: %{in: :in, out: :out}

The paging access direction

Enum Values

  • :in e
  • :out e
Link to this type

system_paging_state_values()

View Source
@type system_paging_state_values() :: %{used: :used, free: :free}

The memory paging state

Enum Values

  • :used e
  • :free e
Link to this type

system_paging_type_values()

View Source
@type system_paging_type_values() :: %{major: :major, minor: :minor}

The memory paging type

Enum Values

  • :major e
  • :minor e
Link to this type

system_process_status_values()

View Source
@type system_process_status_values() :: %{
  running: :running,
  sleeping: :sleeping,
  stopped: :stopped,
  defunct: :defunct
}

The process state, e.g., Linux Process State Codes

Enum Values

  • :running e
  • :sleeping e
  • :stopped e
  • :defunct e
Link to this type

system_processes_status_values()

View Source
@type system_processes_status_values() :: %{
  running: :running,
  sleeping: :sleeping,
  stopped: :stopped,
  defunct: :defunct
}

Deprecated, use system.process.status instead.

Enum Values

  • :running e
  • :sleeping e
  • :stopped e
  • :defunct e

Functions

Link to this function

system_cpu_logical_number()

View Source
@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"
This function is deprecated. Replaced by `cpu.mode` .
@spec system_cpu_state() :: :"system.cpu.state"
Link to this function

system_cpu_state_values()

View Source
@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"
Link to this function

system_filesystem_mode()

View Source
@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"
Link to this function

system_filesystem_mountpoint()

View Source
@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"
Link to this function

system_filesystem_state()

View Source
@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}
Link to this function

system_filesystem_state_values()

View Source
@spec system_filesystem_state_values() :: system_filesystem_state_values()
Link to this function

system_filesystem_type()

View Source
@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}
Link to this function

system_filesystem_type_values()

View Source
@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}
Link to this function

system_memory_state_values()

View Source
@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}
Link to this function

system_network_state_values()

View Source
@spec system_network_state_values() :: system_network_state_values()
Link to this function

system_paging_direction()

View Source
@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}
Link to this function

system_paging_direction_values()

View Source
@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}
Link to this function

system_paging_state_values()

View Source
@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}
Link to this function

system_paging_type_values()

View Source
@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}
Link to this function

system_process_status_values()

View Source
@spec system_process_status_values() :: system_process_status_values()
Link to this function

system_processes_status()

View Source
This function is deprecated. Replaced by `system.process.status`. .
@spec system_processes_status() :: :"system.processes.status"
Link to this function

system_processes_status_values()

View Source
@spec system_processes_status_values() :: system_processes_status_values()