mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
support dump: generate pprof files with debug=1 to avoid generating an unusable heap dump (#3361)
This commit is contained in:
parent
dada07b2da
commit
d35d01fd9a
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ func (cli *cliSupport) dumpPprof(ctx context.Context, zw *zip.Writer, prometheus
|
|||
ctx,
|
||||
http.MethodGet,
|
||||
fmt.Sprintf(
|
||||
"http://%s/debug/pprof/%s?debug=1",
|
||||
"http://%s/debug/pprof/%s",
|
||||
net.JoinHostPort(
|
||||
prometheusCfg.ListenAddr,
|
||||
strconv.Itoa(prometheusCfg.ListenPort),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue