summaryrefslogtreecommitdiffstats
path: root/api/nostr/v1/nostr_grpc.pb.go
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-14 12:29:01 -0800
committerbndw <ben@bdw.to>2026-02-14 12:29:01 -0800
commitc33395cee66770c4d88a47537c0ed821f6585f62 (patch)
treee7f61e5881089f2f10bd06d5828cd7c58b2bc98e /api/nostr/v1/nostr_grpc.pb.go
parenteb666af39feed4be9c8c1354cf52d0ea38ab5d36 (diff)
fix: properly chain gRPC interceptors and fix dashboard uptime
Two critical fixes for metrics: 1. Fix interceptor chaining - Changed from mixed grpc.UnaryInterceptor/ChainUnaryInterceptor to proper chaining with grpc.ChainUnaryInterceptor - Metrics interceptor now runs first (as intended) - All interceptors properly chained in order: metrics → auth → ratelimit - This fixes metrics not being recorded for any requests 2. Fix dashboard uptime calculation - Changed from page load time to process_start_time_seconds metric - Uptime now persists correctly across page refreshes - Uses Prometheus standard process_start_time_seconds gauge Before: Metrics showed 0 for all requests, uptime reset on refresh After: Metrics properly record all gRPC requests, uptime shows actual relay uptime
Diffstat (limited to 'api/nostr/v1/nostr_grpc.pb.go')
0 files changed, 0 insertions, 0 deletions