ACME HQDemo work items and pages, made up for Emargen's demo. Not a real company.
Operations / Operations

Monitoring and alerts

By Rafael Duarte · created 14 Feb 2022, 09:10 UTC · last updated 16 Oct 2026, 13:00 UTC · version 12

monitoringalertsoperationson-call

What we watch, per region, and what wakes someone up. Metrics and alarms are in CloudWatch; logs are structured JSON with ids only, never emails or phone numbers.

Checks from outside

Every minute, from outside each region:

Two failures in a row page the on-call engineer.

Targets

Alarms

AlarmThresholdGoes toSince
Outside check failing2 in a rowpage2022
5xx rateabove 2 % for 5 minutespage2022
Outbox lagoldest unpublished event older than 60 secondspage2021
Queue depthabove 5,000 for 10 minutes#ops2022
SMS receipt lagreceipts more than 5 minutes behindpageafter OPS-33
Mail bounce rateabove 5 % in an hour, per Mailcrest account#ops2024; per account since 16 October
Failed sign-in rateabove ten times the usual for the hourpagetuned after OPS-41
Lockoutsmore than 50 accounts locked in 15 minutespage10 September
Backup jobfailed or didn't runpage, the same morning2022
SAML certificates7 days left#ops2024
Nightly jobsExpireRequests or SendApproverReminders didn't run#ops2025

Pages go through the paging rota in Jira Service Management; see On-call. An alarm that pages and needs no action twice in a month gets fixed or demoted.

Dashboards

One per region: sign-ins by method, requests and decisions, queue and outbox, notifier sends by channel and account, lockouts. A combined one for the status of all three regions is on the screen by the support desk.

Penetration test window

From 5 October to 9 October the outside firm's addresses were allowed through the WAF (OPS-46). Failed sign-in and lockout alarms were muted for those addresses only, not for anyone else.

Change history

VersionDateWhoWhat
824 Jun 2026OskarSMS receipt lag, after OPS-33
914 Sep 2026OskarFailed sign-in rate tuned, lockout alarm, after OPS-41
102 Oct 2026OskarPen test window planned
117 Oct 2026OskarPen test window in place (OPS-46)
1216 Oct 2026OskarBounce alarm per Mailcrest account (OPS-50); pen test window closed