Failure signal
A Promise rejects during a background task.

NODE.JS INTEGRATION
Asynchronous Node.js jobs can fail through rejected promises, timeouts or a scheduler that stops triggering. Send a heartbeat only after the awaited work has completed successfully.
GET /h/YOUR_KEY/YOUR_TOKENWHAT CAN FAIL
A Promise rejects during a background task.
A scheduled Node.js process stops starting.
A worker exits before its asynchronous work finishes.
BASIC INTEGRATION
Use the unique GET URL provided by your Upnora dashboard. The examples are generic: replace them with your monitor URL and keep it in an environment variable or secret.
await runJob(); await fetch(process.env.UPNORA_HEARTBEAT_URL);IMPLEMENTATION NOTES
Use an environment variable for the URL and await the job before calling fetch(). If the job rejects, the heartbeat call is skipped.
See scheduled task monitoring →A Promise that is still running is not proof that the task completed successfully.
MORE HEARTBEAT INTEGRATIONS
FAQ
Await the job, then call the Upnora heartbeat URL with fetch().
Store it in the environment used by the worker or scheduler.
Yes, when the rejection prevents the heartbeat from being sent.
ADD A SUCCESS SIGNAL