Documentation
¶
Overview ¶
Package pprof provides pprof supports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { ProjectID string DialOptions []grpc.DialOption }
Options is a profile uploader option.
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
Profile is a profile entry.
func (*Profile) AddComment ¶
AddComment adds a comment to the profile.
func (*Profile) WriteTo ¶
WriteTo writes profile to w, as https://pkg.go.dev/runtime/pprof#Profile.WriteTo not https://pkg.go.dev/io#WriterTo.
type Uploader ¶
type Uploader struct {
// contains filtered or unexported fields
}
Uploader is a profile uploader.
func NewUploader ¶
NewUploader creates new profile uploader.
func (*Uploader) SetMetadata ¶
SetMetadata sets metadata to the uploader.
Click to show internal directories.
Click to hide internal directories.