collector_not_in_config

Diagnostic `nanook::cli::collector_not_in_config`

Summary

collector `{0}` not declared in config

Help

add a [[collectors]] block named {0} to the config, or pick an existing one

Details

When this fires

nanook probe --name <foo> raises this when there's no [[collectors]] block named <foo> in the loaded config. The probe command iterates agent.collectors and refuses to invent one out of thin air, since we wouldn't know which kind or opts to use.

What to check

Add a [[collectors]] block first, then probe it.

[[collectors]]
name = "cpu"
kind = "cpu"

Then:

nanook probe --config nanook.toml --name cpu