Runtime metrics
This document provides information about the runtime and Mnesia-related metrics exposed by TPOSS.
Look at these metrics when TPOSS uses more memory than expected, or when the instances can no longer communicate with each other.
OTP runtime metrics
TPOSS exposes the following OTP runtime metrics:
The value of the datapoint label depends on the metric.
Erlang VM garbage collection datapoints
The runtime_garbage_collection metric may have the following datapoint values:
number_of_gcs- total number of garbage collections performed by a VMwords_reclaimed- total number of words reclaimed during garbage collections
Erlang VM I/O datapoints
The runtime_io metric may have the following datapoint values:
input- total number of bytes received by a VMoutput- total number of bytes sent by a VM
Erlang VM memory datapoints
The runtime_ram metric may have the following datapoint values:
total- total number of bytes currently allocated by the underlying BEAM virtual machineprocesses- total number of bytes allocated for the processesprocesses_used- total number of bytes currently used by the processessystem- total number of bytes allocated by the underlying BEAM virtual machine for system purposesatom- total number of bytes allocated by the underlying BEAM virtual machine for atomsatom_used- total number of bytes currently used for atomsbinary- total number of bytes allocated by the underlying BEAM virtual machine for binariescode- total number of bytes allocated by the underlying BEAM virtual machine for codeets- total number of bytes allocated by the underlying BEAM virtual machine for ETS tables
Erlang VM ports datapoints
The runtime_ports metric may have the following datapoint values:
port_count- number of ports currently existing at the TPOSS nodeport_limit- maximum number of simultaneously existing ports at the TPOSS node
Erlang VM processes datapoints
The runtime_processes metric may have the following datapoint values:
process_count- number of processes launched by TPOSSprocess_limit- maximum number of processes that can be launched by TPOSSrun_queue_size- total length of all normal and dirty CPU run queues
Erlang VM processors datapoints
The runtime_processors metric may have the following datapoint values:
logical_processors- detected number of logical processors configured in the systemlogical_processors_available- detected number of logical processors available to the TPOSS runtime system
Erlang VM allocators datapoints
Note
This metric is enabled only in the Prometheus formatOpens in a new tab and does not appear if you request metrics in the JSON format.
The erlang_vm_allocators metric provides information about different memory allocators in the Erlang VM.
alloc- the memory allocator name. The possible values are:temp_alloc,eheap_alloc,binary_alloc,ets_alloc,driver_alloc,literal_alloc,sl_alloc,ll_alloc,fix_alloc, orstd_alloc. For more information about different types of memory allocators, read the Erlang documentationOpens in a new tab.instance_no- instance number of the memory allocator.kind- type of the memory allocator. The possible values are:mbcsfor the multi-block carriers,sbcsfor the single-block carriers, andmbcs_poolfor pool of multi-block carriers.usage- details about the different aspects of memory usage for the given memory allocator.
For more information about the Erlang VM allocators, read the official documentationOpens in a new tab.
Mnesia metrics
TPOSS exposes the following Mnesia metrics: