Running it in productionintermediate
A healthcheck is how the platform knows to restart your container, and running as a non-root user is how a bug stops being a breach.
Instrument one operation with rate, errors and duration, keep the tag cardinality survivable, and write the single alert that would have paged somebody before the customers noticed.
One operation, three signals, a bounded number of series, and an alert somebody could act on at 3am.
Published in full, before you start — every point is one of these and there is nothing else.
A healthcheck is how the platform knows to restart your container, and running as a non-root user is how a bug stops being a breach.
Network calls fail. Code that assumes they succeed turns a slow connection into a blank screen with no explanation.