mark sets lightweight metadata marks on the request Context. Marks may be boolean (presence) or string values and can be read by downstream plugins for routing or policy decisions.
name(required): mark keyvalue(optional): string value to set; if omitted the mark is booleantrue.
Exec string format: "mark key [value]".
Examples:
plugins:
- exec: mark:vip_customer
- exec: mark:priority high- Stores boolean marks as
boolmetadata and value marks asStringmetadata under the provided key. - Setting the same mark twice overwrites the previous value.
- Use
markto annotate requests for conditional plugin logic (such as bypassing cache, preferring upstreams, or tagging telemetry). - Marks can be used in combination with other plugins that read metadata to influence behavior based on request attributes.