How It Works
- Create a heartbeat monitor with an expected interval
- Your service pings the monitor at regular intervals
- If we don’t receive a ping within the expected window, we alert you
Use Cases
- Cron jobs - Verify scheduled tasks complete
- Background workers - Monitor queue processors
- Batch jobs - Track ETL and data pipelines
- Internal services - Services behind firewalls
Creating a Heartbeat Monitor
- Dashboard
- CLI
- Go to Dashboard > Heartbeat
- Click Add Monitor
- Name your monitor and set the expected interval
- Copy the ping URL
Sending Heartbeats
Add a simple HTTP call to your job:- Bash
- Node.js
- Python
Crontab Integration
Grace Periods
Allow some flexibility for job timing:| Setting | Description |
|---|---|
| Interval | How often heartbeats are expected |
| Grace period | Extra time before marking as late |