We have a project with multiple NodeJS components. In all of the project we have built in the APM connection. Every component works fine except one. For this one we receive the Metrics in APM but not the Transactions. Therefor we think the connection with APM is fine, probelly something else is wrong.
Some info :
• APM on premise: 7.9
• NodeJS : V12
• elastic-apm-node : 3.7.0
What have done already:
• Starting the APM als first.
• Downgrade NodeJS to V10
Is there someone who has the same problem and has a solution?
That's useful information, thank you @keon109. Express is definitely a supported framework, so we're good there and can move on to the next set of questions.
You mentioned you're using Babel -- what does the final compiled source file that you're running via NodeJS look like? Is the elastic-apm-node require still at the top?
What does your invocation of node look like that starts the application?
The basic gist of these questions is trying to understand the actual JavaScript code that node is running for your application. Once we've got these answered, we'll either know the problem, or can move on to debugging your actual application.
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.