Skip to content

Commit

Permalink
docs: update /debug/zip document in tidb_http_api.md (#9948)
Browse files Browse the repository at this point in the history
  • Loading branch information
winkyao authored and jackysp committed Mar 29, 2019
1 parent 97f88f7 commit 4c76473
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/tidb_http_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,12 +382,17 @@ timezone.*
1. Download TiDB debug info
```shell
curl http://{TiDBIP}:10080/debug/zip
curl http://{TiDBIP}:10080/debug/zip?seconds=60 --output debug.zip
```
zip file will include:
- Go heap pprof(after GC)
- Go cpu pprof(10s)
- Go mutex pprof
- Full goroutine
- TiDB config and version
Param:
- seconds: profile time(s), default is 10s.

0 comments on commit 4c76473

Please sign in to comment.