Cooldown for Log Alerts + increased max values for Cooldown #4658
Replies: 2 comments 3 replies
|
Thanks for the suggestion! I want to push back a bit here. Cooldown makes sense for metric/event alerts since those are inherently noisy and often duplicative. But log alerts feel different to me — if a log pattern is important enough to alert on, suppressing matches for up to 24h seems risky. You could miss real incidents that happen to fire shortly after the first one. I get that it would be opt-in/configurable, so it wouldn't hurt anyone who doesn't enable it. But personally I wouldn't use this and I'm hesitant to add a knob that encourages silencing logs. Curious what your use case looks like — is it the same pattern firing repeatedly, or different log alerts you want batched? If it's the former, debouncing at the source (fix the noisy log) might be a better path. Bumping the existing cooldown max from 1h → 24h for metrics seems more reasonable. Going to move this to Discussions for now to gather more input before committing to an implementation. |
|
Hi @amir20 - thanks for considering this and asking for more input :) My use-case is the following: I have a home-setup where I run https://github.com/jaroslawhartman/withings-sync in a docker container on my local server. It's basically transfering body-composition/weight from withings to garmin. This needs two tokens - one for each service. After some time, the tokens need to be manually refreshed (manual login into my server running some cmd line and doing some auth-token/MFA copy&paste from my browser/phone) - until I do this, every sync fails with an error message, which represents the basis for my alerting. Now the sync happens every hour - if I'm out of town/house when it starts failing, it means I get an alert to my phone (ntfy) every hour and I can't do anything about it (apart from unsubscripe/delete the app/disbale notifications of the app temp). On your suggestions: fixing the noisy log is difficult, as I'm just a user of the tool - not the creator. (and I can see why some people might be perfectly fine with the re-occuring log if they don't alert on it) |
Uh oh!
There was an error while loading. Please reload this page.
Describe the feature you would like to see
I love we have Cooldown for Metric based alerts! It would be really cool to have the same functionality for Log Alerts . Additionally, it be amazing if we could increase the max for the current cooldown from 1h to let's say 24h? For most alerts, I only need to get notified once daily.
Describe how you would like to see this feature implemented
Similar as it is down for metrics, but just for Log Alerts -> a simple slider :)
Describe any alternatives you've considered
No response
All reactions