pprof

package
v1.5.2-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPprofEndpoint

func GetPprofEndpoint(component PprofPort) *url.URL

GetPprofEndpoint determines on which interface the pprof server should be launched. This makes an explicit assumption that there will be a `client.localhost` name when running in debug modes.

func StartPprof

func StartPprof(name string, component PprofPort) error

Types

type PprofPort

type PprofPort int
const (
	VCHInitPort PprofPort = iota
	VicadminPort
	DockerPort
	PortlayerPort
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL