modules/monitoring: fix probes
This commit is contained in:
parent
082e64b960
commit
e4fd9e8b23
3 changed files with 35 additions and 2 deletions
|
@ -237,6 +237,17 @@ in
|
|||
{
|
||||
inherit name;
|
||||
rules = [
|
||||
{
|
||||
alert = "ProbeError";
|
||||
expr = "probe_success != 1";
|
||||
for = "3m";
|
||||
labels = {
|
||||
severity = "critical";
|
||||
};
|
||||
annotations = {
|
||||
summary = "Probing {{ $labels.instance }} from {{ $labels.from }} failed";
|
||||
};
|
||||
}
|
||||
{
|
||||
alert = "HighProbeLatency";
|
||||
expr = "probe_duration_seconds > 0.5";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue