Module prfMnesia

Collects info about mnesia and ets/dets tables.

Authors: Matthias Nilsson (matthias@baktus.se).

Description

Collects info about mnesia and ets/dets tables.

Data Types

config()

config() = [{config_name(), value()}]

config_name()

config_name() = atom()

data()

data() = {metric_name(), [metric()]}

metric()

metric() = {metric_name(), value()}

metric_name()

metric_name() = atom()

state()

state() = #state{}

value()

value() = term()

Function Index

available_collectors/0List available collectors.
collect/1Collect information about mnesia and ets/dets tables.
config/2Configure the running state of prfMnesia.

Function Details

available_collectors/0

available_collectors() -> [metric_name()]

List available collectors

The following collectors are available:

[collector][unit]
held_lockscount
held_locks_changecount/s
lock_queuecount
lock_queue_changecount/s
subscribers[pid()]
table_sizes[bytes]
table_size_changes[bytes/s]
object_counts[count]
object_count_changes[count/s]
current_transactionscount
current_transactions_changecount/s
failed_transactionscount
failed_transactions_changecount/s
committed_transactionscount
committed_transactions_changecount/s
restarted_transactionscount
restarted_transactions_changecount/s
logged_transactionscount
logged_transactions_changecount/s

collect/1

collect(State::init | state()) -> {state(), data()}

Collect information about mnesia and ets/dets tables.

Default collectors are held_locks, current_transactions, failed_transactions, and committed_transactions.

config/2

config(State::state(), ConfigData::config()) -> state()

Configure the running state of prfMnesia.

Available config parameters:

[parameter] [unit] collectors [collector*]

* as listed by available_collectors/0


Generated by EDoc