Best solution for getting info on latency and causes of high CPU usage on WordPress sites?

[ad_1]

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]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer