forked from cerc-io/stack-orchestrator
Use classic condition for watcher alert rules
This commit is contained in:
parent
abf4d39a22
commit
cfc411bfe4
@ -59,26 +59,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -135,26 +135,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -211,26 +211,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -287,26 +287,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -363,26 +363,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -439,26 +439,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -515,26 +515,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -591,26 +591,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -669,26 +669,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -745,26 +745,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
@ -823,26 +823,26 @@ groups:
|
|||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 0
|
- 15
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
type: and
|
type: when
|
||||||
query:
|
query:
|
||||||
params: []
|
params:
|
||||||
|
- diff
|
||||||
reducer:
|
reducer:
|
||||||
params: []
|
params: []
|
||||||
type: avg
|
type: last
|
||||||
type: query
|
type: query
|
||||||
datasource:
|
datasource:
|
||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: ${diff} >= 16
|
expression: ""
|
||||||
intervalMs: 1000
|
hide: false
|
||||||
maxDataPoints: 43200
|
|
||||||
refId: condition
|
refId: condition
|
||||||
type: math
|
type: classic_conditions
|
||||||
noDataState: Alerting
|
noDataState: Alerting
|
||||||
execErrState: Alerting
|
execErrState: Alerting
|
||||||
for: 15m
|
for: 15m
|
||||||
|
Loading…
Reference in New Issue
Block a user