duplicate_collector

Diagnostic `nanook::engine::duplicate_collector`

Summary

duplicate collector `{0}`

Help

each collector entry must have a unique name

Details

When this fires

Engine::spawn (in crates/nanook-engine/src/engine/mod.rs) keeps one handle per collector name. If you call spawn twice with the same name, the second call returns this error. In practice it shows up at startup or during respawn, when two [[collectors]] entries in agent.toml end up with the same name.

What to check

Every [[collectors]] block needs a unique name = "...".

[[collectors]]
name = "cpu"

[[collectors]]
name = "cpu-host2"  # not "cpu" again