pprof

package
v1.18.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Requires *config.PProf available in container.

Functions

func LifetimeHooks added in v1.14.0

func LifetimeHooks(
	lc fx.Lifecycle,
	pprof *PProfInitializerImpl,
)

Types

type PProfInitializerImpl

type PProfInitializerImpl struct {
	PProf  *config.PProf
	Logger log.Logger
}

PProfInitializerImpl initialize the pprof based on config

func NewInitializer

func NewInitializer(cfg *config.PProf, logger log.Logger) *PProfInitializerImpl

NewInitializer create a new instance of PProf Initializer

func (*PProfInitializerImpl) Start

func (initializer *PProfInitializerImpl) Start() error

Start the pprof based on config

Jump to

Keyboard shortcuts

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