Module prometheus_vm_msacc_collector

Collects microstate accounting metrics using erlang:statistics(microstate_accounting) .

Behaviours: prometheus_collector.

Description

Collects microstate accounting metrics using erlang:statistics(microstate_accounting) .

In order for values to increase, microstate accounting must be enabled. This is done by calling erlang:system_flag(microstate_accounting, true).

Exported metrics

Some metrics are not available by default. They require a VM configured with ./configure --with-microstate-accounting=extra.

Configuration

Metrics exported by this collector can be configured via vm_msacc_collector_metrics key of prometheus app environment.

Options are the same as MSAcc_Thread_State return type from erlang:statistics(microstate_accounting) with _seconds_total as the suffix: By default all metrics are enabled as far as Prometheus is concerned, although some metrics could not be enabled by the VM itself.

Generated by EDoc