View Source OpenTelemetry.SemConv.Incubating.CpuAttributes (OpenTelemetry.SemConv v1.27.0)
OpenTelemetry Semantic Conventions for Cpu attributes.
Summary
Types
The mode of the CPU
Types
Functions
@spec cpu_mode() :: :"cpu.mode"
The mode of the CPU
Examples
["user", "system"]
iex> OpenTelemetry.SemConv.Incubating.CpuAttributes.cpu_mode()
:"cpu.mode"
iex> OpenTelemetry.SemConv.Incubating.CpuAttributes.cpu_mode_values().user
:user
iex> %{OpenTelemetry.SemConv.Incubating.CpuAttributes.cpu_mode() => OpenTelemetry.SemConv.Incubating.CpuAttributes.cpu_mode_values().user}
%{:"cpu.mode" => :user}
?CPU_MODE.
'cpu.mode'
?CPU_MODE_VALUES_USER.
'user'
#{?CPU_MODE => ?CPU_MODE_VALUES_USER}.
#{'cpu.mode' => 'user'}
@spec cpu_mode_values() :: cpu_mode_values()