From 603aacd0e2f0ecabd2565396d6274edb989a2efd Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Mon, 4 Oct 2021 00:10:05 +0200 Subject: [PATCH] doc: more explicit "ContainerAbsent" and "ContainerKilled" rules --- _data/rules.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/_data/rules.yml b/_data/rules.yml index a28847c..2e6de81 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -291,6 +291,15 @@ groups: description: A container has disappeared query: 'time() - container_last_seen > 60' severity: warning + comments: | + This rule can be very noisy in dynamic infra with legitimate container start/stop/deployment. + - name: Container absent + description: A container is absent for 5 min + query: 'absent(container_last_seen)' + severity: warning + for: 5m + comments: | + This rule can be very noisy in dynamic infra with legitimate container start/stop/deployment. - name: Container CPU usage description: Container CPU usage is above 80% query: '(sum(rate(container_cpu_usage_seconds_total[3m])) BY (instance, name) * 100) > 80'