Expand description
OpenTelemetry signals for fail-closed OAuth replay barriers.
Constants§
Functions§
- record_
rejection - Record every failed replay-barrier insertion. The
reasonattribute makes a blocked replay distinguishable from legitimate traffic refused because the fail-closed barrier is saturated. - should_
warn_ full - Return
trueat most once per barrier per minute for a full-barrier rejection. Metrics still record every rejection; this only prevents an attacker from turning saturation into unbounded warning-log volume.