prometheus/docs/configuration
Julien Pivotto ce55e5074d Add 'keep_firing_for' field to alerting rules
This commit adds a new 'keep_firing_for' field to Prometheus alerting
rules. The 'resolve_delay' field specifies the minimum amount of time
that an alert should remain firing, even if the expression does not
return any results.

This feature was discussed at a previous dev summit, and it was
determined that a feature like this would be useful in order to allow
the expression time to stabilize and prevent confusing resolved messages
from being propagated through Alertmanager.

This approach is simpler than having two PromQL queries, as was
sometimes discussed, and it should be easy to implement.

This commit does not include tests for the 'resolve_delay' field.  This
is intentional, as the purpose of this commit is to gather comments on
the proposed design of the 'resolve_delay' field before implementing
tests. Once the design of the 'resolve_delay' field has been finalized,
a follow-up commit will be submitted with tests."

See https://github.com/prometheus/prometheus/issues/11570

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-01-13 12:11:39 +01:00
..
alerting_rules.md Update alerting_rules.md (#7252) 2020-09-07 17:30:01 +01:00
configuration.md docs: 📝 Changed occurences of proxy_connect_headers to proxy_connect_header 2023-01-09 14:11:00 +01:00
https.md docs: correct the accepted value for X-XSS-Protection header (#11015) 2022-07-14 00:50:02 +02:00
index.md Consolidate configuration and rules docs in docs/configuration/ 2017-10-27 09:54:02 +02:00
recording_rules.md Add 'keep_firing_for' field to alerting rules 2023-01-13 12:11:39 +01:00
template_examples.md format markdown code block (#5594) 2019-05-25 11:28:50 +01:00
template_reference.md template: adding formatTime function to TemplateExpander (#10993) 2022-07-14 23:45:32 +02:00
unit_testing_rules.md Terminology amendment 2022-12-15 16:22:40 +00:00