How a stacktrace filter's value is compared against the frame
property. The names and meanings are those of
AttributeFilterOperator, narrowed to the operators the profiling
query engine implements.
Which operators a field accepts:
is and is_not apply to every field.
gt, lt, gte, and lte apply only to lineNumber and
columnNumber.
contains, does_not_contain, starts_with, and
does_not_start_with apply only to the text fields.
address takes is and is_not alone — an address is an
identifier, not a quantity worth ordering or matching substrings of.
A combination outside those rules is rejected.
The negative operators read differently on the two filters, because
the two filters do different things. On a ProfileStackFilter, which
keeps or drops a whole sample, is_not and the other negatives apply to
the stack: does_not_contain means no frame in the stack contains the
value. On a ProfileFrameFilter, which prunes frames within a stack
that is kept, they apply to the frame: it means this frame does not
contain it.
The whole-stack reading is the one worth having. "This stack does not
call X" is a question about a stack; "some frame in this stack is not
X" is true of practically every stack, so it would filter nothing.