Ignore specific messages

Created on 13 December 2023, over 1 year ago
Updated 9 May 2024, about 1 year ago

Problem/Motivation

The ability to ignore entire channels is very handy for us, but sometimes we find ourselves wanting to ignore specific messages rather than the entire channel.

While this is possible to do via a custom logic in a before_send callback - I am curious if other people see the need for such feature are if it would be appropriate to add to the module itself?

I've added a draft MR to show what I mean.

Proposed resolution

  1. Introduce ignored_messages property to the schema
  2. Add "Ignored messages" to the UI under existing Ignored channels textarea
  3. Do not process the log if the $message matches what is ignored

Remaining tasks

  • Approve/decline feature request
  • Add tests to MR
  • Review

User interface changes

Additional "Ignored messages" textarea in the config form.

Data model changes

Additional "ignored_messages" config key.

✨ Feature request
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand ericgsmith

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024