Skip to content

Heartbeat Monitor

Used to monitor periodically executing processes such as cron jobs and batch processes. Determines liveness based on whether periodic pings arrive at a Manako-issued endpoint.

  1. Manako issues an endpoint URL for the Heartbeat monitor
  2. The monitored job sends an HTTP request (ping) to that URL upon completion
  3. If no ping arrives within the configured grace period, a failure is detected
FieldDescriptionRequiredDefault
Grace PeriodTime to wait before marking as down when no ping is receivedNo300 seconds (5 minutes)

The grace period can be set between 60 seconds and 86,400 seconds (24 hours). We recommend setting it slightly longer than the monitoring interval.

Terminal window
# Send a ping at the end of the job
curl -s https://hb.manako.dev/ping/{token}

A failure is detected when no ping is received within the configured grace period. Receiving a ping automatically triggers recovery.