Expand description
Request-mirroring plugin (proxy-mirror).
The featherbit port of Apache APISIX’s proxy-mirror: fires a fire-and-
forget clone of the incoming request at a shadow upstream for traffic
shadowing (comparing a new backend, capturing traffic, …). The mirror is
sent on a detached background task via the shared outbound client; its
response and any error are ignored, and the request path is never
blocked or affected by it.
Placement: put this node before upstream so it observes the request
as it will be proxied. It always continues through the success port and
never errors.
Structs§
- Proxy
Mirror Plugin - Mirrors matching requests to a shadow host, best-effort.
Constants§
- MIRROR_
TIMEOUT 🔒 - Whole-call deadline for a mirrored (best-effort) request.
Functions§
- roll_
fraction 🔒 - Draws a pseudo-random fraction in
[0.0, 1.0).