diff --git a/agent/server/server.go b/agent/server/server.go index 1f02fc61..cee938ae 100644 --- a/agent/server/server.go +++ b/agent/server/server.go @@ -17,7 +17,14 @@ func EnableProfile(r *gin.Engine) { pprofGroup.POST("/symbol", gin.WrapH(http.DefaultServeMux)) pprofGroup.GET("/symbol", gin.WrapH(http.DefaultServeMux)) pprofGroup.GET("/trace", gin.WrapH(http.DefaultServeMux)) + pprofGroup.GET("/allocs", gin.WrapH(http.DefaultServeMux)) + pprofGroup.GET("/block", gin.WrapH(http.DefaultServeMux)) + pprofGroup.GET("/goroutine", gin.WrapH(http.DefaultServeMux)) + pprofGroup.GET("/heap", gin.WrapH(http.DefaultServeMux)) + pprofGroup.GET("/mutex", gin.WrapH(http.DefaultServeMux)) + pprofGroup.GET("/threadcreate", gin.WrapH(http.DefaultServeMux)) } + r.GET("/liveness", func(c *gin.Context) { c.String(http.StatusOK, "Alive") })