summaryrefslogtreecommitdiffstats
path: root/api/nostr
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-14 22:11:08 -0800
committerbndw <ben@bdw.to>2026-02-14 22:11:08 -0800
commitbff984727e240dfc29533381d60a2127d833c10a (patch)
tree369c75e67682a126e58fa27b4e4cdcedba2bf188 /api/nostr
parenta98e6b9f844b980d27097be68886ec9faa6d90e8 (diff)
feat: track WebSocket requests in metrics
Add request tracking for EVENT and REQ messages to match gRPC behavior. Dashboard now shows total/success/error counts for all requests. - Add RecordRequest to MetricsRecorder interface - Track timing and status in handleEvent and handleReq - Record metrics with status: ok, error, unauthenticated, rate_limited - Measure request duration for performance monitoring WebSocket is the primary interface, so tracking these requests is critical for understanding relay usage and performance.
Diffstat (limited to 'api/nostr')
0 files changed, 0 insertions, 0 deletions