Who it's for: Developers and DevOps teams supervising background jobs, schedulers, and workers.
You’ll learn: How to configure heartbeats, automate pings, set alerts, and resolve common issues.
Heart beat monitoring is a service which allows you to monitor the uptime of scheduled jobs, workers, or daemons. Once you create a heartbeat monitor in the Acumen Logs dashboard you receive a unique URL. When your job “checks in” by hitting that URL within the expected time window, the monitor stays healthy. If the check-in is missed or delayed, the monitor is marked failed and alerts are triggered.
Within the Heartbeat Monitoring section of the Acumen Logs dashboard, create a new heart beat monitor. Once you have created the monitor, you will be provided with a unique URL that looks like this https://app.acumenlogs.com/heartbeat/YOUR-UNIQUE-ID/pulse. You can use this URL to send a request to our server from cron jobs, workers, or external services.
We accept GET, POST and HEAD requests. You can also send a request with a body, headers, and query parameters. The server will respond with a 200 OK status code if the request is successful. Include contextual metadata (e.g., job duration or payload summary) inside query strings or JSON bodies to make incident triage easier.
You can set up thresholds for the heart beat monitor. If the monitor does not receive a request within the specified time frame, we will consider the URL to be down. Configure:
curl -fsS "https://app.acumenlogs.com/heartbeat/YOUR-UNIQUE-ID/pulse" > /dev/null to the end of your cron script.Http::post(config('services.acumen.heartbeat_url')); inside the scheduled job’s finally block so failures still notify you.ACUMEN_HEARTBEAT_URL) to avoid hardcoding credentials.wget or curl sidecar that reports completion for each batch job.Heartbeat monitors integrate with the shared alerting engine:
app.acumenlogs.com and SSL certificates are trusted.