Define custom rules to custom report for alerts #23

Closed
opened 2026-10-26 16:32:28 +00:00 by Gilles · 1 comment
Owner

Users should be able to define custom rules for custom report to create an alert

Users should be able to define custom rules for custom report to create an alert
Author
Owner

Design retained in the monitoring plan (phase 2.2):

  • new event trigger metric_threshold on "format maison" reports, params: metric key (falls back to the label), operator (>, >=, <, <=), warn and/or fail threshold;
  • matching enabled rules are applied while the report is processed: a metric's status, and the report's status, become the worst of what the sender declared and what the rules compute — so badges and aggregates reflect it too;
  • the event fires when the computed level goes up (none → warn, warn → fail, none → fail).
    Frontend: argus/frontend#18.
Design retained in the monitoring plan (phase 2.2): - new event trigger `metric_threshold` on "format maison" reports, params: metric `key` (falls back to the label), operator (`>`, `>=`, `<`, `<=`), `warn` and/or `fail` threshold; - matching enabled rules are applied while the report is processed: a metric's status, and the report's status, become the worst of what the sender declared and what the rules compute — so badges and aggregates reflect it too; - the event fires when the computed level goes up (none → warn, warn → fail, none → fail). Frontend: argus/frontend#18.
Sign in to join this conversation.
No description provided.