Random

Matches a specified percentage of traffic based on a random selection.

This condition triggers actions randomly based on a specified percentage of traffic.

Configuration

  • Percentage of traffic: A numerical value between 0 and 100 that defines the likelihood of the condition matching. A value of 0 will never return true, while a value of 100 will always return true. This field is required.

Measurement

For every incoming request, the condition evaluates a uniform random float between 0.0 and 1.0. The configured Percentage of traffic is converted to a probability (e.g. 20% becomes 0.2). The condition returns true if the generated random value is less than this probability.


Last modified March 5, 2026