mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Update site/building.md with profiling docs
This commit is contained in:
@@ -72,6 +72,12 @@ To collect the CPU profile of the Scope Probe:
|
||||
|
||||
go tool pprof http://localhost:4041/debug/pprof/profile
|
||||
|
||||
To collect a blocking profile of the Scope App, make sure you have launched
|
||||
Scope with `--app.block.profile.rate=N` (where `N` is the number of
|
||||
nanoseconds between samples) and then:
|
||||
|
||||
go tool pprof http://localhost:4040/debug/pprof/
|
||||
|
||||
If you don't have `go` installed, you can use a Docker container instead:
|
||||
|
||||
To collect the memory profile of the Scope App:
|
||||
|
||||
Reference in New Issue
Block a user