Documentation ¶
Index ¶
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
Click to show internal directories.
Click to hide internal directories.