Coding · Advanced

Gather context for an on-call alert

Context for an alert before the on-call engineer opens a terminal.

Use with BotBento Markdown

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

  1. When something happensAlert fires
  2. ThenCollects deploys, pods, logs
  3. ResultRead-only incident note

When an alert fires, have a bot collect recent deploys, pod events and logs into one note so the on-call engineer starts with context instead of a blank terminal.

Prompt to start with

BotBentoRecommended
When an alert arrives, list deploys in the last two hours, failing pods and the last 50 error log lines for the service. Suggest likely causes but do not restart or change anything.