worker-health-monitoring

Monitor background worker health via heartbeats and configurable thresholds.

783|62|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/dadbodgeoff/drift --skill worker-health-monitoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worker-health-monitoring
Source: https://github.com/dadbodgeoff/drift/tree/main/drift%20v1%20depreciated/skills/worker-health-monitoring
Command: npx skills add https://github.com/dadbodgeoff/drift --skill worker-health-monitoring

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust system for monitoring the health and performance of background workers, detecting issues like downtime, degradation, and stuck jobs before they impact users.

Core Features & Use Cases

  • Heartbeat Monitoring: Tracks worker liveness with configurable timeouts.
  • Performance Metrics: Monitors job success rates, execution durations, and queue depth.
  • Failure Detection: Identifies unhealthy workers based on failure rates and latency.
  • Stuck Job Detection: Flags jobs that appear to be running indefinitely.
  • Use Case: Ensure your critical background processing jobs (e.g., report generation, data synchronization) are always running optimally and alert you immediately if any worker goes offline or starts failing.

Quick Start

Use the worker-health-monitoring skill to register a new worker named 'image-resizer' with an expected duration of 15 seconds.

Frequently Asked Questions about worker-health-monitoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect stuck or offline background workers?

Detect stuck or offline background workers using heartbeat-based health monitoring with configurable timeouts, calculating failure rates and analyzing rolling duration windows to flag degraded jobs.

What is heartbeat-based monitoring for background workers?

Heartbeat-based monitoring tracks worker liveness by expecting periodic signals, detecting offline, degraded, or unhealthy states based on configurable thresholds and latency multipliers.

Can I monitor worker health in both TypeScript and Python backends?

Yes, worker health monitoring supports both TypeScript and Python implementations, allowing integration into diverse backend systems for tracking queue depth and execution durations.

How do I configure thresholds for background job failure detection?

Configure failure detection thresholds by setting acceptable failure rates and latency multipliers, which the system uses to identify unhealthy workers and flag jobs running indefinitely.

What's the best way to monitor background job success rates and execution time?

Monitor background job success rates and execution time by implementing performance metrics tracking that analyzes rolling duration windows and queue depth to ensure optimal reliability.

Why does my background worker appear healthy but jobs are not completing?

Background workers may appear healthy but fail to complete due to stuck jobs, which heartbeat monitoring detects by flagging jobs that appear to run indefinitely beyond expected durations.