Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vijeyash1 committed Sep 10, 2023
1 parent b5ee77e commit 8e5ebdb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions agent/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})
Expand Down

0 comments on commit 8e5ebdb

Please sign in to comment.