From 982dd8c4bf9f4106b9788a0bd67313a3f50651d6 Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Thu, 12 Dec 2024 07:16:42 +0100 Subject: [PATCH] add "disk full" alert for docs.rs --- ansible/playbooks/monitoring.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/playbooks/monitoring.yml b/ansible/playbooks/monitoring.yml index e5388df33..997d6d591 100644 --- a/ansible/playbooks/monitoring.yml +++ b/ansible/playbooks/monitoring.yml @@ -215,6 +215,13 @@ summary: "No successful docs.rs builds in the last hour" description: "no documentation builds were successful in the last hour." + - alert: DiskFull + expr: node_filesystem_avail_bytes{job="node",instance="docsrs.infra.rust-lang.org:9100", mountpoint="/"} / node_filesystem_size_bytes{job="node",instance="docsrs.infra.rust-lang.org:9100",mountpoint="/"} < 0.10 + for: 1m + annotations: + summary: "Filesystem is full" + description: "There is less than 10% disk space left on disk." + - alert: DocsRsQueueLocked expr: docsrs_queue_is_locked{job="docsrs"} == 1 for: 1m