Metrics

MariaDB Server Metrics

MariaDB Server metrics are gathered with the Prometheus exporter for MySQL and stored in Enterprise Manager’s Prometheus with the mariadb prefix. The agent runs the exporter with the following collector flags:

Collector name
Description

collect.binlog_size

Reports binary log files and their sizes to track binlog count and total disk usage/growth.

collect.engine_innodb_status

Parses SHOW ENGINE INNODB STATUS to expose InnoDB internals (waits, deadlocks, transaction and I/O snapshots).

collect.info_schema.innodb_metrics

Reads INFORMATION_SCHEMA.INNODB_METRICS for detailed InnoDB counters (buffer pool, I/O, log, lock, purge, recovery, etc.).

collect.info_schema.innodb_tablespaces

Exposes per-tablespace/file size and allocation details from Information Schema for space-usage monitoring.

collect.info_schema.processlist

Exposes current session/thread activity (users, hosts, commands, states, runtimes) based on the process list.

collect.info_schema.replica_host

Discovers replica hosts via Information Schema (MariaDB-friendly alternative to SHOW SLAVE HOSTS) for topology visibility.

collect.slave_hosts

Emits replica host topology using SHOW SLAVE HOSTS/SHOW REPLICA HOSTS (note: MariaDB expects the legacy SHOW SLAVE HOSTS syntax).

collect.slave_status

Exposes replication status from SHOW SLAVE/REPLICA STATUS (I/O/SQL thread states, positions/GTID, seconds behind, etc.).

MaxScale Metrics

MariaDB Enterprise Manager collects a wide range of time-series metrics from your MariaDB MaxScale instances to provide deep insight into their performance, health, and activity. Monitoring these metrics is crucial for diagnosing performance bottlenecks, ensuring high availability, and understanding how your database proxy is handling application traffic.

Here is the list of available MaxScale metrics collected by Enterprise Manager.

Node Metrics

Node metrics provide crucial information about the health and performance of the underlying hardware and operating system on each monitored host. These metrics are essential for diagnosing infrastructure bottlenecks, understanding resource utilization, and planning for future capacity.

MariaDB Enterprise Manager gathers these metrics using Prometheus Node Exporter, which includes a default set of collectors.

Key metrics collected by default include:

  • CPU Usage: Overall and per-core utilization, load average, and context switching.

  • Memory: Total, used, free, and cached memory, including swap space.

  • Disk I/O: Read/write operations, throughput (bytes per second), and I/O time.

  • Filesystem Usage: Total, used, and available space for each mounted filesystem.

  • Network Traffic: Data sent and received, packets, and network interface errors.

For a complete and detailed list of all metrics gathered by the default collectors, please refer to the official Prometheus Node Exporter documentation.

This page is: Copyright © 2025 MariaDB. All rights reserved.

Last updated

Was this helpful?