Revert "alerting rules: replace severity with action"
This commit is contained in:
committed by
GitHub
parent
a1afce8707
commit
915677eaa2
@@ -4,7 +4,7 @@ Alert TargetDown
|
||||
IF 100 * (count(up == 0) / count(up)) > 3
|
||||
FOR 10m
|
||||
LABELS {
|
||||
severity = "ticket"
|
||||
severity = "warning"
|
||||
}
|
||||
ANNOTATIONS {
|
||||
summary = "Targets are down",
|
||||
@@ -15,6 +15,9 @@ Alert TargetDown
|
||||
|
||||
ALERT DeadMansSwitch
|
||||
IF vector(1)
|
||||
LABELS {
|
||||
severity = "none",
|
||||
}
|
||||
ANNOTATIONS {
|
||||
summary = "Alerting DeadMansSwitch",
|
||||
description = "This is a DeadMansSwitch meant to ensure that the entire Alerting pipeline is functional.",
|
||||
@@ -26,7 +29,7 @@ ALERT TooManyOpenFileDescriptors
|
||||
IF 100 * (process_open_fds / process_max_fds) > 95
|
||||
FOR 10m
|
||||
LABELS {
|
||||
severity = "page"
|
||||
severity = "critical"
|
||||
}
|
||||
ANNOTATIONS {
|
||||
summary = "too many open file descriptors",
|
||||
@@ -40,7 +43,7 @@ ALERT FdExhaustionClose
|
||||
IF predict_linear(instance:fd_utilization[1h], 3600 * 4) > 1
|
||||
FOR 10m
|
||||
LABELS {
|
||||
severity = "ticket"
|
||||
severity = "warning"
|
||||
}
|
||||
ANNOTATIONS {
|
||||
summary = "file descriptors soon exhausted",
|
||||
@@ -52,7 +55,7 @@ ALERT FdExhaustionClose
|
||||
IF predict_linear(instance:fd_utilization[10m], 3600) > 1
|
||||
FOR 10m
|
||||
LABELS {
|
||||
severity = "page"
|
||||
severity = "critical"
|
||||
}
|
||||
ANNOTATIONS {
|
||||
summary = "file descriptors soon exhausted",
|
||||
|
||||
Reference in New Issue
Block a user