Skip to content

feat: time-window threshold for alerts#1123

Open
h44z wants to merge 1 commit intomoghtech:mainfrom
h44z:alert-time-window
Open

feat: time-window threshold for alerts#1123
h44z wants to merge 1 commit intomoghtech:mainfrom
h44z:alert-time-window

Conversation

@h44z
Copy link
Copy Markdown

@h44z h44z commented Jan 26, 2026

This change introduces configurable alert time windows for server CPU, memory, and disk alerts to reduce noise from short-lived spikes. Instead of triggering alerts immediately when thresholds are crossed, alerts can now be configured to open only if the condition persists for a specified number of seconds. A value of 0 preserves the existing behavior and triggers alerts immediately (after two consecutive checks).

Inspiration for this feature comes from how beszel handles notification thresholds.

This screenshot shows how users can configure the feature. Keeping the value at the default of 0 disables the time window and keeps the existing behavior.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant