Help center › Health alarms
Health alarms
A survey programme fails quietly: a flow module falls out of a disconnect flow, an SMS sender is suspended, a sandbox email limit is hit, and the dashboard just shows fewer responses. The health checks look at the data every hour and say so.
The four checks
| Check |
Fires when |
Default |
| Completion dropped |
completion over the last 7 days is at least N points under the 28 days before, with at least M invitations offered in those 7 days |
15 points, 50 offered |
| Invitations failing to send |
N or more invitations failed to send in the last 24 hours (the reason is in the alert: no sender configured, a rejected number, an SES sandbox refusal) |
3 |
| A queue went quiet |
a queue that averaged two or more completed surveys a day over the last 28 days has had none for H hours |
48 hours |
| No responses are arriving |
the stack averaged three or more completed surveys a day and has had none for H hours |
48 hours |
Each finding is posted once per cooldown (24 hours by default) to the Alerts channels (Slack, Teams), to the digest email address, and to the stack's alarm topic, the same SNS topic the CloudWatch alarms publish to, so whoever subscribed through AlarmEmail hears about a data failure the way they hear about a function error. The thresholds and the cooldown are under Settings › Health alarms, and Run the checks now shows the current findings without alerting anyone.
What is not here
Function errors (the survey Lambda failing, the sender failing, throttles) are CloudWatch alarms created by the stack; see Deployment and costs › Alarms and the runbook. Score drops are targets and drop alerts. The health checks are about volume and delivery, not about what customers say.
Reading an alert
- Completion dropped: compare channels on the results page. A drop on SMS alone usually means a carrier or sender problem; on all channels, look at what changed in the invitation texts or the survey.
- Invitations failing: the alert names the most common error. Check Settings › Invitations for the SMS origination identity and the email sender, and the SES console for the sandbox or a suppression.
- A queue went quiet: the queue may have been renamed or removed in Amazon Connect, its flow may no longer reach the disconnect flow with the module, or the contact record stream may have stopped. The Connect console's contact search for that queue over the last day tells you which.
- No responses: start with the
StreamArn target in the Connect instance's data streaming settings, then the flow module, then the sender's log group.
Cost
Nothing: the checks run inside the hourly digest function on the rows already in the table. An alert is one SNS publish and the usual webhook calls.
Current as of version 0.9.0. See the release notes for what changed since.