by pikahumu · 3y ago · 0 comments
> in the future I'm going to want to remember to check for this
Whenever you think that sentence, you should notice this as a red flag and re-think your approach. You will forget. And if not you, then somebody else in your team. You need automation for things you can forget, otherwise your mental checklists will grow too large to handle and are just a distraction.
I'd argue that unexpected restarts should alert beyond a threshold. Alerting on every occurrence is too noisy. If an individual unit failure causes a service disruption architecture improvements are needed.
Away from things that can be automated and are important you have a checklist and tick things off with a pen. Add $this to the list.
Atul Gawande is worth reading in general and on this topic. [1] He turned it into a book I haven't yet read.
[1] https://www.newyorker.com/magazine/2007/12/10/the-checklist
Yes, and to have alerts, I have resorted to write my own small tools [0][1] at the end of the day. Railgun proved to be very useful, but for smaller things, I'm writing the second one.