Monitoring and Alerting That Reduces Noise
DevOps 11 min read

Monitoring and Alerting That Reduces Noise

Alert fatigue is real. When your on-call rotation gets paged fifteen times a night for transient blips that resolve themselves, people stop trusting alerts. Eventually, the one alert that matters gets dismissed as more noise.

This article covers how to design monitoring and alerting systems that respect your team's time—focusing on service-level objectives, actionable alerts, meaningful thresholds, and on-call practices that don't burn people out.

The alert fatigue problem

Most monitoring systems start with good intentions: monitor everything, alert on anything unusual. This quickly spirals into alert overload where every minor fluctuation triggers a page. The real cost isn't the interruptions—it's the loss of trust.

When engineers stop believing alerts signal actual problems, they acknowledge and ignore them. Then when a real outage happens, response time suffers because the signal is buried in noise.

Common symptoms of alert fatigue:

  • Alerts routinely acknowledged without investigation
  • On-call engineers mute notifications after hours
  • Mean time to acknowledge (MTTA) increases over time
  • Alerts that fire constantly but never cause user-visible issues
  • Team discusses "that alert that always fires" in standups

SLOs and SLIs: What actually matters

Service Level Objectives (SLOs) define what "working" means for your service from the user's perspective. Service Level Indicators (SLIs) measure whether you're meeting those objectives.

Choosing meaningful SLIs

Good SLIs measure user experience, not infrastructure metrics:

  • Request success rate: Percentage of requests returning non-error status codes
  • Request latency: Time to complete user requests (typically p50, p95, p99)
  • Availability: Percentage of time service responds to requests
  • Data freshness: How current data is in systems that cache or batch process

Avoid vanity SLIs that don't connect to user pain: CPU usage, memory utilization, or disk I/O mean nothing if requests succeed fast.

Setting realistic SLOs

SLOs should be strict enough to care about but loose enough to achieve without heroics:

// Example SLO definitions
const SLOs = {
  availability: 0.999,        // 99.9% uptime (~43min downtime/month)
  latencyP95: 200,            // 95% of requests under 200ms
  latencyP99: 500,            // 99% of requests under 500ms  
  errorRate: 0.001            // Less than 0.1% error rate
};

Start by measuring current performance for a month, then set SLOs slightly better than your worst-case baseline. Tighten over time as reliability improves.

Don't aim for 100% uptime. Every nine beyond 99% increases cost and complexity exponentially. Choose SLOs based on business impact, not engineering pride.

Designing actionable alerts

Every alert should pass these tests before going into production:

Is it actionable?

The on-call engineer should be able to do something right now to improve the situation. If the only action is "wait for it to fix itself," it shouldn't page anyone.

Good actionable alert:

ALERT: API error rate exceeded 1% for 5 minutes
Action: Check error logs, recent deployments, or external dependencies
Impact: Users seeing failed requests

Bad non-actionable alert:

ALERT: Disk usage at 75%
Action: Nothing urgent, disk isn't full yet
Impact: None currently

Is it urgent?

Pages should mean "wake up and fix this now." Everything else is a ticket or dashboard metric.

Page-worthy: Users can't complete purchases, API returning 500 errors, database unreachable

Not page-worthy: Slow background job, disk at 70%, single instance unhealthy in ASG

Does it indicate user impact?

Alert on SLO violations, not infrastructure symptoms. Users don't care if CPU is high—they care if pages load slow.

Setting meaningful thresholds

Thresholds separate signal from noise. Set them too low and you get false positives. Set them too high and you miss real issues.

Use time-based thresholds

Don't alert on single data points. Require sustained threshold violation:

// Prometheus alert with time threshold
- alert: HighErrorRate
  expr: rate(http_requests_total{status=~"5.."}[5m]) > 0.01
  for: 5m  # Must be true for 5 minutes before alerting
  annotations:
    summary: "Error rate above 1% for 5 minutes"

This filters out transient spikes from deployments, garbage collection pauses, or temporary network issues.

Use percentile-based thresholds

Alert on p95 or p99 latency, not average. Averages hide the user experience of your slowest requests:

// Bad: Average latency (hides outliers)
avg(http_request_duration_seconds) > 0.5

