filter_numeric_unsupported
Diagnostic `nanook::filter::numeric_unsupported`
Summary
filter expressions only support string operators
Help
use like, matches, contains, is, not against name, src, or label keys
Details
When this fires
A filter string used a numeric operator (>, <, ==, arithmetic, ...) against a filter field. Filters in adapters and collectors only deal in strings: the resolver doesn't know how to turn name, src, or label values into numbers.
What to check
Switch to a string op: is, not, like (glob), matches (regex), contains, in. Filters work on name, src, or any defined label key.
# broken
= "name > 0"
# fixed
= "name like \"cpu.*\""
Surfaces during nanook check when validating filter strings. See @/docs/reference/dsl/filter.md.