Chapter 4 of 4
Watching it run
Our sensor's reading has made it to the dashboard. The last step is making sure that keeps happening, and knowing quickly when it doesn't.
Watch for silence#
Errors are easy to alert on. Silence is harder. A sensor that stops sending doesn't raise an error, it just disappears. Alert when a device hasn't reported within its expected interval.
Measure the whole path#
- Delay: time from measurement to storage.
- Queue depth: how many messages are waiting.
- Dead letters: how many messages gave up.
- Silent devices: how many devices are overdue.
Practise the bad dayTurn off a test device, slow down a service, fill a queue. Watch what your alerts and dashboards do. It's much better to find the gaps on a quiet afternoon than during a real incident.
Where to go from here#
Identity, queues and monitoring are the foundation of any device-to-cloud system. With them in place, our cold-storage sensor's one important reading will reach someone, even on a bad day.
Remember
- Alert on silence, not just errors.
- Track delay, queue depth, dead letters and silent devices.
- Rehearse failures before they happen for real.
You finished the playbook
New playbooks and notes go out on Substack first. Subscribe to get the next one in your inbox.
Subscribe on Substack ↗