Performance Monitor

The Performance Monitor is a component of the eXtremeDB library designed to collect various runtime metrics. It stores this data in a dedicated database whose schema is defined in the file include/mcopref.mco.

Collected metrics can be accessed via the REST API.

Additionally, the xPanel application includes a built-in module that visualizes these metrics in graphical form using the REST API.

The performance monitor C API consists of a small set of functions that implement the following four operations: initialize, get / set options, attach and detach the database. Please use the links below to view detailed explanations:

mco_perfmon_attach()
Attach a database for monitoring.
mco_perfmon_detach()
Detach a database from monitoring.
mco_perfmon_close()
Terminate performance monitoring.
mco_perfmon_init()
Initialize the perfmon database.
mco_perfmon_set_options()
Set performance monitor options.
mco_perfmon_get_db_name()
Get the name of the database currently attached to the performance monitor.
mco_perfmon_get_dictionary()
Get the active perfmon database dictionary.
mco_perfmon_get_options()
Get performance monitor options.