CQRS benchmark ops

Truncate CQRS tables, start PM2 benchmarks (ecosystem.config.js), and tail logs. API is protected — set CQRS_OPS_API_KEY on the server.

Authentication

Stored in session storage for this tab only. Use HTTPS or localhost.

Environment

Truncate uses NODE_ENV. PM2 uses the matching npm script suffix (:local, :dev, etc.).

Truncate CQRS tables

Checkpoint progress (database)

Live state from script_migration_checkpoints (same credentials as .env.* for the selected environment). Refreshes after truncate / start benchmarks, or use the controls below.

PM2 (ecosystem.config.js)

Start benchmarks runs export-reference-data for the selected env, then pm2 start ecosystem.config.js. Stop benchmark apps stops only processes from that file (does not stop cqrs-ops-ui).

Server binds to 127.0.0.1 by default. For a VM, set CQRS_OPS_HOST=0.0.0.0 or use pm2 start ecosystem.cqrs-ops-ui.config.js --env production. Put TLS or VPN in front for remote access.