Skip to content

Commit

Permalink
TUN-7147: Revert wrong removal of debug endpoint from metrics port
Browse files Browse the repository at this point in the history
  • Loading branch information
joliveirinha committed Jan 31, 2023
1 parent 93e569f commit d8f2b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metrics/metrics.go
Expand Up @@ -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")
Expand Down

0 comments on commit d8f2b76

Please sign in to comment.