For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Runtime metrics

Tip

The Mnesia metrics report 0 unless sessions.backend is set to mnesia.

For the metrics endpoint, the export formats, and the conventions that apply to all the metrics, see the Metrics document.

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 VM
  • words_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 VM
  • output - 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 machine
  • processes - total number of bytes allocated for the processes
  • processes_used - total number of bytes currently used by the processes
  • system - total number of bytes allocated by the underlying BEAM virtual machine for system purposes
  • atom - total number of bytes allocated by the underlying BEAM virtual machine for atoms
  • atom_used - total number of bytes currently used for atoms
  • binary - total number of bytes allocated by the underlying BEAM virtual machine for binaries
  • code - total number of bytes allocated by the underlying BEAM virtual machine for code
  • ets - 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 node
  • port_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 TPOSS
  • process_limit - maximum number of processes that can be launched by TPOSS
  • run_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 system
  • logical_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, or std_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: mbcs for the multi-block carriers, sbcs for the single-block carriers, and mbcs_pool for 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: