feat: 分析工具pprof
This commit is contained in:
@@ -189,7 +189,7 @@ func main() {
|
|||||||
|
|
||||||
// 注册 pprof 路由
|
// 注册 pprof 路由
|
||||||
go func() {
|
go func() {
|
||||||
http.ListenAndServe("localhost:6060", nil)
|
http.ListenAndServe("0.0.0.0:6060", nil)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// 开启监控采集
|
// 开启监控采集
|
||||||
|
|||||||
Reference in New Issue
Block a user