monitoring incidents
ステータスページのインシデントを新しい順に一覧表示します。各インシデントのステータス、影響度、発生日時、更新回数が表示されます。投稿した内容は記入するとすぐに公開されます。下書きや公開操作はありません。
bash
octri monitoring incidents [list | show | create | post | resolve | update | delete]フラグ
--openboolean解決済みのインシデントを除外します。
octri monitoring incidents show <id>
1件のインシデントとそのタイムラインを、更新の古い順に出力します。
引数
<id>string必須インシデント。
octri monitoring incidents create <title>
インシデントを開始します。
引数
<title>string必須閲覧者に見出しとして表示されます。
フラグ
--message <text>string必須閲覧者に最初に表示される更新内容。
--status <status>stringinvestigating、identified、monitoring、またはresolved。
--impact <impact>stringminor、major、critical、またはmaintenance。
--checks <ids>list影響を受けるチェックのID。
octri monitoring incidents post <id>
タイムラインに更新を追加します。
引数
<id>string必須インシデント。
フラグ
--message <text>string必須更新のテキスト。IDの後に続けて入力することもできます。
--status <status>stringインシデントの状態を、たとえばidentifiedへ進めます。
octri monitoring incidents resolve <id>
終了時の更新を投稿し、インシデントを解決済みとしてマークします。
引数
<id>string必須インシデント。
フラグ
--message <text>string終了時の更新。
octri monitoring incidents update <id>
タイムラインではなく、インシデント自体を変更します。
引数
<id>string必須インシデント。
フラグ
--title <text>string新しい見出し。
--impact <impact>string新しい影響度。
--checks <ids>list影響を受けるチェックを置き換えます。
octri monitoring incidents delete <id> --yes
インシデントとそのすべての更新を削除します。記録を残すには、代わりに解決してください。
引数
<id>string必須インシデント。
フラグ
--yesboolean必須削除を確定します。
例
インシデントを開始する
bash
octri monitoring incidents create "Elevated checkout errors" --message "We are seeing failed payments and are looking into it." --impact majorOutput
✔ Opening the incident
✔ Incident Elevated checkout errors is on the status page (7fbbea1a-b853-4e71-83a6-8d3ce75fd940)
octri monitoring incidents post 7fbbea1a-b853-4e71-83a6-8d3ce75fd940 --status identified --message "…"更新を投稿する
bash
octri monitoring incidents post 7fbbea1a-b853-4e71-83a6-8d3ce75fd940 --status identified --message "A bad deploy. Rolling back now."Output
✔ Posting the update
✔ Posted to Elevated checkout errors: now identified解決する
bash
octri monitoring incidents resolve 7fbbea1a-b853-4e71-83a6-8d3ce75fd940Output
✔ Resolving
✔ Elevated checkout errors is resolved.タイムラインを読む
bash
octri monitoring incidents show 7fbbea1a-b853-4e71-83a6-8d3ce75fd940Output
✔ Loading incident
Elevated checkout errors
status resolved
impact major
started 1s ago
resolved 0s ago
investigating 1s ago · Dana Reyes-Park
We are seeing failed payments and are looking into it.
identified 1s ago · Dana Reyes-Park
A bad deploy. Rolling back now.
resolved 0s ago · Dana Reyes-Park
This incident has been resolved.関連情報
octri monitoring announcements:予定されているメンテナンスなど、ステータスページに表示するバナー。octri monitoring checks: 稼働状況チェック: 仕様からチェックを生成して、今すぐ実行します。