with-agents

Serverless Expeditions — selected guide

How to do alerting right

Fourteen episodes on service choice, architecture, scaling, state, security, operations, and delivery

Serverless design and operations through concrete examples: choosing a runtime, ordering events, managing relational state, undoing failed workflows, protecting secrets, and deploying changes safely. The selection also includes two AI-agent examples covering tools and database access.

Google Cloud Tech 11 of 14
In this collection Browse 14 summaries 11 of 14

Too many alerts interrupt engineers without helping users. Aaron, a Cloud Operations Advocate at Google, offers a rule for reducing the noise: notify a person when an event affects the system's purpose and the response is not already automated.

Key points

  • Start from user impact: The presenter asks whether an event affects the system's purpose—including latency and user experience—before making it an alert 02:06–04:12(opens in a new tab).
  • Alert on what users experience: In this 2023 discussion, Aaron recommends relying on Cloud Run's automatic failover rather than paging for every container crash. If most requests return HTTP 500 errors, however, users are affected and a service-level alert is relevant. This shifts attention from many possible causes to a few observable symptoms 04:12–06:20(opens in a new tab).
  • Match the channel to urgency: Immediate user-impacting failures should page the on-call responder and include a playbook; less urgent work can become a ticket 05:16–08:27(opens in a new tab).
  • Give the responder enough context to act: Add a playbook, severity, project, and region to the alert so the on-call engineer does not have to reconstruct them. Notify the person expected to act, then let that person involve others if needed 06:20–09:31(opens in a new tab).

Full video: https://www.youtube.com/watch?v=r3oZVYVSbqg(opens in a new tab)

Search

Search field guides and resources across the site.

    Keyboard shortcuts

    Press ? to open this guide (usually Shift + /). Close it before using other site shortcuts.

    Show keyboard shortcuts
    ?
    Search site
    Ctrl + K
    Close the current dialog or menu
    Esc

    Site shortcuts are ignored while typing. Browser and extension shortcuts may take priority.