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.dendro until ctrl-c. The output must end in .dendro; any other output, a --format other than dendro, and --separate are refused. A rezolus 5.x recorder (5.27.0 or later) still writes .rez, parquet and raw.
rezolus recordrezolus record -o run.dendro -i 100ms -d 30srezolus record -o bench.dendro -- ./bench.sh --iters 100rezolus record --url http://host:9090/metrics -o svc.dendro -d 5mHindsight
rezolus hindsight <CONFIG>Rolling buffer kept as a .dendro archive. Send SIGHUP to write a snapshot. An output not ending in .dendro is refused at startup.
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.dendrorezolus view http://localhost:4241rezolus view --tui out.dendroMCP Server
rezolus mcp [SUBCOMMAND]Every <FILE> may be a .parquet, a .dendro or a .rez; the format is detected by content. With no subcommand, rezolus mcp runs as a stdio MCP server for an LLM client; In Rezolus 6.0 and later, --allow-mutating enables the mutating tool (remove_events), --export-dir DIR gives export_query a directory to write into, and --viewer-url URL lets viewer_link return full URLs; install registers it with Claude Code. See MCP Server.
rezolus mcp query out.dendro 'sum(irate(cpu_cycles[1m]))'rezolus mcp detect-anomalies out.dendroRecording Tools
rezolus recording <SUBCOMMAND> [OPTIONS]Offline operations on recordings — .dendro and .rez archives and .parquet files. 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 recordings into one — multi-node rezolus, multi-instance services, a multi-recording .dendro or .rez, 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 .dendro or .rez. Useful before sharing a focused report.
convert
Turn a raw msgpack recording (from a 5.x 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.