VM System Information Collector
Collects Erlang VM metrics using :erlang.system_info/1.
Exported metrics
-
erlang_vm_ets_limit
Type: gauge.
The maximum number of ETS tables allowed. -
erlang_vm_logical_processors
Type: gauge.
The detected number of logical processors configured in the system. -
erlang_vm_logical_processors_available
Type: gauge.
The detected number of logical processors available to the Erlang runtime system. -
erlang_vm_logical_processors_online
Type: gauge.
The detected number of logical processors online on the system. -
erlang_vm_port_count
Type: gauge.
The number of ports currently existing at the local node. -
erlang_vm_port_limit
Type: gauge.
The maximum number of simultaneously existing ports at the local node. -
erlang_vm_process_count
Type: gauge.
The number of processes currently existing at the local node. -
erlang_vm_process_limit
Type: gauge.
The maximum number of simultaneously existing processes at the local node. -
erlang_vm_schedulers
Type: gauge.
The number of scheduler threads used by the emulator. -
erlang_vm_schedulers_online
Type: gauge.
The number of schedulers online. -
erlang_vm_smp_support
Type: boolean.
1 if the emulator has been compiled with SMP support, otherwise 0. -
erlang_vm_threads
Type: boolean.
1 if the emulator has been compiled with thread support, otherwise 0. -
erlang_vm_thread_pool_size
Type: gauge.
The number of async threads in the async thread pool used for asynchronous driver calls. -
erlang_vm_time_correction
Type: boolean.
1 if time correction is enabled, otherwise 0.
Configuration
Metrics exported by this collector can be configured via
:vm_system_info_collector_metrics
key of :prometheus
app environment.
Options are the same as Item parameter values for :erlang.system_info/1:
:ets_limit
forerlang_vm_ets_limit
;:logical_processors
forerlang_vm_logical_processors
;:logical_processors_available
forerlang_vm_logical_processors_available
;:logical_processors_online
forerlang_vm_logical_processors_online
;:port_count
forerlang_vm_port_count
;:port_limit
forerlang_vm_port_limit
;:process_count
forerlang_vm_process_count
;:process_limit
forerlang_vm_process_limit
;:schedulers
forerlang_vm_schedulers
;:schedulers_online
forerlang_vm_schedulers_online
;:smp_support
forerlang_vm_smp_support
;:threads
forerlang_threads
;:thread_pool_size
forerlang_vm_thread_pool_size
;:time_correction
forerlang_vm_time_correction
. By default all metrics are enabled.