1. Install Atatus Node.js package.
  2. Create atatus.js file in your project root with the following code:
  3. Update your package.json scripts to use the -r flag with your atatus.js file:
    If you use any other startup script (e.g pm2), add the -r ./atatus.js flag accordingly.
  4. 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.