eval_metric_not_found

Diagnostic `nanook::eval::metric_not_found`

Summary

metric not found: {0}

Help

verify the metric name and that the collector is registered

Details

When this fires

The evaluator asked the resolver for a selector and got nothing back. Either the metric name is wrong, or the collector that produces it isn't registered (or hasn't run yet on this host).

What to check

Run nanook discover to list what's actually being collected. For platform-specific metrics, check whether they exist on the host running the rule.

# broken
expr = "mem.avilable < 100MB"
# fixed
expr = "mem.available < 100MB"

Related: nanook::engine::metric_not_found for the engine-side variant.