To upgrade the APM Insight Node.js agent, follow the steps given below.
Prerequisite: Ensure that your Node.js application is running version v16.20.2 or later before upgrading the APM Insight Node.js agent.
Uninstall the existing APM Insight Node.js agent:
$ npm uninstall apminsightInstall the latest agent from the extracted directory:
$ npm install <Node.js-Agent-unzipped-path>/agent_minifiedExample:
$ npm install /users/joe/agent_minifiedNote: To avoid version mismatch issues, complete the uninstall and install steps from the same application root directory.
For complete setup and configuration details, refer to Install APM Insight Node.js Agent.
It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development