CLI reference
kusaw metrics
Show run metrics over a date range
kusaw metrics
Show run metrics over a date range
Usage
kusaw metrics [flags]Flags
| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for metrics |
--json | bool | false | Print JSON | |
--range | string | today | Range preset: today, 7d, 30d, or all |
Subcommands
kusaw metrics rebuild
Rewrite run facts for every finished run
kusaw metrics rebuild [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for rebuild |
--json | bool | false | Print JSON | |
--range | string | today | Range preset: today, 7d, 30d, or all |
Example:
kusaw metrics rebuildExit codes
| Code | Name | Description |
|---|---|---|
| 0 | ok | Success. |
| 1 | error | Runtime error. |
| 2 | usage | Usage or validation error. |
| 3 | rejected | Control request rejected; the error string is printed verbatim. |
| 4 | not picked up | Control request not picked up within the wait time while serve runs. |
Example
kusaw metrics --range 7d