mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/blackbox: increase alarm thresholds
This commit is contained in:
parent
aa7e04a16d
commit
753f3e5233
1 changed files with 4 additions and 4 deletions
|
@ -99,8 +99,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
BlackboxSlowProbe = {
|
BlackboxSlowProbe = {
|
||||||
condition = ''avg_over_time(probe_duration_seconds[1m]) > 1'';
|
condition = ''avg_over_time(probe_duration_seconds[1m]) > 2'';
|
||||||
description = "Blackbox probe took more than 1s to complete\n VALUE = {{ $value }}\n LABELS = {{ $labels }}";
|
description = "Blackbox probe took more than 2s to complete\n VALUE = {{ $value }}\n LABELS = {{ $labels }}";
|
||||||
time = "1m";
|
time = "1m";
|
||||||
labels = {
|
labels = {
|
||||||
severity = "warning";
|
severity = "warning";
|
||||||
|
@ -128,8 +128,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
BlackboxProbeSlowHttp = {
|
BlackboxProbeSlowHttp = {
|
||||||
condition = ''avg_over_time(probe_http_duration_seconds[1m]) > 1'';
|
condition = ''avg_over_time(probe_http_duration_seconds[1m]) > 2'';
|
||||||
description = "HTTP request took more than 1s\n VALUE = {{ $value }}\n LABELS = {{ $labels }}";
|
description = "HTTP request took more than 2s\n VALUE = {{ $value }}\n LABELS = {{ $labels }}";
|
||||||
time = "1m";
|
time = "1m";
|
||||||
labels = {
|
labels = {
|
||||||
severity = "warning";
|
severity = "warning";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue