Worker endpoints allow you to monitor the health and status of distributed worker nodes in the Amp cluster. Workers are responsible for executing extraction jobs.
Last heartbeat timestamp (RFC3339 format). Workers send periodic heartbeats to indicate they are alive. A stale heartbeat indicates the worker may be down or unreachable.
Timestamp when the worker was first created in the system (RFC3339 format). This timestamp never changes and represents when the worker first appeared in the system.
Timestamp when the worker last registered (RFC3339 format). Updated each time a worker re-registers with the system. Use this to track worker restarts.
Version string including git describe output. Format: v{major}.{minor}.{patch}[-{commits_since_tag}-g{short_sha}][-dirty]. The “-dirty” suffix indicates uncommitted changes.
Workers send periodic heartbeats to indicate they are alive and processing work. The heartbeat_at field shows the last heartbeat timestamp.Monitoring stale workers:
# Get all workerscurl http://localhost:1610/workers# Check heartbeat timestamps# If heartbeat_at is significantly older than current time,# the worker may be down or unreachable