AutoMerge is generally available

Generated at:

Component schema

ProfileStackFilter

object1 direct reference

Definition

Drops whole samples whose stack does not match. Contrast ProfileFrameFilter, which prunes frames inside a stack that is kept.

kind selects which of the two forms this is and which properties below apply; a property belonging to the other form is rejected rather than ignored.

Which form a stack filter takes.

  • field: one frame property is compared against one value, and the stack matches when any frame in it matches. Set field, value and operator.
  • prefix: a run of frames at the top of the stack is matched position by position, which is how the UI zooms into a subtree. Set prefix.
"field""prefix"

field kind only.

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

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.

field kind only.

Under the prefix kind only is and is_not apply, and they negate the positional match as a whole: is_not keeps the samples whose stack does not begin with the prefix, which is how a subtree is excluded rather than zoomed into. Defaults to is.

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

The frames the top of the stack must match, position by position. A stack matches when its first prefix|length frames each match the matcher at the same index; what follows is unconstrained.

prefix kind only.

Used by 1

These schemas and endpoints reference this type directly.