Documentation
¶
Index ¶
- func GenerateFlamegraphFlat(ctx context.Context, tracer trace.Tracer, metaStore metastore.ProfileMetaStore, ...) (*pb.Flamegraph, error)
- func GenerateFlatPprof(ctx context.Context, metaStore metastore.ProfileMetaStore, ...) (*profile.Profile, error)
- func GenerateTopTable(ctx context.Context, metaStore metastore.ProfileMetaStore, ...) (*pb.Top, error)
- type FlamegraphIterator
- type LocationStack
- type Locations
- type Query
- func (q *Query) Labels(ctx context.Context, req *pb.LabelsRequest) (*pb.LabelsResponse, error)
- func (q *Query) Query(ctx context.Context, req *pb.QueryRequest) (*pb.QueryResponse, error)
- func (q *Query) QueryRange(ctx context.Context, req *pb.QueryRangeRequest) (*pb.QueryRangeResponse, error)
- func (q *Query) Series(ctx context.Context, req *pb.SeriesRequest) (*pb.SeriesResponse, error)
- func (q *Query) Values(ctx context.Context, req *pb.ValuesRequest) (*pb.ValuesResponse, error)
- type TreeStack
- type TreeStackEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFlamegraphFlat ¶ added in v0.7.0
func GenerateFlamegraphFlat(ctx context.Context, tracer trace.Tracer, metaStore metastore.ProfileMetaStore, p profile.InstantProfile) (*pb.Flamegraph, error)
func GenerateFlatPprof ¶ added in v0.7.0
func GenerateFlatPprof(ctx context.Context, metaStore metastore.ProfileMetaStore, ip parcaprofile.InstantProfile) (*profile.Profile, error)
func GenerateTopTable ¶ added in v0.8.0
func GenerateTopTable(ctx context.Context, metaStore metastore.ProfileMetaStore, p profile.InstantProfile) (*pb.Top, error)
Types ¶
type FlamegraphIterator ¶ added in v0.7.0
type FlamegraphIterator struct {
// contains filtered or unexported fields
}
func NewFlamegraphIterator ¶ added in v0.7.0
func NewFlamegraphIterator(fgRoot *querypb.FlamegraphNode) *FlamegraphIterator
func (*FlamegraphIterator) At ¶ added in v0.7.0
func (fgi *FlamegraphIterator) At() *querypb.FlamegraphNode
func (*FlamegraphIterator) HasMore ¶ added in v0.7.0
func (fgi *FlamegraphIterator) HasMore() bool
func (*FlamegraphIterator) NextChild ¶ added in v0.7.0
func (fgi *FlamegraphIterator) NextChild() bool
func (*FlamegraphIterator) StepInto ¶ added in v0.7.0
func (fgi *FlamegraphIterator) StepInto() bool
func (*FlamegraphIterator) StepUp ¶ added in v0.7.0
func (fgi *FlamegraphIterator) StepUp()
type LocationStack ¶ added in v0.7.0
func (*LocationStack) IsEmpty ¶ added in v0.7.0
func (s *LocationStack) IsEmpty() bool
func (*LocationStack) Peek ¶ added in v0.7.0
func (s *LocationStack) Peek() *profile.Location
func (*LocationStack) Push ¶ added in v0.7.0
func (s *LocationStack) Push(e *profile.Location)
func (*LocationStack) Size ¶ added in v0.7.0
func (s *LocationStack) Size() int
func (*LocationStack) ToLocationStacktrace ¶ added in v0.7.0
func (s *LocationStack) ToLocationStacktrace() []*profile.Location
type Query ¶
type Query struct {
pb.UnimplementedQueryServiceServer
// contains filtered or unexported fields
}
Query is the read api interface for parca It implements the proto/query/query.proto APIServer interface.
func (*Query) Labels ¶
func (q *Query) Labels(ctx context.Context, req *pb.LabelsRequest) (*pb.LabelsResponse, error)
Labels issues a labels request against the storage.
func (*Query) Query ¶
func (q *Query) Query(ctx context.Context, req *pb.QueryRequest) (*pb.QueryResponse, error)
Query issues a instant query against the storage.
func (*Query) QueryRange ¶
func (q *Query) QueryRange(ctx context.Context, req *pb.QueryRangeRequest) (*pb.QueryRangeResponse, error)
QueryRange issues a range query against the storage.
func (*Query) Series ¶
func (q *Query) Series(ctx context.Context, req *pb.SeriesRequest) (*pb.SeriesResponse, error)
Series issues a series request against the storage.
func (*Query) Values ¶
func (q *Query) Values(ctx context.Context, req *pb.ValuesRequest) (*pb.ValuesResponse, error)
Values issues a values request against the storage.
type TreeStack ¶ added in v0.7.0
type TreeStack []*TreeStackEntry
func (*TreeStack) Peek ¶ added in v0.7.0
func (s *TreeStack) Peek() *TreeStackEntry
func (*TreeStack) Pop ¶ added in v0.7.0
func (s *TreeStack) Pop() (*TreeStackEntry, bool)
func (*TreeStack) Push ¶ added in v0.7.0
func (s *TreeStack) Push(e *TreeStackEntry)
type TreeStackEntry ¶ added in v0.7.0
type TreeStackEntry struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.