process

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PprofEnable      bool
	PprofBindAddress string
)

Functions

func DoWithLabels

func DoWithLabels(ctx context.Context, labels map[string]string, f func())

DoWithLabels attaches the labels to the current go-routine Pprof context, for the duration of the call to f.

func RunProcess

func RunProcess(startProcess func() (io.Closer, error))

func RunProfiling

func RunProfiling() io.Closer

Types

This section is empty.

Jump to

Keyboard shortcuts

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