How to trigger alert immediately without pending state

  • What Grafana version and what operating system are you using?
    Grafana v8.0.3 running on docker with ngalert feature enable

  • What are you trying to achieve?
    Fire alert immediately

  • How are you trying to achieve it?

  1. enable ngalert feature
  2. add a new alert rule
  3. configure evaluate for filed to 0s (the original alert feature allows to set 0s, but ngalert doesn’t)
  • What happened?
    I can not set evaluate for to 0, the ui shows it can not be less than 10s

  • What did you expect to happen?
    set to 0, so that we can trigger alert immediately without pending state

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

2 Likes

Also interested. It was possible with “old” version of alerts, but the ngalerts doesn’t support that feature, what is frustrating.

1 Like