prometheus/web/ui/react-app
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
..
public Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
src Add 'keep_firing_for' field to alerting rules 2023-01-13 12:11:39 +01:00
.env Fix broken prefixed asset links in webpack build (#9586) 2021-10-25 12:52:13 +02:00
.eslintrc.json Update React 16->17, TypeScript, and some other node deps 2021-09-14 15:46:59 +02:00
.gitignore Integrate beginning of React UI (#5694) 2019-10-17 14:38:09 +02:00
package.json Release v2.41.0-rc.0 2022-12-15 13:48:51 +01:00
tsconfig.json upgrade react-app to typescript 4 2021-09-07 10:51:59 +02:00