Update site/building.md with profiling docs

This commit is contained in:
Jonathan Lange
2016-07-14 15:17:56 +01:00
parent 1ddc91f0ea
commit 7894442ee7

View File

@@ -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: