Pretty much the title. I’m interested in something that can help easily identify particular scripts or certain bits of code that are responsible for a website being slow or using a lot of CPU. I know about running through server-side optimizations and general troubleshooting (FPM slow log, database slow query log, strace for system calls, etc.).
I was looking into APMs which I know could help with identify latency in some form, but not sure if it’d provide insights on resource usage. I was playing around with Elastic APM, but that doesn’t support mysqli just yet and complete WordPress compatibility is supposedly in the pipeline. Was planning on trying out New Relic and Datadog just to see how those work. I’d be looking for a solution that’s free and capable of monitoring multiple sites – even if it’s just one at a time/needing to rotate things out or needing to come up with something hacky for the service to ingest them all at once.
Are APMs the route to go and, if so, can anyone attest to what data whatever you’re using (or have used) provides?
[ad_2]
Would New Relic work for this?