summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-14 12:19:29 -0800
committerbndw <ben@bdw.to>2026-02-14 12:19:29 -0800
commiteb666af39feed4be9c8c1354cf52d0ea38ab5d36 (patch)
treec6488b73333882a6a245c0cd24157d2889a95639 /README.md
parent865b3da22881a1046c15e99bdd5fbc64aa374b73 (diff)
refactor: serve metrics on main HTTP port instead of separate port
Move metrics dashboard and Prometheus endpoint to the main HTTP server for simplified deployment and single ingress configuration. Changes: - Add PrometheusHandler() and DashboardHandler() methods to Metrics - Serve /dashboard on main HTTP port (was root on separate port) - Serve /metrics on main HTTP port (was /metrics on separate port) - Remove separate metrics server goroutine - Update logging to show metrics paths on main HTTP port Benefits: - Single port/ingress needed for all HTTP traffic - Simpler reverse proxy configuration - Dashboard accessible alongside main relay endpoints Endpoints on port 8080: - / - WebSocket/index - /nostr.v1.NostrRelay/* - Connect (gRPC-Web) - /dashboard - Metrics dashboard (HTML) - /metrics - Prometheus metrics (text)
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions