Skip to content

metrics

Inspect runtime metrics.

Syntax

autoship metrics [OPTIONS] COMMAND [ARGS]...

Arguments

metrics does not accept positional arguments; use subcommands.

Options

Short Long Default Description
- --help - Show help and exit

Subcommands

metrics show

Display collected runtime metrics.

autoship metrics show [OPTIONS]
Short Long Default Description
- --json False Output metrics as JSON
- --reset False Reset metrics after displaying

metrics export

Export collected metrics to a JSON file.

autoship metrics export [OPTIONS]
Short Long Default Description
-o --output PATH ~/.autoship/metrics.json Path to write the metrics JSON file
- --reset False Reset metrics after exporting

Examples

Show metrics:

autoship metrics show

Show metrics as JSON and reset:

autoship metrics show --json --reset

Export metrics:

autoship metrics export --output ./metrics.json

Output Notes / Common Errors

  • Metrics are collected locally and never uploaded unless telemetry is explicitly enabled.
  • Use --reset to clear metrics after inspection.
  • config — Configure telemetry
  • audit — Export audit logs