Wang Long
|
2dfb24bbea
|
api: fix pprof-address usage
Adding the following line will install handlers under the /debug/pprof/ URL to download live profiles:
```
import _ "net/http/pprof"
```
see: https://golang.org/pkg/net/http/pprof/
https://golang.org/pkg/runtime/pprof/
Signed-off-by: Wang Long <long.wanglong@huawei.com>
|
2016-11-05 09:49:39 +00:00 |
|
Kenfe-Mickaël Laventure
|
5624732128
|
Add golint to test (#255)
* Add a new lint rule to the Makefile
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
* Fix linter errors
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
* Allow replacing the default apt mirror
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
|
2016-06-03 15:00:49 -07:00 |
|
Alexander Morozov
|
9416996835
|
api: fix pprof-address usage
those handlers already added by init functions
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
|
2016-04-05 11:36:51 -07:00 |
|
David Calavera
|
06bcd7d03c
|
Enable http pprof connections when pprof-address is set.
Add flag to specify the address where those connections listen.
Signed-off-by: David Calavera <david.calavera@gmail.com>
|
2016-03-25 17:46:10 -04:00 |
|