View Source OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics (OpenTelemetry.SemConv v1.27.0)

OpenTelemetry Semantic Conventions for Process metrics.

Summary

Functions

Number of times the process has been context switched.

Total CPU seconds broken down by different states.

Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process.

Disk bytes transferred.

The amount of physical memory in use.

The amount of committed virtual memory.

Network bytes transferred.

Number of file descriptors in use by the process.

Number of page faults the process has made.

Process threads count.

Functions

Link to this function

process_context_switches()

View Source
@spec process_context_switches() :: :"process.context_switches"

Number of times the process has been context switched.

Instrument: counter
Unit: {count}

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_context_switches()
:"process.context_switches"
@spec process_cpu_time() :: :"process.cpu.time"

Total CPU seconds broken down by different states.

Instrument: counter
Unit: s

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_cpu_time()
:"process.cpu.time"
Link to this function

process_cpu_utilization()

View Source
@spec process_cpu_utilization() :: :"process.cpu.utilization"

Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process.

Instrument: gauge
Unit: 1

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_cpu_utilization()
:"process.cpu.utilization"
@spec process_disk_io() :: :"process.disk.io"

Disk bytes transferred.

Instrument: counter
Unit: By

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_disk_io()
:"process.disk.io"
@spec process_memory_usage() :: :"process.memory.usage"

The amount of physical memory in use.

Instrument: updowncounter
Unit: By

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_memory_usage()
:"process.memory.usage"
Link to this function

process_memory_virtual()

View Source
@spec process_memory_virtual() :: :"process.memory.virtual"

The amount of committed virtual memory.

Instrument: updowncounter
Unit: By

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_memory_virtual()
:"process.memory.virtual"
@spec process_network_io() :: :"process.network.io"

Network bytes transferred.

Instrument: counter
Unit: By

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_network_io()
:"process.network.io"
Link to this function

process_open_file_descriptor_count()

View Source
@spec process_open_file_descriptor_count() :: :"process.open_file_descriptor.count"

Number of file descriptors in use by the process.

Instrument: updowncounter
Unit: {count}

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_open_file_descriptor_count()
:"process.open_file_descriptor.count"
@spec process_paging_faults() :: :"process.paging.faults"

Number of page faults the process has made.

Instrument: counter
Unit: {fault}

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_paging_faults()
:"process.paging.faults"
@spec process_thread_count() :: :"process.thread.count"

Process threads count.

Instrument: updowncounter
Unit: {thread}

iex> OpenTelemetry.SemConv.Incubating.Metrics.ProcessMetrics.process_thread_count()
:"process.thread.count"