// Good: 95th percentile latency
histogram_quantile(0.95, http_request_duration_seconds) > 0.2

Consider dynamic thresholds

Traffic patterns vary by time of day and day of week. Static thresholds alert on normal off-peak dips or fail to catch anomalies during peak hours.

Use anomaly detection or sliding baselines:

  • Compare current metrics to same time last week
  • Alert when metric deviates 3 standard deviations from recent average
  • Use machine learning models for complex patterns (Datadog, New Relic offer this)

Organizing alerts by severity

Not every alert warrants a page. Organize by severity and route accordingly:

Critical (Page immediately)

  • SLO violation affecting users right now
  • Data loss or corruption risk
  • Security breach indicators
  • Payment processing failures

Warning (Create ticket, notify Slack)

  • SLO at risk but not violated yet
  • Resource exhaustion trends (disk will be full in 2 days)
  • Elevated error rates still below SLO
  • Failed background jobs that will retry

Info (Log only, dashboard visibility)

  • Deployment notifications
  • Scale-up/scale-down events
  • Certificate rotations
  • Scheduled maintenance

On-call best practices

Rotation schedules that don't burn out

  • Rotate weekly, not daily: Daily rotations fragment sleep without reducing burden
  • Minimum team size of 6: Allows 5-week rotations with buffer for PTO
  • Daytime handoff meetings: Outgoing on-call briefs incoming on-call on active issues
  • Post-incident review: Every page triggers discussion about prevention

Escalation policies

Define clear escalation paths:

1. Primary on-call (immediately)
2. Secondary on-call (after 5 minutes no ack)
3. Team lead (after 10 minutes no ack)
4. Engineering manager (after 15 minutes no ack)

Test escalation quarterly by deliberately not acknowledging test alerts.

On-call compensation

Pay for on-call burden, not just time spent responding. Common models:

  • Fixed stipend per week on-call
  • Hourly pay for on-call hours + additional pay for incidents
  • Time-in-lieu: On-call Friday earns Monday off

Track pages per rotation and alert if any week exceeds expected load—that's a sign the alert system needs tuning.

Reducing false positives

False positives erode trust faster than missed alerts. When alerts fire but investigation finds no problem, adjust the alert:

  1. Increase threshold: If alert fires but service is fine, threshold is too sensitive
  2. Extend time window: If issue resolves before anyone acts, it's not urgent
  3. Add context filters: Exclude known maintenance windows, test environments, expected errors
  4. Delete the alert: If you can't remember why it exists and it never catches real issues, remove it

Monitoring tool selection

Common monitoring stacks for production systems:

Prometheus + Grafana

  • Best for: Kubernetes environments, metrics-heavy infrastructure
  • Strengths: Open source, powerful query language (PromQL), extensive integrations
  • Weaknesses: Requires management, retention costs scale with cardinality

Datadog

  • Best for: Teams wanting turnkey monitoring without operations burden
  • Strengths: Quick setup, unified logs/metrics/traces, anomaly detection
  • Weaknesses: Expensive at scale, vendor lock-in

AWS CloudWatch

  • Best for: AWS-native applications
  • Strengths: Deep AWS integration, no additional infrastructure
  • Weaknesses: Limited metrics outside AWS, clunky query interface

Alert review and maintenance

Treat your alert configuration as production code requiring maintenance:

  • Monthly review: Check alerts that fired, false positive rate, response times
  • Alert debt sprints: Dedicate time quarterly to clean up noisy or obsolete alerts
  • Post-incident updates: Every incident should either create a new alert or improve an existing one
  • Metrics on alerts: Track alert volume, MTTA, MTTR, false positive rate per alert

Key takeaways

  • Alert on SLO violations that indicate user impact, not infrastructure metrics that might correlate
  • Every page should be actionable, urgent, and indicate user impact—everything else is a ticket or dashboard
  • Use time-based thresholds (5+ minutes sustained) to filter transient issues that self-resolve
  • Organize alerts by severity: critical pages on-call, warnings create tickets, info logs to dashboards
  • Review alert effectiveness monthly and delete alerts that generate false positives without catching real issues

Published by the DSSS Engineering Team. For corrections or topic requests, use the contact page.