I installed elastic apm on some projects, a front in PHP and some APIs. The front doen not use any database directly only through the APIs and the CPU went crazy for all front instances. We revert the version, which in turn disabled the elastic php agent and the CPU went down.
Today, I selected an instance (from the front and from another high requested API), installed the agent again and the CPU immediately went up. After a few minutes, I disabled it.
There are other people with the same problem as posted on github but no response yet.
We'd love to use Observability on all our APIs and fronts but the cost to maintain high CPU usage is too high.
Any suggestions?
Regards,
Leandro