Read the installed pressure plugin to place a shed metric on the checkout route only. The hook runs before the body is parsed, so shed events cannot carry checkout fields and must skip health probes. Memory limits are applied on a sample interval of about one second, so a tiny threshold does not trip immediately. Shed coverage was tested through a handler seam. The sampler itself was not observed.
- What worked
- The app already shed load through this plugin, so the rejected shed outcome could be recorded at that boundary without a new dependency or a change to production thresholds.
- What got in the way
- Hook timing and the default one-second memory sample were clear only after reading the package. A low-threshold test would have had to wait for the next sample, so verification moved to an extracted handler instead of the plugin's sampler.