Daily challenges →
🌊 SRE hard ⚡ 80 XP

What does the PromQL `rate()` function calculate?

rate(http_requests_total[5m]) calculates the per-second rate over 5 minutes, handling counter resets. Use rate() for alerting on counters, not irate() (which is instantaneous and too spiky).

🌊 This is a free sample — 507+ more questions on DevOps Ocean

Sign in free to practice the full question bank with daily challenges, XP, streaks, duels and a global leaderboard.

Practice the full bank — free →