Is there any way to monitor in-flight requests (a.k.a. requests that are current running, but not finished)?
I don't think there is, so I opened an github issue suggesting that this would be a nice addition to the project (https://github.com/elastic/apm-agent-java/issues/1055), but it was closed, suggesting to open a discussion here.
Basically, I just want to know what exactly is running is the server in real time...
This is extremely important, in my opinion, for real time monitoring.
If we know exactly what is currently running in a server, we can quickly discover (or at least have an idea of):
- What is causing a CPU / memory spike;
- If there's something stuck in the server;
- If there are long-running requests;
Is there any way of doing that, currently?
If there's not, do you think it would be reasonable to implement it?