pprof

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 10 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