Like a quality control gauge showing what percentage of products fail inspection in the last hour.
rate() calculates per-second average over the time window. Error rate = 5xx counts / total counts = fraction. Alert when error fraction > 5%.
> rate(5xx[5m]) = 3.2/s > rate(total[5m]) = 850/s > error_rate = 3.2/850 = 0.38% > 0.38% < 5% → not alerting ✅
Like a quality control gauge showing what percentage of products fail inspection in the last hour.
rate() calculates per-second average over the time window. Error rate = 5xx counts / total counts = fraction. Alert when error fraction > 5%.
> rate(5xx[5m]) = 3.2/s > rate(total[5m]) = 850/s > error_rate = 3.2/850 = 0.38% > 0.38% < 5% → not alerting ✅
Sign in to cast your vote
Sign in to share your feedback and join the discussion.