-
Install Atatus Node.js package.
-
Create
atatus.jsfile in your project root with the following code: -
Update your
package.jsonscripts to use the-rflag with youratatus.jsfile:If you use any other startup script (e.g pm2), add the-r ./atatus.jsflag accordingly. - Restart your Nuxt.js server. Just restart your server and access it from your web app or mobile app or curl. You will visualize your application’s metrics within minutes.
Other Installations
Monitor your Nuxt.js apps in Atatus
Effortlessly track and analyze the performance of your Nuxt.js apps with Atatus