Updated at July 17, 2026 02:08 PM
box.stat()
Shows the total number of requests since startup and the average number of requests per second, broken down by request type.
Returns
in the tables that box.stat() returns:
total: total number of requests processed per second since the server startedrps: average number of requests per second in the last 5 seconds.
ERROR is the count of requests that resulted in an error.
Example:
tarantool> box.stat() -- return 15 tables---- DELETE:total: 0rps: 0COMMIT:total: 0rps: 0SELECT:total: 12rps: 0ROLLBACK:total: 0rps: 0INSERT:total: 6rps: 0EVAL:total: 0rps: 0ERROR:total: 0rps: 0CALL:total: 0rps: 0BEGIN:total: 0rps: 0PREPARE:total: 0rps: 0REPLACE:total: 0rps: 0UPSERT:total: 0rps: 0AUTH:total: 0rps: 0EXECUTE:total: 0rps: 0UPDATE:total: 2rps: 0...tarantool> box.stat().DELETE -- total + requests per second from one table---- total: 0rps: 0...