View Source prometheus_vm_system_info_collector (prometheus v5.0.0)
Collects Erlang VM metrics using erlang:system_info/1
.
Exported metrics
erlang_vm_dirty_cpu_schedulers
Type: gauge. The number of scheduler dirty CPU scheduler threads used by the emulator.erlang_vm_dirty_cpu_schedulers_online
Type: gauge. The number of dirty CPU scheduler threads online.erlang_vm_dirty_io_schedulers
Type: gauge. The number of scheduler dirty I/O scheduler threads used by the emulator.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.erlang_vm_wordsize_bytes
Type: gauge. The size of Erlang term words in bytes.erlang_vm_atom_count
Type: gauge. The number of atom currently existing at the local node.erlang_vm_atom_limit
Type: gauge. The maximum number of simultaneously existing atom at the local node.erlang_vm_allocators
Type: gauge. Allocated (carriers_size) and used (blocks_size) memory for the different allocators in the VM. See erts_alloc(3).
Configuration
Metrics exported by this collector can be configured via vm_system_info_collector_metrics
key
of the 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
.wordsize_bytes
forerlang_vm_wordsize_bytes
.atom_count
forerlang_vm_atom_count
.atom_limit
forerlang_vm_atom_limit
.allocators
forerlang_vm_allocators
.
By default all metrics are enabled.