profiling

package
v0.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ExternalConfigName = "profiling"

ExternalConfigName is the external config name of profiling.

Variables

This section is empty.

Functions

func Contention

func Contention(enable bool) nirvana.Configurer

Contention returns a configurer to enable or disable contention profiling. Defaults to false.

func Disable

func Disable() nirvana.Configurer

Disable returns a configurer to disable profiling.

func Path

func Path(path string) nirvana.Configurer

Path returns a configurer to set metrics path. Default path is /debug/pprof. Then these path is used:

/debug/pprof/profile
/debug/pprof/symbol
/debug/pprof/trace

Types

This section is empty.

Jump to

Keyboard shortcuts

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