Docs
SRE
Alerting & Notifications

Alerting & Notifications

Set up proactive alerts to detect issues before users complain.

Creating Alerts

await ants.sre.createAlert({
  name: 'High Error Rate',
  condition: 'error_rate > 5%',
  window: '5m',
  severity: 'critical',
  channels: ['slack', 'pagerduty']
})

Alert Types

  • Performance alerts (latency, throughput)
  • Error rate alerts
  • Budget alerts
  • Security alerts

Next Steps