updates after writing blog
This commit is contained in:
1 parent
f86bb5f55a
commit
29bac24705
6 files changed
+22
-23
No files matched your search
@@ -14,7 +14,7 @@ spec:
|
||||
summary: etcd cluster backup is too old or not present
|
||||
expr: |-
|
||||
time() -
|
||||
max(max_over_time(file_time_seconds{job="pantherbackupexporter",type="backup"}[60m]))
|
||||
max(max_over_time(file_time_seconds{job="controllerbackupexporter",type="backup"}[60m]))
|
||||
> 3600
|
||||
for: 5m
|
||||
labels:
|
||||
@@ -24,7 +24,7 @@ spec:
|
||||
description: 'etcd backup is too small or not present'
|
||||
summary: etcd cluster backup is too small or not present
|
||||
expr: |-
|
||||
max(max_over_time(file_size{job="pantherbackupexporter",type="backup"}[60m]))
|
||||
max(max_over_time(file_size{job="controllerbackupexporter",type="backup"}[60m]))
|
||||
<
|
||||
10000000
|
||||
for: 5m
|
||||
@@ -36,7 +36,7 @@ spec:
|
||||
summary: etcd image file is too old or not present
|
||||
expr: |-
|
||||
time() -
|
||||
max(max_over_time(file_time_seconds{job="pantherbackupexporter",type="image"}[60m]))
|
||||
max(max_over_time(file_time_seconds{job="controllerbackupexporter",type="image"}[60m]))
|
||||
> 3600
|
||||
for: 5m
|
||||
labels:
|
||||
@@ -46,7 +46,7 @@ spec:
|
||||
description: 'etcd image file is too small or not present'
|
||||
summary: etcd cluster image file is too small or not present
|
||||
expr: |-
|
||||
max(max_over_time(file_size{job="pantherbackupexporter",type="image"}[60m]))
|
||||
max(max_over_time(file_size{job="controllerbackupexporter",type="image"}[60m]))
|
||||
<
|
||||
10
|
||||
for: 5m
|
||||
|
||||
Reference in new issue
Block a user