CLI & Configuration
Commands, flags, and TOML configuration reference.
Commands
Agent default mode
sudo rezolus <CONFIG>Collect metrics via eBPF. Requires root. Listens on 0.0.0.0:4241.
Exporter
rezolus exporter <CONFIG>Pull from agent, expose Prometheus metrics on :4242.
Recorder
rezolus record [OPTIONS] [-- <COMMAND>...]With no arguments at all this records the local agent (http://localhost:4241) into rezolus.rez until ctrl-c. The output extension picks the format, so --format is rarely needed.
rezolus recordrezolus record -o run.rez -i 100ms -d 30srezolus record -o bench.rez -- ./bench.sh --iters 100rezolus record --url http://host:9090/metrics -o svc.parquet -d 5mHindsight
rezolus hindsight <CONFIG>Rolling ring buffer. Send SIGHUP to trigger snapshot.
Status
rezolus status [OPTIONS] [ENDPOINT]Ask a running agent how it is doing: version, uptime, and a per-sampler health rollup. With no argument it asks the agent on this machine.
Exit status: 0 when nothing is wrong, 1 when any sampler is degraded, failed or pmu-limited — so it works as a health check or readiness probe.
rezolus statusrezolus status web-01rezolus status || echo "agent is unhealthy"Viewer
rezolus view [OPTIONS] [INPUT] [EXPERIMENT]rezolus view output.parquetrezolus view out.rezrezolus view http://localhost:4241rezolus view --tui out.rezMCP Server
rezolus mcp [SUBCOMMAND]Every <FILE> may be a .parquet or a .rez; the format is detected by content. With no subcommand, rezolus mcp runs as a stdio MCP server for an LLM client.
rezolus mcp query out.rez 'sum(rate(cpu_cycles[1m]))'rezolus mcp detect-anomalies out.rezRecording Tools
rezolus recording <SUBCOMMAND> [OPTIONS]Offline operations on recordings — both .parquet files and .rez archives. Inspect metadata, trim what you do not need, embed service KPI definitions, merge multi-source captures, or convert older formats. rezolus parquet … still works as an alias.
metadata
Show file-level + column metadata for a recording.
annotate
Embed service-extension KPI queries (and related metadata) into a recording so the viewer can render them as charts.
memberscombine for multi-node mergescombine
Merge multiple parquet files into one — multi-node rezolus, multi-instance services, or compare-mode A/B bundles.
--ab baseline=… experiment=…filter
Shrink a recording to what it needs — parquet columns referenced by its service-extension KPIs, or whole samplers of a .rez. Useful before sharing a focused report.
convert
Turn a raw msgpack recording (from record -o out.raw) into parquet. Plain or zstd input, detected by content.
upgrade
Rewrite a v1/v2 (tar) .rez as the current v3 (SQLite) container. Segment data is carried across byte-for-byte. A v3 input is refused rather than copied.
rezolus recording metadata -i out.rezrezolus recording annotate recording.parquet --templates ./templatesrezolus recording combine before.parquet after.parquet \ --ab baseline=before experiment=after \ -o compare.parquet.ab.tarrezolus recording combine baseline.rez experiment.rez -o ab.rezConfiguration
Each mode uses a TOML config file. Examples are in the config/ directory.