Expand description
Recommended counter names (RFC-024 §metrics).
Use these constants as the counter argument to
MetricsObserver::increment so metric names stay consistent across
adapters and host integrations.
Constants§
- CODE_
CLAIM_ LOST - The atomic claim was lost to a concurrent caller.
- CODE_
CLAIM_ WON - The atomic claim succeeded (exactly one winner).
- CODE_
ISSUED - A one-time code was successfully issued.
- CODE_
REDEEM_ ATTEMPT - A code redemption was attempted (normalised and looked up).
- FORM_
TOKEN_ CONSUME - A form-token consume call completed (use
outcometo distinguish). - RATE_
LIMIT_ BLOCKED - A rate-limit check blocked an operation.
- SESSION_
ISSUED - A session was successfully issued.
- SESSION_
VALIDATE - A session validation attempt completed.