crab metrics
Read or compare metrics files across Git refs or the workspace.
Synopsis
crab metrics <COMMAND>| Command | Purpose |
|---|---|
show | Print the metrics map at a ref |
diff | Emit a structured metrics diff between refs or the workspace |
plot | Render plots from workflow plot configuration |
Use crab metrics <command> --help for file selectors and render options.
Connect inputs with outcomes
Use show to inspect the flattened metrics available at one revision. Use
diff to compare revisions or the workspace, and use plot when workflow plot
configuration defines a rendered view. These commands read recorded files;
they do not execute stages to generate missing metrics.
crab metrics show --help
crab metrics diff --help
crab metrics plot --helpA review normally pairs metric changes with parameter changes:
crab params diff HEAD~1 HEAD
crab metrics diff HEAD~1 HEADIf a key is absent, verify that its metrics file exists at the selected ref and
is declared in the workflow. Keep machine-readable output for automation that
must distinguish numeric changes, additions, and removals. Use
crab plots for plot templates and overlays
that go beyond the metrics subcommand.