iota_
metrics
0.11.0-alpha
Module thread_
stall_
monitor
Module Items
Functions
In crate iota_
metrics
iota_metrics
Module
thread_stall_monitor
Copy item path
Source
Functions
ยง
start_
thread_
stall_
monitor
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.