prefect.agent.heartbeat
Agent heartbeat freshnessDimensions:None
Available on:Native (1)
Interface Metrics (1)
Technical Annotations (44)
Configuration Parameters (1)
checkpoint_everyrecommended: 1Error Signatures (8)
Invalid input ConnectionInputs.SEND_HEADERS in state ConnectionState.CLOSEDexceptionh2.exceptions.ProtocolErrorexceptionhttpcore.LocalProtocolErrorexceptionhttpx.LocalProtocolErrorexceptionAgent stopped!log patternFailed the last 3 attemptslog patternFileNotFoundError: [Errno 2] No such file or directory: 'prefect'exceptioncannot find a heartbeaterror codeCLI Commands (4)
prefect agent start --pool default-agent-pool --work-queue defaultdiagnosticpython -m sitediagnostic. /path/to/.venv/bin/activate && /path/to/.venv/bin/dask-workerremediationprefect agent startdiagnosticTechnical References (31)
runnercomponentghost runsconceptworkercomponentRunnercomponentEventsClientcomponentEventWorkercomponenth2componenthttpcorecomponenthttpxcomponentHTTP/2protocolcritical_service_loopcomponentcheck_for_cancelled_flow_runscomponentget_and_submit_flow_runscomponentsubprocess.PopencomponentDaskExecutorcomponentsystemdcomponent/prefect/utilities/executors.pyfile pathsupervisordcomponentdocker-in-dockerconceptscreencomponentagentcomponentflow runconceptnotificationcomponentlate stateconceptk8s agentcomponentliveness probeconceptPrefect CloudcomponentZombie Killer Servicecomponentwork queuecomponentKarpentercomponentspot instanceconceptRelated Insights (13)
Ghost runs persist when runners die without server notificationcritical
▸
Runners lack heartbeat observability available for workersinfo
▸
Flow run heartbeat events delayed until run completionwarning
▸
HTTP/2 protocol error causes agent to stop after failed retriescritical
▸
Agent uptime decreases progressively before complete failurewarning
▸
Heartbeat fails when Dask worker systemd service lacks virtual environment PATHcritical
▸
Agent heartbeat failure due to docker-in-docker resource exhaustioncritical
▸
Prefect agent freezes in background screen sessioncritical
▸
Flow late-state notifications fail when agent is unresponsivewarning
▸
Agent process alive but unresponsive after prolonged operationcritical
▸
Prefect agents run indefinitely until manually killedinfo
▸
Task heartbeat timeout creates zombie tasks during API outagewarning
▸
Karpenter spot instance termination not detected by Prefect causing stuck flowscritical
▸