collect_timeout

Diagnostic `nanook::engine::collect_timeout`

Summary

collect timed out for `{0}`

Help

collector exceeded the timeout window. consider raising the interval or fixing the collector

Details

When this fires

Runtime, from CollectorRunner::collect_once in crates/nanook-engine/src/scheduler/runner.rs. The runner wraps each collector.collect() call in a 30 second tokio::time::timeout (COLLECT_TIMEOUT). If the collector does not return in time, the tick is dropped and a warning is logged with collector = <name>. The error code itself is reserved for surfacing through logs and /state counters, not config validation.

What to check

Bump that collector's interval so collects do not pile up, and inspect the upstream target (HTTP endpoint, exec'd command, plugin) for hangs. If you wrote the collector, audit it for blocking I/O or deadlocks.