187 Exception notifications [0.5d]

Updated . Posted . Visible to the public.

When an application raises an error in production, we want to know about it. This lesson covers how we get notified about exceptions and how tools like Sentry keep the noise down.

Important

Work on this lesson in advisor mode.

Learning goals

  • You can explain why an application must report its errors somewhere, and what happens to an exception in production when nobody is notified.
  • You can explain how our teams handle incoming exception notifications, and who reacts to them.
  • You can integrate exception notification into a Rails app and verify it by triggering an error.
  • You can explain what an error-monitoring service like Sentry adds over plain e-mails: grouping similar errors, staying quiet until an error is resolved, deduplicating across servers, and deferring notifications for flaky endpoints.

Resources

Read what's new to you, skim what's familiar, skip what you already master. Stop when you can meet the learning goals.

Your agent can also generate an overview, a tutorial or an explanation for anything here, tailored to what you already know. Just ask.

Exercises

Profile picture of Henning Koch
Henning Koch
Last edit
Michael Leimstädtner
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra Curriculum (2016-12-20 13:21)