Skip to content

Commit

Permalink
add "disk full" alert for docs.rs (#648)
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Ieni <[email protected]>
  • Loading branch information
syphar and MarcoIeni authored Dec 16, 2024
1 parent 1cd086b commit 84469b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible/playbooks/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84469b6

Please sign in to comment.