We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44845a2 commit 45a71f1Copy full SHA for 45a71f1
component/conprof/scrape/manager.go
@@ -327,8 +327,9 @@ func goAppProfilingConfig(cfg config.ContinueProfilingConfig) *config.ProfilingC
327
Path: "/debug/pprof/heap",
328
},
329
"goroutine": &config.PprofProfilingConfig{
330
- Path: "/debug/pprof/goroutine",
331
- Params: map[string]string{"debug": "2"},
+ Path: "/debug/pprof/goroutine",
+ // debug=2 causes STW when collecting the stacks. See https://github.com/pingcap/tidb/issues/48695.
332
+ Params: map[string]string{"debug": "1"},
333
334
"mutex": &config.PprofProfilingConfig{
335
Path: "/debug/pprof/mutex",
0 commit comments