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).
Sign in free to practice the full question bank with daily challenges, XP, streaks, duels and a global leaderboard.
Practice the full bank — free →