Files
multus-cni/pkg/server
Benjamin Pickard 9063a32fe1 Add optional pprof endpoint support to multus-daemon
Add pprof profiling endpoints to the metrics server, gated behind
a new EnablePprof config field. When enabled, standard Go pprof
handlers are registered on the metrics port under /debug/pprof/.

This also improves the metrics server setup:
- Use dedicated http.ServeMux instead of DefaultServeMux
- Move mux/handler setup outside the retry loop
- Use http.Server with ReadHeaderTimeout for resource safety
- Add graceful shutdown on context cancellation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Benjamin Pickard <bpickard@redhat.com>
2026-05-20 16:25:35 -04:00
..
2026-02-13 13:32:26 -05:00
2026-03-18 23:21:46 -04:00