mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
749 B
749 B
Alert Rules
Alert rules are configurations that define conditions, scope, and actions for generating alerts from monitored signals, such as metrics, logs, or activity. When an alert rule's defined conditions are met for a specific resource within its scope, the system generates a triggered alert, which is the actual instance of the condition being met. These rules specify the data to monitor, the trigger threshold, and the resulting actions, like sending notifications to specific receivers or performing automated tasks.
How these files are loaded
../alert.nix passes every *.yml and *.yaml in this directory to vmalert as a
rule file; other extensions are ignored. One rule group per file is easiest to review.