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.
As a guess, the captureSpanStackTraces=false configuration option might help. However, we would more details to be sure. If your new hot path includes creating many more tracing spans than before, then captureSpanStackTraces can often be a bottleneck.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.