Update queries-conditions.md

matching with ui
pull/101013/head
Johnny K. 4 months ago
parent 5deab36b7c
commit 68a3a4d9bd
  1. 12
      docs/sources/alerting/fundamentals/alert-rules/queries-conditions.md

@ -109,14 +109,14 @@ The threshold expression allows the comparison between two single values. Availa
- **Is above**: `$A > 5`
- **Is below**: `$B < 3`
- **Is equal to**: `$A == 2`
- **Is not equal to**: `$B =! 4`
- **Is above or equal to**: `$A >= 8`
- **Is below or equal to**: `$B <= 16`
- **Is within range**: `$A > 0 AND $A < 10`
- **Is outside range**: `$B < 0 OR $B > 100`
- **Equal**: `$A == 2`
- **Not equal**: `$B =! 4`
- **Greater or equal**: `$A >= 8`
- **Less or equal**: `$B <= 16`
- **Is within range, inclusive**: `$A >= 0 AND $A <= 10`
- **Is outside range inclusive**: `$B <= 0 OR $B >= 100`
- **Is within range included**: `$A >= 0 AND $A <= 10`
- **Is outside range included**: `$B <= 0 OR $B >= 100`
A threshold returns `0` when the condition is false and `1` when true.

Loading…
Cancel
Save