AutoMerge is generally available

Generated at:

Component schema

ProfileFrameFilter

object1 direct reference

Definition

Prunes frames within each kept stack. A stack with no surviving frame contributes nothing, but the sample itself is not filtered out the way a ProfileStackFilter filters it.

A frame property. Stack and frame filters match against it, and groupFramesBy merges frames on it.

  • functionName: the demangled function name.
  • systemName: the raw, un-demangled symbol name.
  • executableName: the binary or shared library the frame is in.
  • buildId: the build ID of that binary.
  • sourceFile: the source file the frame resolves to.
  • lineNumber: the line in that source file.
  • columnNumber: the column in that source file.
  • address: the instruction address within the binary, written as 0x followed by hexadecimal digits.
  • frameType: the interpreter or compiler the frame came from. Its values are listed in ProfileFrameType.

Which operators apply depends on the field. lineNumber and columnNumber compare numerically, address only for equality, and the rest as text: see ProfileStacktraceOperator.

"functionName""systemName""executableName""buildId""sourceFile""lineNumber""columnNumber""address""frameType"
stringrequired

The value to compare against. Always a string, whatever the field: lineNumber and columnNumber must parse as a non-negative integer, address as 0x followed by hexadecimal digits, and frameType under is or is_not must be one of ProfileFrameType. Under the substring and prefix operators the value is a fragment, so it is not checked against that list.

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.

"is""is_not""contains""does_not_contain""starts_with""does_not_start_with""gt""lt""gte""lte"

Used by 1

These schemas and endpoints reference this type directly.