Is there an easy way to trigger a heap dump when an alert condition is breached in ONEAgent Dynatrace?.
We randomly see spikes in heap used old gen, gc suspension spikes in our docker container. Heap is set to 9Gb. Many APIs are being used in the container. Sometimes OOM conditions happens fast, docker instance crashes and immediately start a new one.
The only reliable way to see what is growing inside the heap is to take a heap dump. But by the time any memory dump can be manually Tigger, new docker instance is started
Can i trigger a heap dump *automatically* on say when heap grows >65% via api, how?
Solved! Go to Solution.