Skip to content

Engines and coverages

You choose what to monitor for a database as a set of coverages. This page lists the engines the agent monitors and the coverages available for each.

  • Standard metrics: the database’s health and capacity metrics, such as connections, cache hit ratio, replication lag, buffers, and table and index statistics. You can collect a basic set or a full set.
  • Query performance: statistics for the most expensive queries across all clients, so you can find slow and heavy queries.
  • Locks: lock and blocking information.
  • Query logs: query activity captured as log records.
  • Server and slow logs: the database’s own log entries, including slow queries.
EngineStandard metricsQuery performanceLocksQuery logsLogs
PostgreSQLYesYesYesNoServer logs
MySQLYesYesNoNoSlow log
SQL ServerYesYesNoYesNo
OracleYesYesNoYesNo
MongoDBYesNoNoNoNo
MongoDB AtlasYesNoNoNoNo
RedisYesNoNoNoNo
ElasticsearchYesNoNoNoNo
ClickHouseYesNoNoNoNo
SAP HANAYesNoNoNoNo
SnowflakeYesYesNoNoNo

Some coverages need a one-time setup step on the database. The wizard shows you the step when you select that coverage. For example:

  • PostgreSQL query performance needs the pg_stat_statements extension enabled, which needs a PostgreSQL restart.
  • Query performance and query-log coverages need the monitoring user to have the right grants, such as GRANT pg_monitor on PostgreSQL or the equivalent view permissions on SQL Server and Oracle.
  • Log coverages may need a log setting turned on, such as the MySQL slow query log.

If a prerequisite is missing, the agent reports it and the other coverages keep working.

Database logs carry a km.db.coverage attribute set to the coverage they came from, such as query-performance, server-logs, or slow-log. You can filter database logs by this attribute in Log Explorer.