Documentation
¶
Index ¶
- func Decode(r io.Reader, p *tree.Profile) error
- func DecodePool(r io.Reader, fn func(*tree.Profile) error) error
- func FixFunctionIDForBrokenDotnet(profile *profilev1.Profile)
- func FixFunctionNamesForScriptingLanguages(p *pprof.Profile, md ingestion.Metadata)
- func SpyNameForFunctionNameRewrite() string
- type RawProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixFunctionIDForBrokenDotnet ¶ added in v1.1.0
func FixFunctionNamesForScriptingLanguages ¶ added in v1.1.0
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 (p *RawProfile) Parse(_ context.Context, _ storage.Putter, _ storage.MetricsExporter, md ingestion.Metadata) error
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.
Click to show internal directories.
Click to hide internal directories.