lager bench reads the bench manifest: one JSON document that describes a
Lager Box. It is for a client that keeps a copy of many boxes, such as a
control plane or a fleet-level MCP host. The box serves it at GET http://<box-ip>:9000/bench
and builds it from the same loaded state the MCP
server reads, so the two never disagree. See
The bench manifest for
the concepts.
Syntax
Options
Thelager bench group takes only --help. Pass --box to each subcommand.
Commands
Command Reference
Export
Fetch the manifest and print it, or write it to a file.
The output is the manifest exactly as the box served it, with keys sorted so
two exports of the same box diff cleanly.
What the manifest contains
Polling without cost
The box sendscontent_hash as the ETag header. A client that sends it back
as If-None-Match gets 304 Not Modified with no body while the manifest is
the same. /status advertises the route as capabilities.benchManifest.
Older boxes
A box on a release before 0.50.0 does not serve/bench. lager bench export
says so and asks you to run lager update --box <BOX>; it does not read the
404 as an empty bench.
