Monitoring your workers, queues and background jobs.
Long-running tasks like queue workers require special monitoring.
MoniTao Heartbeat with start/ping endpoints allows measuring execution time of your jobs.
Heartbeat is suitable for monitoring tasks running in the background:
For long tasks, use /start at the beginning and /ping at the end to measure duration:
# Signal debut de tache longue
curl -X POST https://monitao.com/api/heartbeat/start/YOUR_TOKEN \
-H "Authorization: Bearer YOUR_SECRET"
# ... execution de la tache ...
# Signal fin de tache
curl -X POST https://monitao.com/api/heartbeat/ping/YOUR_TOKEN \
-H "Authorization: Bearer YOUR_SECRET"
If a task starts but never ends (stuck), MoniTao will detect it and alert you.
Configure a regular ping (e.g., every 5 minutes) to prove the worker is active.
Alerts on excessive duration are planned for a future version.
Configure a sufficient grace period to cover normal variations.
Yes, each microservice can have its own heartbeat job for fine-grained monitoring.
Start free, no credit card required.