File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -351,12 +351,8 @@ func main() {
351351 http .HandleFunc (path .Join (* routePrefix , "/-/reload" ), updateConfiguration ) // Endpoint to reload configuration.
352352 // Serve pprof under the route prefix. These links are displayed on the landing page.
353353 http .HandleFunc (path .Join (* routePrefix , "debug/pprof/" ), pprof .Index )
354+ http .HandleFunc (path .Join (* routePrefix , "debug/pprof/profile" ), pprof .Profile )
354355 http .HandleFunc (path .Join (* routePrefix , "debug/pprof/heap" ), pprof .Handler ("heap" ).ServeHTTP )
355- // Endpoint to respond to health checks
356- http .HandleFunc (path .Join (* routePrefix , "/-/healthy" ), func (w http.ResponseWriter , r * http.Request ) {
357- w .WriteHeader (http .StatusOK )
358- w .Write ([]byte ("Healthy" ))
359- })
360356
361357 if * metricsPath != "/" && * metricsPath != "" {
362358 landingConfig := web.LandingConfig {
You can’t perform that action at this time.
0 commit comments