We have made improvements to our Node.js to support many new frameworks and databases. We also have made changes in the package name. The old node.js package has been deprecated and will no longer be in use.
The new node.js agent supports the following frameworks:
- Express
- Hapi
- Restify
- Koa.js
- Fastify
The databases are as follows:
- MySQL
- PostgreSQL
- MongoDB
- Redis
- ElasticSearch
- Cassandra
- GraphQL
Steps to migrate to the newest Node.js agent
Install Atatus Node.js package.
copynpm install --save atatus-nodejs
Note:
Previously, for installation we used the package, atatus-node (v0.1.3). Now, the package name has changed to atatus-nodejs (v1.x). We no longer use API key installation instead, use the License key.
Require Atatus in your Node.js app and invoke start with your License key and App name:
copy// It must be placed above all other 'require' statements var atatus = require("atatus-nodejs"); atatus.start({ licenseKey: "YOUR_LICENSE_KEY", appName: "YOUR_APP_NAME" });