Introduction We recently needed visibility into what our Java services were actually doing in production — response times, slow queries, errors, that sort of thing. We landed on Elastic APM. Here's exactly how we set it up, including some decisions we made around multi-environment support that saved us a lot of headache later. The...