From 8e5ebdb988cda9e568090fcd4d3c0598d8d660ac Mon Sep 17 00:00:00 2001 From: vijeyash Date: Sun, 10 Sep 2023 15:23:42 +0530 Subject: [PATCH] minor fix --- agent/server/server.go | 7 +++++++ 1 file changed, 7 insertions(+) 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") })