Node Performance - Disable Instrumentation by Function?

Hello,

We have a Node application instrumented w/ the Elastic APM library and configured to send data to an Elastic Cloud deployment. This has been working just fine for months. Recently, a change was made to our application which involved adding a hot path to normal execution. This change has significantly negatively affected application performance. We have adjusted just about every configuration setting methodically with no luck.

Is there any way to tell the Node APM package to completely ignore instrumentation of specific functions - or something similar? We haven't had any luck with the disableInstrumentations parameter for the package responsible for making most of the new calls in requests.

Thanks!