abahmed / kwatch

:eyes: monitor & detect crashes in your Kubernetes(K8s) cluster instantly
https://kwatch.dev
MIT License
959 stars 75 forks source link

Ignore log patterns #317

Closed codekoala closed 3 months ago

codekoala commented 3 months ago

This builds on the work done in #270. It allows alerts to be ignored if the pod logs contain certain patterns. In my case, I was regularly receiving alerts about pods (for 3rd party applications) that terminated themselves when they lost a leader election. Since this is a normal part of their operation, I don't need to be alerted about this event every time it happens.

Changes proposed in this pull request: