Senior
November 18, 2026

Spot the bug: DevOps

One snippet. Find the bug, or prove there isn't one.

yaml
1groups:
2  - name: api-availability
3    interval: 30s
4    rules:
5      - alert: HighErrorRate
6        expr: |
7          sum(rate(http_requests_total{status=~"5.."}[5m]))
8          /
9          sum(rate(http_requests_total[5m])) > 0.05
10        for: 10m
11        labels:
12          severity: warning
13          team: backend
14        annotations:
15          summary: "High error rate on {{ $labels.service }}"
16          description: "Error rate is {{ $value | humanizePercentage }} over 5m"

Click the lines that carry the problem.

Your verdict

One attempt per day. The answer shows up right after.

Keep your streak

Create an account to keep your streak and track your progress.

Create an account