← ClaudeAtlas

cargo-observabilitylisted

Sets up Cargo alerts that report when something breaks: scheduled threshold checks on workflow error rates, run times and costs, a model's freshness or row count, or any SQL query, firing a connector, tool or agent on breach. Triggers: "alert me when", "notify me if", "let me know when the error rate", "monitor this workflow", "tell me if the sync stops", "warn me before I run out of credits", "dead man’s switch", "is this still running", "set up monitoring", plus listing, previewing, editing, and reviewing an alert's firing history. Skip when: diagnosing something that already went wrong, use cargo-diagnostics.
getcargohq/cargo-skills · ★ 26 · AI & Automation · score 81
Install: claude install-skill getcargohq/cargo-skills
# Cargo CLI — Observability **Alerts.** An alert is a scheduled threshold check. On every cron tick it measures a **scope** (what to watch), compares the measured value against a **threshold** (the breach condition), and on breach fires **actions** — each as its own run — and records an **event**. This is the proactive counterpart to `cargo-diagnostics`: diagnostics explains a failure *after* you notice it; an alert *tells you* the moment a metric crosses a line. Everything lives under one CLI domain: ```bash cargo-ai observability alert … # the alert CRUD + preview surface cargo-ai observability event … # an alert's firing history ``` ## Bootstrap Already signed in (`cargo-ai whoami` returns a workspace)? Skip to the next section. ```bash npm install -g @cargo-ai/cli # no global install? prefix every command with `npx @cargo-ai/cli` cargo-ai login --email you@company.com # emailed code, no browser; creates the account on first use # alternatives: --oauth (browser) · --token <api-token> (CI) cargo-ai whoami # confirm the active workspace before any write ``` Every command prints JSON to stdout; failures exit non-zero with `{"errorMessage": "..."}`. Anything that creates a run or a batch is async — pass `--wait-until-finished` or poll the matching `get`. Alerts are guarded by `observability:read` / `observability:write` permissions. If a create/update/remove returns a permission error, t