Monitor pipeline health with heartbeat frames
enable_heartbeats
to True
in the PipelineParams
:
HeartbeatFrame
every secondHEARTBEAT_SECONDS = 1.0
- Interval between heartbeat framesHEARTBEAT_MONITOR_SECONDS = 10.0
- Time before warning if no heartbeat received