Skip to content
Docs

inquir apps alerts

Configure resource and deployment alerts and read incidents.

@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#

OptionDescription
--file <path|->Rule JSON for create and update; - reads stdin.
--limit <n>Number of recent incidents, 1–100 (default 50).
--jsonPrint 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.

Guides#