fix memory alert
This commit is contained in:
@@ -94,8 +94,97 @@ groups:
|
|||||||
__panelId__: "298"
|
__panelId__: "298"
|
||||||
labels: {}
|
labels: {}
|
||||||
isPaused: false
|
isPaused: false
|
||||||
- uid: adin55cdu3ocga
|
- uid: ddipptubkwe80f
|
||||||
title: Memory Basic
|
title: Panel Title
|
||||||
|
condition: C
|
||||||
|
data:
|
||||||
|
- refId: A
|
||||||
|
relativeTimeRange:
|
||||||
|
from: 300
|
||||||
|
to: 0
|
||||||
|
datasourceUid: PBFE396EC0B189D67
|
||||||
|
model:
|
||||||
|
datasource:
|
||||||
|
type: prometheus
|
||||||
|
uid: PBFE396EC0B189D67
|
||||||
|
editorMode: code
|
||||||
|
exemplar: false
|
||||||
|
expr: time() - container_last_seen{name=~".+"}
|
||||||
|
format: time_series
|
||||||
|
instant: false
|
||||||
|
interval: ""
|
||||||
|
intervalMs: 15000
|
||||||
|
legendFormat: '{{name}}'
|
||||||
|
maxDataPoints: 43200
|
||||||
|
range: true
|
||||||
|
refId: A
|
||||||
|
- refId: B
|
||||||
|
relativeTimeRange:
|
||||||
|
from: 300
|
||||||
|
to: 0
|
||||||
|
datasourceUid: __expr__
|
||||||
|
model:
|
||||||
|
conditions:
|
||||||
|
- evaluator:
|
||||||
|
params: []
|
||||||
|
type: gt
|
||||||
|
operator:
|
||||||
|
type: and
|
||||||
|
query:
|
||||||
|
params:
|
||||||
|
- B
|
||||||
|
reducer:
|
||||||
|
params: []
|
||||||
|
type: last
|
||||||
|
type: query
|
||||||
|
datasource:
|
||||||
|
type: __expr__
|
||||||
|
uid: __expr__
|
||||||
|
expression: A
|
||||||
|
intervalMs: 1000
|
||||||
|
maxDataPoints: 43200
|
||||||
|
reducer: last
|
||||||
|
refId: B
|
||||||
|
type: reduce
|
||||||
|
- refId: C
|
||||||
|
datasourceUid: __expr__
|
||||||
|
model:
|
||||||
|
conditions:
|
||||||
|
- evaluator:
|
||||||
|
params:
|
||||||
|
- 60
|
||||||
|
- 0
|
||||||
|
type: gt
|
||||||
|
operator:
|
||||||
|
type: and
|
||||||
|
query:
|
||||||
|
params: []
|
||||||
|
reducer:
|
||||||
|
params: []
|
||||||
|
type: avg
|
||||||
|
type: query
|
||||||
|
datasource:
|
||||||
|
name: Expression
|
||||||
|
type: __expr__
|
||||||
|
uid: __expr__
|
||||||
|
expression: B
|
||||||
|
hide: false
|
||||||
|
intervalMs: 1000
|
||||||
|
maxDataPoints: 43200
|
||||||
|
refId: C
|
||||||
|
type: threshold
|
||||||
|
dashboardUid: cdijlo7pmmby8c
|
||||||
|
panelId: 2
|
||||||
|
noDataState: NoData
|
||||||
|
execErrState: Error
|
||||||
|
for: 5m
|
||||||
|
annotations:
|
||||||
|
__dashboardUid__: cdijlo7pmmby8c
|
||||||
|
__panelId__: "2"
|
||||||
|
labels: {}
|
||||||
|
isPaused: false
|
||||||
|
- uid: edisnss8901dse
|
||||||
|
title: Free Memory
|
||||||
condition: G
|
condition: G
|
||||||
data:
|
data:
|
||||||
- refId: A
|
- refId: A
|
||||||
@@ -207,21 +296,46 @@ groups:
|
|||||||
datasource:
|
datasource:
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: D
|
expression: B
|
||||||
intervalMs: 1000
|
intervalMs: 1000
|
||||||
maxDataPoints: 43200
|
maxDataPoints: 43200
|
||||||
reducer: last
|
reducer: last
|
||||||
refId: F
|
refId: F
|
||||||
settings:
|
|
||||||
mode: dropNN
|
|
||||||
type: reduce
|
type: reduce
|
||||||
|
- refId: H
|
||||||
|
datasourceUid: __expr__
|
||||||
|
model:
|
||||||
|
conditions:
|
||||||
|
- evaluator:
|
||||||
|
params:
|
||||||
|
- 0
|
||||||
|
- 0
|
||||||
|
type: gt
|
||||||
|
operator:
|
||||||
|
type: and
|
||||||
|
query:
|
||||||
|
params: []
|
||||||
|
reducer:
|
||||||
|
params: []
|
||||||
|
type: avg
|
||||||
|
type: query
|
||||||
|
datasource:
|
||||||
|
name: Expression
|
||||||
|
type: __expr__
|
||||||
|
uid: __expr__
|
||||||
|
expression: $I - $F
|
||||||
|
hide: false
|
||||||
|
intervalMs: 1000
|
||||||
|
maxDataPoints: 43200
|
||||||
|
refId: H
|
||||||
|
type: math
|
||||||
- refId: G
|
- refId: G
|
||||||
datasourceUid: __expr__
|
datasourceUid: __expr__
|
||||||
model:
|
model:
|
||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 1e+09
|
- 1.331233792e+09
|
||||||
- 0
|
- 0
|
||||||
type: lt
|
type: lt
|
||||||
operator:
|
operator:
|
||||||
@@ -236,80 +350,19 @@ groups:
|
|||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: F
|
expression: H
|
||||||
|
hide: false
|
||||||
intervalMs: 1000
|
intervalMs: 1000
|
||||||
maxDataPoints: 43200
|
maxDataPoints: 43200
|
||||||
refId: G
|
refId: G
|
||||||
type: threshold
|
type: threshold
|
||||||
dashboardUid: rYdddlPWk
|
- refId: I
|
||||||
panelId: 78
|
|
||||||
noDataState: NoData
|
|
||||||
execErrState: Error
|
|
||||||
for: 5m
|
|
||||||
annotations:
|
|
||||||
__dashboardUid__: rYdddlPWk
|
|
||||||
__panelId__: "78"
|
|
||||||
labels: {}
|
|
||||||
isPaused: false
|
|
||||||
- uid: ddipptubkwe80f
|
|
||||||
title: Panel Title
|
|
||||||
condition: C
|
|
||||||
data:
|
|
||||||
- refId: A
|
|
||||||
relativeTimeRange:
|
|
||||||
from: 300
|
|
||||||
to: 0
|
|
||||||
datasourceUid: PBFE396EC0B189D67
|
|
||||||
model:
|
|
||||||
datasource:
|
|
||||||
type: prometheus
|
|
||||||
uid: PBFE396EC0B189D67
|
|
||||||
editorMode: code
|
|
||||||
exemplar: false
|
|
||||||
expr: time() - container_last_seen{name=~".+"}
|
|
||||||
format: time_series
|
|
||||||
instant: false
|
|
||||||
interval: ""
|
|
||||||
intervalMs: 15000
|
|
||||||
legendFormat: '{{name}}'
|
|
||||||
maxDataPoints: 43200
|
|
||||||
range: true
|
|
||||||
refId: A
|
|
||||||
- refId: B
|
|
||||||
relativeTimeRange:
|
|
||||||
from: 300
|
|
||||||
to: 0
|
|
||||||
datasourceUid: __expr__
|
|
||||||
model:
|
|
||||||
conditions:
|
|
||||||
- evaluator:
|
|
||||||
params: []
|
|
||||||
type: gt
|
|
||||||
operator:
|
|
||||||
type: and
|
|
||||||
query:
|
|
||||||
params:
|
|
||||||
- B
|
|
||||||
reducer:
|
|
||||||
params: []
|
|
||||||
type: last
|
|
||||||
type: query
|
|
||||||
datasource:
|
|
||||||
type: __expr__
|
|
||||||
uid: __expr__
|
|
||||||
expression: A
|
|
||||||
intervalMs: 1000
|
|
||||||
maxDataPoints: 43200
|
|
||||||
reducer: last
|
|
||||||
refId: B
|
|
||||||
type: reduce
|
|
||||||
- refId: C
|
|
||||||
datasourceUid: __expr__
|
datasourceUid: __expr__
|
||||||
model:
|
model:
|
||||||
conditions:
|
conditions:
|
||||||
- evaluator:
|
- evaluator:
|
||||||
params:
|
params:
|
||||||
- 60
|
- 0
|
||||||
- 0
|
- 0
|
||||||
type: gt
|
type: gt
|
||||||
operator:
|
operator:
|
||||||
@@ -324,19 +377,20 @@ groups:
|
|||||||
name: Expression
|
name: Expression
|
||||||
type: __expr__
|
type: __expr__
|
||||||
uid: __expr__
|
uid: __expr__
|
||||||
expression: B
|
expression: A
|
||||||
hide: false
|
hide: false
|
||||||
intervalMs: 1000
|
intervalMs: 1000
|
||||||
maxDataPoints: 43200
|
maxDataPoints: 43200
|
||||||
refId: C
|
reducer: last
|
||||||
type: threshold
|
refId: I
|
||||||
dashboardUid: cdijlo7pmmby8c
|
type: reduce
|
||||||
panelId: 2
|
dashboardUid: rYdddlPWk
|
||||||
|
panelId: 78
|
||||||
noDataState: NoData
|
noDataState: NoData
|
||||||
execErrState: Error
|
execErrState: Error
|
||||||
for: 5m
|
for: 5m
|
||||||
annotations:
|
annotations:
|
||||||
__dashboardUid__: cdijlo7pmmby8c
|
__dashboardUid__: rYdddlPWk
|
||||||
__panelId__: "2"
|
__panelId__: "78"
|
||||||
labels: {}
|
labels: {}
|
||||||
isPaused: false
|
isPaused: false
|
||||||
|
|||||||
Reference in New Issue
Block a user