Add ability to run pprof on dedicated HTTP server (#4584)

This allows exposing the pprof/debug endpoints in a production
environment more easily, where it shouldn't be exposed publicly.
This commit is contained in:
Trey Hakanson
2026-06-10 21:23:39 -07:00
committed by GitHub
parent 675caa208f
commit 233a226438
3 changed files with 45 additions and 1 deletions
+5
View File
@@ -170,6 +170,11 @@ rtc:
# when enabled, LiveKit will expose prometheus metrics on :6789/metrics
# prometheus_port: 6789
# expose /debug/pprof (and /debug/goroutine, /debug/rooms) on a dedicated port,
# separate from the public signalling port. only enabled when port is set.
# debug_handler_port:
# port: 7070
# API key / secret pairs.
# Keys are used for JWT authentication, server APIs would require a keypair in order to generate access tokens
# and make calls to the server