Forty gigabytes of logs a day and no answer to “is checkout slow”. Metrics, logs and traces answer different questions, and logs were doing all three badly.
Fifty PHP-FPM workers all waiting on one slow upstream is a site that is down because of a service most of its pages do not use. Rejecting immediately…
The database password was in the repository, then in the image, then in an environment variable readable by anything that could run ps. Where it went next.
A producer faster than its consumer fills a queue, and what happens when the queue is full is a decision somebody makes — or a decision the infrastructure…
The replica was up, accepting connections and serving data from an hour ago. Seconds_Behind_Master reported zero, honestly, and was measuring the wrong thing.