Complete lab 7 security implementation

This commit is contained in:
2026-11-26 22:26:21 +03:00
parent 20afc2c790
commit df47ebd9f1
89 changed files with 9765 additions and 53 deletions
@@ -0,0 +1,26 @@
groups:
- name: worker
interval: 30s
rules:
- alert: QueueLagHigh
expr: |
jobs_oldest_pending_age_seconds > 60
for: 2m
labels:
severity: critical
component: worker
annotations:
summary: "Oldest pending job age > 60s for 2m"
description: "Oldest pending job: {{ $value | humanizeDuration }}"
runbook: "infra/otel/runbooks/queue-lag.md"
- alert: WorkerSaturated
expr: |
worker_in_flight >= worker_capacity
for: 5m
labels:
severity: warning
component: worker
annotations:
summary: "Worker at capacity for 5m"
description: "in_flight={{ $value }}"