Task · SKT-0168.09.29

Mint queue-driven app requests from the resource's whole-event carry

Description

An app with traffic.from_resource mints requests by StochasticRound of the queue’s served rate per tick, so its log lines and traces are a random draw around the rate rather than one per served event; the bound Lambda construct uses deterministic whole-event carries, so app logs and CloudWatch Invocations disagree in any window (found reviewing the private demo). Mint from_resource requests from the same whole-event carry the bound construct uses.

Acceptance Criteria

Definition of Done

Implementation Notes

loop58 residuals: carries align only from a common start (live may differ by one event per window until aligned); throttled functions count fewer invocations than minted requests by design; pause-resume asymmetry; span metrics still derive from served rate x interval.

View the source file on GitHub