Storage and performance

For arlanix/api-monitor 1.0.1

Storage and performance

API Monitor uses these tables, with Magento table prefixes:

Table Holds
arlanix_api_monitor_log Request metadata.
arlanix_api_monitor_payload Sanitised query, headers and bodies.
arlanix_api_monitor_bucket Minute counters independent of detail sampling.
arlanix_api_monitor_traffic Protocol minute totals and traffic spike flags.
arlanix_api_monitor_alert Latest alert, time window and cooldown per type, protocol and IP.

Request details are compressed with zlib when the PHP extension is available. Existing uncompressed rows remain readable.

Payloads are deleted with their request. For panel permissions, see Admin access.

Lower sampling reduces saved details; enabled anomaly counters continue. When many different IPs send requests in the same minute, some per-IP counts can be missed; protocol totals still include those requests. Sampling and body limits do not cap total database size.

See Capture and sanitisation, Sampling and retention, and Cron and cleanup.