@inquir/compute-cliv0.4.1 · Node.js 22+
Usage#
inquir apps alertsbash
inquir apps alerts <app> [list|incidents|create|update <rule-id>|delete <rule-id>]
Options#
| Option | Description |
|---|---|
--file <path|-> | Rule JSON for create and update; - reads stdin. |
--limit <n> | Number of recent incidents, 1–100 (default 50). |
--json | Print machine-readable results. |
Global flags, environments and CLI credentials ↗
Examples#
Example 1bash
inquir apps alerts web
Example 2bash
inquir apps alerts web create --file ./cpu-rule.json
Example 3bash
inquir apps alerts web incidents --limit 20
Behavior#
Metrics are cpu_percent, memory_percent and deployment_failed. Destinations are write-only; update keeps channels you omit. delete disables a rule and resolves its incidents.