summaryrefslogtreecommitdiffstats
path: root/internal/metrics
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-15 10:26:10 -0800
committerbndw <ben@bdw.to>2026-02-15 10:26:10 -0800
commit57bc300fe26812aad568c8119f04d92e94c9ab14 (patch)
tree2ec71cfc86b4a950f5435c3b8a0e5b0b4f847773 /internal/metrics
parenta6ee0e3f268f9a847bf8a19159cf291021a0f38e (diff)
fix: record AUTH attempt metrics in WebSocket handler
Add RecordAuthAttempt calls to handleAuth so successful and failed AUTH attempts are tracked in metrics. This fixes the dashboard 'Challenges' counter which was always showing 0. The deferred call ensures both success and failure cases are recorded: - success=true when AUTH completes successfully - success=false when AUTH fails (invalid signature, wrong challenge, etc.) Updated MetricsRecorder interface and mock to include RecordAuthAttempt.
Diffstat (limited to 'internal/metrics')
0 files changed, 0 insertions, 0 deletions