pprof_gls

package module
v0.0.0-...-34acaba Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 4 Imported by: 0

README

pprof_GLS

Functions

func pprof_gls.Do(context.Context, pprof.LabelSet, func(context.Context))
  • pprof.Do()-alike
  • but will fetch back already stacked pprof's labels from GLS if you didn't bother to track your context.Context back from your previous ancestor call to pprof.Do()
  • otherwise, same API / behavior than pprof.Do()

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LabelContextKey_reflect_value reflect.Value // runtime.pprof.labelContextKey : struct{}
	LabelContextKey_any           any           // runtime.pprof.labelContextKey : struct{}

)

Functions

func Do

func Do(ctx context.Context, labels pprof.LabelSet, fn func(context.Context))

func ReflectGetAnyFromUnexported

func ReflectGetAnyFromUnexported(v reflect.Value) (any any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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