Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

atatus-nodejs

atatus6.8k3.2.3TypeScript support: included

Atatus APM agent for Node.js

atatus, apm, log, logging, bug, bugs, error, errors, exception, exceptions, catch, monitor, monitoring, alert, alerts, performance, apm, ops, devops, stacktrace, trace, tracing, distributedtracing, distributed-tracing

readme

Atatus Node.js APM Agent

Atatus Node.js APM agent allows you to monitor your Node.js application performance and captures errors in real-time.

Create a free account to start monitoring your Node.js apps.

Installation & Setup

Install atatus-nodejs using npm:

npm install --save atatus-nodejs

Require atatus-nodejs in your node.js app:

var atatus = require("atatus-nodejs");

Start the Atatus agent with your License key and app name:

atatus.start({ licenseKey: "YOUR_APM_LICENSE_KEY", appName: 'Node.js Backend' });

Documentation

changelog

Atatus Node.js Agent Changelog

3.2.1

  • Fix: analytics truncate issue.

-- Wed, 19 Mar 2025

3.2.0

  • Feature: add function to start message queue

-- Thu, 27 Feb 2025

3.1.2

  • Fix: span functions in typescript definition.

-- Mon, 30 Dec 2024

3.1.1

  • Fix: apm client for unsampled background transaction.

-- Thu, 5 Dec 2024

3.1.0

  • add support for RabbitMQ.
  • add support for vulnerability management.

-- Tue, 3 Dec 2024

2.0.1

  • Fix: truncation of response body from outgoing requests when analytics is enabled.

-- Tue, 18 Jun 2024

2.0.0

  • Feature: add support for skip functionality in transactions.
  • Fix: replace request library with axios.

-- Mon, 20 Nov 2023

1.6.7

  • Bugfix: Disable Stripe API response body capturing in analytics.

-- Fri, 10 Nov 2023

1.6.6

  • Bugfix: fastify version 4 deprecation warning.

-- Thu, 2 Nov 2023

1.6.5

  • Feature: Add support for Koa Router 11 and 12.

-- Mon, 16 Oct 2023

1.6.4

  • Feature: Add support for Next.js.
  • Bugfix: req._headers warning issue.

-- Thu, 20 July 2023

1.6.3

  • add log body content types option.
  • redact the confidential data from outgoing request headers.

-- Mon, 19 June 2023

1.6.2

  • Bugfix: Fix the outgoing request response body in Analytics.

-- Thu, 8 June 2023

1.6.1

  • Feature: Add outgoing request capturing in Analytics.
  • Feature: Add support for skip and mask configuration.
  • Bugfix: Fix timestamp for events in Analytics.

-- Wed, 7 June 2023

1.6.0

  • Node.js 19 support.

-- Thu, 25 May 2023

1.5.9

  • Fixed log body default value.

-- Wed, 3 May 2023

1.5.8

  • Fixed options issue.

-- Wed, 3 May 2023

1.5.7

  • Added support for automated capturing of response body.
  • Added support to handle analytics payload size more than 6MB.

-- Tue, 2 May 2023

1.5.6

  • Fixed req.protocol failure by safe handling of req.secure

-- Wed, 12 Apr 2023

1.5.5

  • Removed "systeminformation" package dependency.

-- Fri, 29 July 2022

1.5.4

  • Added support for company id and response body API.

-- Mon, 18 July 2022

1.5.3

  • Added support for fastify request body.

-- Tue, 14 June 2022

1.5.2

  • Added support for fastify 3.0.0.

-- Tue, 7 June 2022

1.5.1

  • Added support to send analytics payload to different server URL.

-- Thu, 12 May 2022

1.5.0

  • Added support for request headers, request body, response headers and response body in Analytics.
  • Fixed MongoDB 4.x.x issue

-- Wed, 23 Mar 2022

1.4.3

  • Added start.d.ts

-- Fri, 11 Mar 2022

1.4.2

  • Added app version support in env variable.

-- Mon, 16 Aug 2021

1.4.1

  • Added user support in analytics.

-- Fri, 13 Aug 2021

1.4.0

  • Added analytics support.

-- Mon, 26 July 2021

1.3.3

  • Node.js 14 support.

-- Fri, 22 Jan 2021

1.3.2

  • Updated pg, graphql, knex, koa-router and redis module version.

-- Wed, 25 Nov 2020

1.3.1

  • Added transaction name in exceptions and HTTP failures.
  • Increased exception queue count.
  • Fixed HTTPS issue in External Requests.

-- Fri, 11 Sept 2020

1.3.0

  • Added support for @hapi/hapi and @koa/router.

-- Tue, 31 Mar 2020

1.2.1

  • Added support for mysql2 module 2.0.0 and higher.

-- Fri, 27 Mar 2020

1.2.0

  • Added support for MongoDB module 3.3.0 and higher.
  • Added support for memcached module 2.2.0 and higher.
  • Added option to show console message for uncaught exceptions.

-- Thu, 23 Jan 2020

1.1.0

  • Added support for Node.js 13.
  • Added support for blocking data for over usages and trial ended.
  • Send host info for every 30 minutes.

-- Fri, 22 Nov 2019

1.0.10

  • Renamed Atatus environment variables.
  • Renamed Atatus config file name.

-- Wed, 30 Oct 2019

1.0.9

  • Added start.js for ES6 support
  • Fixed request package dependency.

-- Thu, 23 Oct 2019

1.0.8

  • Added support for VM, CPU, Memory metrics.
  • Added start offset for trace spans.
  • Added User IP in trace and error.

-- Thu, 3 Oct 2019

1.0.7

  • Added license key and app name in type script definition file.

-- Mon, 16 Sept 2019

1.0.6

  • Handle static files transaction name to use a common group to identify slow transactions in a more meaningful name.

-- Mon, 26 Aug 2019

1.0.5

  • Increased immediate flush interval to 10 seconds.
  • Fixed custom span type missing issue.

-- Tue, 20 Aug 2019

1.0.4

  • Fixed negative span duration in traces.
  • Added custom data in failed requests.

-- Sat, 10 Aug 2019

1.0.3

  • Fixed span duration in traces.
  • Fixed node_modules dependencies fetching in absolute path.

-- Fri, 9 Aug 2019

1.0.2

  • Added node modules and node version in host info.

-- Fri, 9 Aug 2019

1.0.1

  • Fixed container info package issue.

-- Thu, 8 Aug 2019

1.0.0

  • Initial release

-- Thu, 8 Aug 2019