Skip to main content

status

Reads /healthz from the running agent and prints it as JSON: requests proxied, upstream errors, recordings written and dropped, observer panics, events emitted, alert delivery health, the number of tracked fingerprints, and every baseline family with its sample count and whether it is warmed up. With a spec watcher armed, a spec_watch block reports each source’s last check and last error. Every upstream with recordings gets a truthfulness block: how much of what the provider sent the linked sandbox reproduces, over the most recent 200 recordings. See Truthfulness. Needs pikopod up. See Control plane for the fields.

report

The endpoint inventory from the baselines on disk: what your app actually calls, by method and template, with the status class, sample count, field count, and whether the baseline is frozen or still warming up. Worth reading after about 48 hours. Works offline.
The last line is the outcome the whole loop exists for, computed from the event log and the scenarios directories. It is printed whenever the event log has anything in it, even before any baseline is frozen.

inspect

Prints stored records with tokenized fields visible, so you can confirm what was kept before you trust it. --last sets how many records per upstream (default 5). Formats: Everything agent inspect prints is post-sanitizer: tokens and placeholders, never raw traffic. See Redaction.

The event log

The reader for <data_dir>/events.ndjson. See Incidents and pikopod agent incidents.