pprof

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixFunctionIDForBrokenDotnet added in v1.1.0

func FixFunctionIDForBrokenDotnet(profile *profilev1.Profile)

func FixFunctionNamesForScriptingLanguages added in v1.1.0

func FixFunctionNamesForScriptingLanguages(p *pprof.Profile, md ingestion.Metadata)

func SpyNameForFunctionNameRewrite added in v1.1.0

func SpyNameForFunctionNameRewrite() string

Types

type RawProfile

type RawProfile struct {
	RawData             []byte // Represents raw request body as per ingestion API.
	FormDataContentType string // Set optionally, if RawData is multipart form.
	// Initializes lazily on handleRawData, if not present.
	Profile []byte // Represents raw pprof data.

	SampleTypeConfig map[string]*tree.SampleTypeConfig
}

func (*RawProfile) ContentType

func (p *RawProfile) ContentType() string

func (*RawProfile) Parse

func (*RawProfile) ParseToPprof added in v1.1.0

func (p *RawProfile) ParseToPprof(_ context.Context, md ingestion.Metadata) (res *distributormodel.PushRequest, err error)

ParseToPprof is not doing much now. It parses the profile with no processing/splitting, adds labels.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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