Skip to content

Email noise reduction for failing tasks #9939

Description

@metra

Description

Failing tasks can create a lot of email noise if you have both email_on_failure and sla enabled.

Use case / motivation

Outside of working hours, say 6pm through 10am, I can receive 16*2 email notifications. Every hour, one email for the failure and one email for the missed SLA.

Two ideas:

  • Sending both the SLA miss and the failure email feels redundant. If a task is failing then it should be obvious that it's also missing its SLA. Perhaps skip the SLA email in this case?
  • The SLA miss emails are threaded because their subject lines are equivalent. However, the failure emails include the failure date and time, which breaks threading. Consider dropping the time and/or date from the failure email?

Related Issues

None that I could find.

Activity

  1. boring-cyborg commented on Jul 22, 2020

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. potiuk commented on Jul 23, 2020

    @potiuk
    Member

    Sounds a nice feature @metra . Maybe you would like to contribute it yourself ? We are happy to guide you through contribution process.

  3. locked and limited conversation to collaborators on Feb 12, 2023
  4. converted this issue into a discussion #29483 on Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions