1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/prometheus_exporters/templates/prometheus-rebuilderd-textcollector.timer.j2
Jelle van der Waa cd4b284446
Add rebuilderd build queue length textcollector
Record the rebuilderd queue length in prometheus so we can generate an
alert for when the queue length keeps rising. As this could be an
indication that the rebuilders have builds which are stuck.
2020-09-06 20:13:38 +02:00

11 lines
173 B
Django/Jinja

[Unit]
Description=Prometheus Rebuilderd Exporter TextCollector Timer
[Timer]
OnUnitActiveSec=60m
OnBootSec=15min
RandomizedDelaySec=1min
[Install]
WantedBy=timers.target