Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
f46c4c88
Commit
f46c4c88
authored
Nov 15, 2016
by
utkarshcmu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added OR condition in docs
parent
8d0bcd23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
docs/sources/alerting/rules.md
+4
-1
No files found.
docs/sources/alerting/rules.md
View file @
f46c4c88
...
@@ -55,7 +55,10 @@ Currently the only condition type that exists is a `Query` condition that allows
...
@@ -55,7 +55,10 @@ Currently the only condition type that exists is a `Query` condition that allows
specify a query letter, time range and an aggregation function. The letter refers to
specify a query letter, time range and an aggregation function. The letter refers to
a query you already have added in the
**Metrics**
tab. The result from the query and the aggregation function is
a query you already have added in the
**Metrics**
tab. The result from the query and the aggregation function is
a single value that is then used in the threshold check. The query used in an alert rule cannot
a single value that is then used in the threshold check. The query used in an alert rule cannot
contain any template variables. Currently we only support
`AND`
operator between conditions.
contain any template variables. Currently we only support
`AND`
and
`OR`
operators between conditions and they are executed serially.
For example, we have 3 conditions in the following order:
`condition:A(evaluates to: TRUE) OR condition:B(evaluates to: FALSE) AND condition:C(evaluates to: TRUE)`
so the result will be calculated as ((TRUE OR FALSE) AND TRUE) = TRUE.
We plan to add other condition types in the future, like
`Other Alert`
, where you can include the state
We plan to add other condition types in the future, like
`Other Alert`
, where you can include the state
of another alert in your conditions, and
`Time Of Day`
.
of another alert in your conditions, and
`Time Of Day`
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment