Skip to main content
Learn more about Heartbeat monitors in the Heartbeat monitor overview.
Use Heartbeat Monitors to track passive monitoring scenarios where external services ping Checkly at regular intervals. The examples below show how to configure monitoring for different types of scheduled jobs and services.
Before creating heartbeat monitors, ensure you have:
  • An initialized Checkly CLI project
  • External services, cron jobs, or scripts that can send HTTP POST requests
  • Understanding of your scheduled job intervals and expected timing
  • Network access from your services to Checkly’s ping endpoints
For additional setup information, see CLI overview.

Configuration

The Heartbeat Monitoring configuration consists of specific heartbeat monitoring options and inherited general monitoring options.

HeartbeatMonitor Options

number
required
The expected period between pings from your external service. This defines how often your job or service should check in.Usage:
Examples:
Range: 30 seconds to 365 days
string
required
The time unit for the period. Defines whether the period is in seconds, minutes, hours, or days.Usage:
Available units: 'seconds', 'minutes', 'hours', 'days'
number
required
The grace period to wait before alerting after the expected ping time has passed. This allows for slight delays in job execution.Usage:
Examples:
Range: 0 seconds to 365 days
string
required
The time unit for the grace period. Defines whether the grace period is in seconds, minutes, hours, or days.Usage:
Available units: 'seconds', 'minutes', 'hours', 'days'

General Monitor Options

string
required
Friendly name for your heartbeat monitor that will be displayed in the Checkly dashboard and used in notifications.Usage:

Examples

Getting the heartbeat Ping URL

After deploying your heartbeat monitor, you can obtain the ping URL in several ways:
The ping URL is unique for each heartbeat monitor and should be kept secure. Anyone with access to this URL can send pings to your monitor.
Heartbeat monitors are passive - they wait for your external services to ping them. Make sure your jobs and services are configured to send HTTP POST requests to the ping URL on successful completion.