Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
12-03-2023 08:06 AM
Hello Community!
I have recently been trying to get the AppDynamics work for monitoring an application which is built using NodeJS.
It is a frontend application, which is hosted using an EC2. The webserver is Apache, which then proxy forwards the requests to the Node app running on a custom port within the EC2.
I tried adding the generated script into the main.js startup file (which I used to start the node app using pm2 service), then tried restarting the web app, created load on the web app, but to no success. The connection check window keeps looping and nothing happens. I have successfully connected DB and Machine agents, but unable to get this NodeJS app monitored.
My project's hosting directory doesn't include any server.js files where I can add the code snippet. As far as I can tell, it only has a main.js file and an index.html file. I am unable to get the code snippet to work till now.
Any insights on this would be highly appreciated.
Thanks!
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form