TUN-7147: Revert wrong removal of debug endpoint from metrics port
This commit is contained in:
parent
93e569fa23
commit
d8f2b768f8
|
@ -38,6 +38,7 @@ func newMetricsHandler(
|
|||
log *zerolog.Logger,
|
||||
) *http.ServeMux {
|
||||
router := http.NewServeMux()
|
||||
router.Handle("/debug/", http.DefaultServeMux)
|
||||
router.Handle("/metrics", promhttp.Handler())
|
||||
router.HandleFunc("/healthcheck", func(w http.ResponseWriter, r *http.Request) {
|
||||
_, _ = fmt.Fprintf(w, "OK\n")
|
||||
|
|
Loading…
Reference in New Issue