Read more

Sentry: Different ways of deferring notifications for an issue

Michael Leimstädtner
July 15, 2020Software engineer at makandra GmbH

We use Sentry Show archive.org snapshot to be informed about different kinds of issues. One of the key features is that you are not getting spammed if many errors of the same kind occur in a small timespan.
If an issue pops up the usual workflow is to fix the code and mark the issue as "resolved" in Sentry. Only new or resolved issues trigger another email notification when they are proxied through Sentry.

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

This workflow does not fit well for issues we cannot fix, e.g. when consuming an external API that is sometimes down. In such cases you may consider ignoring the issue with a constraint. For example, you can tell Sentry to notify you only if it occurs 10 times per hour.

Image

Sentry currently offers three constraints when ignoring an issue:

  • Time (1 hour, 1 day, ..)
  • Occurrences (1 time, 10 times, ..)
  • Number of affected users
Posted by Michael Leimstädtner to makandra dev (2020-07-15 11:11)