Assertions, runs, and agents
A normal ping still means the job finished. These signals say whether the result, the run, or the agent budget looked right. Free includes assertions and run tracking on 3 checks. Pro removes that cap. Token and cost alerts are Pro. Check limits are unchanged.
# Output: query string or JSON. count, rows, and bytes are examples.
curl -fsS -m 10 "$CRONNUDGE_URL?count=123"
curl -fsS -m 10 -H 'content-type: application/json' \
-d '{"rows":123,"bytes":4096}' "$CRONNUDGE_URL"
# Runs: start, then success or fail.
curl -fsS -m 10 "$CRONNUDGE_URL/start"
curl -fsS -m 10 "$CRONNUDGE_URL"
curl -fsS -m 10 "$CRONNUDGE_URL/fail"
# Agent result
curl -fsS -m 10 -H 'content-type: application/json' \
-d '{"status":"ok","duration_ms":4200,"steps":6,"tokens":1800,"cost_usd":0.04,"summary":"Indexed 120 rows","rows":120}' \
"$CRONNUDGE_URL"- Set a minimum, a maximum, “must be greater than 0”, or a percent from the rolling median of the last 20 values. A success with no metric fails a configured rule and alerts once.
- Turn on run tracking to record each /start through success or /fail. Max runtime marks the check stuck and alerts once. A second /start while a run is open alerts overlap and does not erase the first run. Duration deviation compares the new run with the median of earlier ones, after at least three samples.
- An agent check accepts status, duration_ms, steps, tokens, cost_usd, and a short summary. status failed is a failure even on the success URL. Token and dollar thresholds alert only on Pro.
- Node and Python copies of the agent ping are in the snippets on a check page.