Universal profiling for nodejs application

Hi,
We have been using Elastic APM for over a year with our Node JS microservices using elastic-apm-node package with getting good insights out of it.

The only thing missing is the profiling. At times, we can see the latency of our microservices are spiked and we would like to know what part of our code is taking more time to run during such spikes.

Could you please advice with steps to implement universal profiling? Our microservices run on AWS ECS Farage?

Thanks @Anandakumar, this guide mentions support for Node.js/V8. Would something similar work in your case?