Aug 14, 2024
Rename heartbeats to cron check-ins and other improvements
Node.js3.4.9
Changed
-
Rename heartbeats to cron check-ins. Calls to
Appsignal.heartbeat
andAppsignal.Heartbeat
should be replaced with calls toAppsignal.checkIn.cron
andAppsignal.checkIn.Cron
, for example:JavaScript// Before import { heartbeat } from "@appsignal/nodejs"; heartbeat("do_something", () => { do_something(); }); // After import { checkIn } from "@appsignal/nodejs"; checkIn.cron("do_something", () => { do_something; });
Deprecated
- Calls to
Appsignal.heartbeat
and to theAppsignal.Heartbeat
constructor will emit a deprecation warning.
Fixed
- Prevent internal AppSignal requests from being instrumented and appearing in the "Slow API requests" panel.
View the Node.js package v3.4.9 changelog for more information.