View Source prometheus_vm_system_info_collector (prometheus v4.13.0)
Collects Erlang VM metrics using erlang:system_info/1.
Exported metrics
erlang_vm_dirty_cpu_schedulersType: gauge. The number of scheduler dirty CPU scheduler threads used by the emulator.erlang_vm_dirty_cpu_schedulers_onlineType: gauge. The number of dirty CPU scheduler threads online.erlang_vm_dirty_io_schedulersType: gauge. The number of scheduler dirty I/O scheduler threads used by the emulator.erlang_vm_ets_limitType: gauge. The maximum number of ETS tables allowed.erlang_vm_logical_processorsType: gauge. The detected number of logical processors configured in the system.erlang_vm_logical_processors_availableType: gauge. The detected number of logical processors available to the Erlang runtime system.erlang_vm_logical_processors_onlineType: gauge. The detected number of logical processors online on the system.erlang_vm_port_countType: gauge. The number of ports currently existing at the local node.erlang_vm_port_limitType: gauge. The maximum number of simultaneously existing ports at the local node.erlang_vm_process_countType: gauge. The number of processes currently existing at the local node.erlang_vm_process_limitType: gauge. The maximum number of simultaneously existing processes at the local node.erlang_vm_schedulersType: gauge. The number of scheduler threads used by the emulator.erlang_vm_schedulers_onlineType: gauge. The number of schedulers online.erlang_vm_smp_supportType: boolean. 1 if the emulator has been compiled with SMP support, otherwise 0.erlang_vm_threadsType: boolean. 1 if the emulator has been compiled with thread support, otherwise 0.erlang_vm_thread_pool_sizeType: gauge. The number of async threads in the async thread pool used for asynchronous driver calls.erlang_vm_time_correctionType: boolean. 1 if time correction is enabled, otherwise 0.erlang_vm_wordsize_bytesType: gauge. The size of Erlang term words in bytes.erlang_vm_atom_countType: gauge. The number of atom currently existing at the local node.erlang_vm_atom_limitType: gauge. The maximum number of simultaneously existing atom at the local node.erlang_vm_allocatorsType: 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_limitforerlang_vm_ets_limit.logical_processorsforerlang_vm_logical_processors.logical_processors_availableforerlang_vm_logical_processors_available.logical_processors_onlineforerlang_vm_logical_processors_online.port_countforerlang_vm_port_count.port_limitforerlang_vm_port_limit.process_countforerlang_vm_process_count.process_limitforerlang_vm_process_limit.schedulersforerlang_vm_schedulers.schedulers_onlineforerlang_vm_schedulers_online.smp_supportforerlang_vm_smp_support.threadsforerlang_threads.thread_pool_sizeforerlang_vm_thread_pool_size.time_correctionforerlang_vm_time_correction.wordsize_bytesforerlang_vm_wordsize_bytes.atom_countforerlang_vm_atom_count.atom_limitforerlang_vm_atom_limit.allocatorsforerlang_vm_allocators.
By default all metrics are enabled.