Skip to content

aos obs

What this machine has been asked to do

6 commands. Run aos obs --help for the same list from the binary, or see every group.

What this machine has been asked to do. Every command records one span with the route, the source (cli or mcp), the exit code, the duration and the number of arguments, never their values. audit lists commands in order, stats and summary aggregate, tail shows the latest, export emits OTLP JSON. See observability.

Every command this machine was asked to run, oldest first

Terminal window
aos obs audit [--since=<duration>] [--source=<cli|mcp>] [--failed] [--json]
flag values meaning
--since <duration> Optional
--source cli, mcp Optional
--failed Optional
--json Optional
Terminal window
aos obs audit --since=24h
aos obs audit --source=mcp # only what agents asked for
aos obs audit --failed

Emit recorded spans as OTLP JSON, ready for a collector

Terminal window
aos obs export [--since=<duration>]
flag values meaning
--since <duration> Optional
Terminal window
aos obs export --since=1h > spans.json

Print where telemetry is written

Terminal window
aos obs path
Terminal window
aos obs path

Summarise recorded work: calls, failures, and latency per route

Terminal window
aos obs stats [--since=<duration>] [--source=<cli|mcp>] [--json]
flag values meaning
--since <duration> Optional
--source cli, mcp Optional
--json Optional
Terminal window
aos obs stats
aos obs stats --since=24h --source=mcp

How much this machine is actually used, and by what

Terminal window
aos obs summary [--since=<duration>] [--json]
flag values meaning
--since <duration> Optional
--json Optional
Terminal window
aos obs summary
aos obs summary --since=7d

Print the most recent spans, newest last

Terminal window
aos obs tail [--limit=<n>] [--since=<duration>]
flag values meaning
--limit <n> Optional
--since <duration> Optional
Terminal window
aos obs tail --limit=20