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.dendrorezolus view out.dendrorezolus view http://localhost:4241rezolus view --tui out.dendroMCP Server
rezolus mcp [SUBCOMMAND]Every <FILE> is a .dendro; a .rez or .parquet from an earlier release is refused with rezolus recording upgrade FILE, which converts it. 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) 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 .dendro recordings: inspect, embed KPI definitions and events, evaluate checks, combine, shrink, and copy a live archive. upgrade converts the .rez archives, .parquet files and .parquet.ab.tar A/B tarballs earlier releases wrote; every other subcommand refuses them with that command. rezolus parquet … still works as an alias.
metadata
Describe an archive: its recordings, their labels and metadata, and each table with its cadence.
annotate
Embed service-extension KPI queries, events or a systeminfo JSON into each recording of an archive, in place or into a copy.
check
Evaluate the checks a recording's KPIs carry and print a verdict per check; exits 0, 1 (a check failed) or 2 (a check could not be evaluated).
combine
Assemble two or more archives into one, a recording per input recording, opened as one combined view or, with --ab, as an A/B comparison.
filter
Shrink an archive to the samplers or metric columns named, in place or into a new .dendro.
convert
Turn a raw msgpack recording (record -o out.raw in 5.x) into a .dendro. Plain or zstd input, detected by content.
snapshot
Copy an archive that is still being written into a complete standalone .dendro, without pausing the writer.
upgrade
Convert a recording an earlier release wrote into a new .dendro: a v1, v2 or v3 .rez, a .parquet file, or a .parquet.ab.tar A/B tarball (two recordings, arm=baseline and arm=experiment). The input is never changed.
rezolus recording upgrade out.rezrezolus recording metadata -i out.dendrorezolus recording annotate run.dendro --queries kpis.jsonrezolus recording combine before.dendro after.dendro \ --ab baseline=before.dendro experiment=after.dendro -o ab.dendroConfiguration
Each mode uses a TOML config file. Examples are in the config/ directory.