service/blackbox: increase thresholds for http services

This commit is contained in:
Felix Buehler 2023-12-12 23:14:41 +01:00
parent effd9de67a
commit d30f0ebbcd

View file

@ -93,7 +93,7 @@ in
BlackboxProbeFailed = {
condition = ''probe_success == 0'';
description = "Blackbox probe failed (instance {{ $labels.instance }}): {{$value}}";
time = "0m";
time = "1m";
labels = {
severity = "critical";
};
@ -117,7 +117,7 @@ in
BlackboxProbeHttpFailure = {
condition = ''probe_http_status_code <= 199 OR probe_http_status_code >= 400'';
description = "HTTP status code is not 200-399\n VALUE = {{ $value }}\n LABELS = {{ $labels }}";
time = "0m";
time = "1m";
};
BlackboxSslCertificateWillExpireSoon = {
condition = ''3 <= round((last_over_time(probe_ssl_earliest_cert_expiry[10m]) - time()) / 86400, 0.1) < 20'';