pub fn start_thread_stall_monitor()
Expand description

Monitors temporary stalls in tokio scheduling every MONITOR_INTERVAL. Logs an error and increments a metric if more than 2 * MONITOR_INTERVAL has elapsed, which means the stall lasted longer than MONITOR_INTERVAL.