Prometheus Alert Rule Builder
Generate an alert rule from your expression and duration.
Processing stays in your browser. Builds YAML without validating PromQL against metric names or a server. Check the generated rule with promtool before use.
How to use the prometheus alert rule builder
Generate an alert rule from your expression and duration. Complete the alert name, promql expression, pending duration, severity label, alert summary fields above. Choose Run tool, review the output, then copy or download the result.
Example
A 5m duration becomes the alert for field.
Good to know
Builds YAML without validating PromQL against metric names or a server. Check the generated rule with promtool before use.