queryv1alpha1

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Overview

Package queryv1alpha1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ProfileDiffSelection_Mode_name = map[int32]string{
		0: "MODE_SINGLE_UNSPECIFIED",
		1: "MODE_MERGE",
	}
	ProfileDiffSelection_Mode_value = map[string]int32{
		"MODE_SINGLE_UNSPECIFIED": 0,
		"MODE_MERGE":              1,
	}
)

Enum value maps for ProfileDiffSelection_Mode.

View Source
var (
	QueryRequest_Mode_name = map[int32]string{
		0: "MODE_SINGLE_UNSPECIFIED",
		1: "MODE_DIFF",
		2: "MODE_MERGE",
	}
	QueryRequest_Mode_value = map[string]int32{
		"MODE_SINGLE_UNSPECIFIED": 0,
		"MODE_DIFF":               1,
		"MODE_MERGE":              2,
	}
)

Enum value maps for QueryRequest_Mode.

View Source
var (
	QueryRequest_ReportType_name = map[int32]string{
		0: "REPORT_TYPE_FLAMEGRAPH_UNSPECIFIED",
		1: "REPORT_TYPE_PPROF",
		2: "REPORT_TYPE_TOP",
		3: "REPORT_TYPE_CALLGRAPH",
		4: "REPORT_TYPE_FLAMEGRAPH_TABLE",
		5: "REPORT_TYPE_FLAMEGRAPH_ARROW",
		6: "REPORT_TYPE_SOURCE",
		7: "REPORT_TYPE_TABLE_ARROW",
	}
	QueryRequest_ReportType_value = map[string]int32{
		"REPORT_TYPE_FLAMEGRAPH_UNSPECIFIED": 0,
		"REPORT_TYPE_PPROF":                  1,
		"REPORT_TYPE_TOP":                    2,
		"REPORT_TYPE_CALLGRAPH":              3,
		"REPORT_TYPE_FLAMEGRAPH_TABLE":       4,
		"REPORT_TYPE_FLAMEGRAPH_ARROW":       5,
		"REPORT_TYPE_SOURCE":                 6,
		"REPORT_TYPE_TABLE_ARROW":            7,
	}
)

Enum value maps for QueryRequest_ReportType.

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_parca_query_v1alpha1_query_proto protoreflect.FileDescriptor
View Source
var QueryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "parca.query.v1alpha1.QueryService",
	HandlerType: (*QueryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "QueryRange",
			Handler:    _QueryService_QueryRange_Handler,
		},
		{
			MethodName: "Query",
			Handler:    _QueryService_Query_Handler,
		},
		{
			MethodName: "Series",
			Handler:    _QueryService_Series_Handler,
		},
		{
			MethodName: "ProfileTypes",
			Handler:    _QueryService_ProfileTypes_Handler,
		},
		{
			MethodName: "Labels",
			Handler:    _QueryService_Labels_Handler,
		},
		{
			MethodName: "Values",
			Handler:    _QueryService_Values_Handler,
		},
		{
			MethodName: "ShareProfile",
			Handler:    _QueryService_ShareProfile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "parca/query/v1alpha1/query.proto",
}

QueryService_ServiceDesc is the grpc.ServiceDesc for QueryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterQueryServiceHandler

func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryServiceHandler registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryServiceHandlerClient

func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error

RegisterQueryServiceHandlerClient registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryServiceClient" to call the correct interceptors.

func RegisterQueryServiceHandlerFromEndpoint

func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryServiceHandlerFromEndpoint is same as RegisterQueryServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryServiceHandlerServer

func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error

RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". UnaryRPC :call QueryServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryServiceHandlerFromEndpoint instead.

func RegisterQueryServiceServer

func RegisterQueryServiceServer(s grpc.ServiceRegistrar, srv QueryServiceServer)

Types

type AfterRule

type AfterRule struct {
	Timestamp *timestamppb.Timestamp
}

AfterRule validates that the timestamp is after the given value.

func (AfterRule) Validate

func (a AfterRule) Validate(t interface{}) error

Validate runs the validation function for the AfterRule.

type Callgraph added in v0.13.0

type Callgraph struct {

	// nodes are the nodes in the callgraph
	Nodes []*CallgraphNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// edges are the edges connecting nodes in the callgraph
	Edges []*CallgraphEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
	// cumulative is the total cumulative value of the callgraph
	// Use total from the top level query response instead.
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	Cumulative int64 `protobuf:"varint,3,opt,name=cumulative,proto3" json:"cumulative,omitempty"`
	// contains filtered or unexported fields
}

Callgraph is the callgraph report type

func (*Callgraph) Descriptor deprecated added in v0.13.0

func (*Callgraph) Descriptor() ([]byte, []int)

Deprecated: Use Callgraph.ProtoReflect.Descriptor instead.

func (*Callgraph) GetCumulative deprecated added in v0.13.0

func (x *Callgraph) GetCumulative() int64

Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.

func (*Callgraph) GetEdges added in v0.13.0

func (x *Callgraph) GetEdges() []*CallgraphEdge

func (*Callgraph) GetNodes added in v0.13.0

func (x *Callgraph) GetNodes() []*CallgraphNode

func (*Callgraph) MarshalToSizedBufferVT added in v0.13.0

func (m *Callgraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Callgraph) MarshalToVT added in v0.13.0

func (m *Callgraph) MarshalToVT(dAtA []byte) (int, error)

func (*Callgraph) MarshalVT added in v0.13.0

func (m *Callgraph) MarshalVT() (dAtA []byte, err error)

func (*Callgraph) ProtoMessage added in v0.13.0

func (*Callgraph) ProtoMessage()

func (*Callgraph) ProtoReflect added in v0.13.0

func (x *Callgraph) ProtoReflect() protoreflect.Message

func (*Callgraph) Reset added in v0.13.0

func (x *Callgraph) Reset()

func (*Callgraph) SizeVT added in v0.13.0

func (m *Callgraph) SizeVT() (n int)

func (*Callgraph) String added in v0.13.0

func (x *Callgraph) String() string

func (*Callgraph) UnmarshalVT added in v0.13.0

func (m *Callgraph) UnmarshalVT(dAtA []byte) error

type CallgraphEdge added in v0.13.0

type CallgraphEdge struct {

	// id is the unique id of the edge
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// source represents the id of the source node
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// target represents the id of the target node
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// cumulative is the cumulative value of the edge
	Cumulative int64 `protobuf:"varint,4,opt,name=cumulative,proto3" json:"cumulative,omitempty"`
	// is_collapsed indicates if the edge is collapsed
	IsCollapsed bool `protobuf:"varint,5,opt,name=is_collapsed,json=isCollapsed,proto3" json:"is_collapsed,omitempty"`
	// contains filtered or unexported fields
}

CallgraphEdge represents an edge in the graph

func (*CallgraphEdge) Descriptor deprecated added in v0.13.0

func (*CallgraphEdge) Descriptor() ([]byte, []int)

Deprecated: Use CallgraphEdge.ProtoReflect.Descriptor instead.

func (*CallgraphEdge) GetCumulative added in v0.13.0

func (x *CallgraphEdge) GetCumulative() int64

func (*CallgraphEdge) GetId added in v0.13.0

func (x *CallgraphEdge) GetId() string

func (*CallgraphEdge) GetIsCollapsed added in v0.13.0

func (x *CallgraphEdge) GetIsCollapsed() bool

func (*CallgraphEdge) GetSource added in v0.13.0

func (x *CallgraphEdge) GetSource() string

func (*CallgraphEdge) GetTarget added in v0.13.0

func (x *CallgraphEdge) GetTarget() string

func (*CallgraphEdge) MarshalToSizedBufferVT added in v0.13.0

func (m *CallgraphEdge) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CallgraphEdge) MarshalToVT added in v0.13.0

func (m *CallgraphEdge) MarshalToVT(dAtA []byte) (int, error)

func (*CallgraphEdge) MarshalVT added in v0.13.0

func (m *CallgraphEdge) MarshalVT() (dAtA []byte, err error)

func (*CallgraphEdge) ProtoMessage added in v0.13.0

func (*CallgraphEdge) ProtoMessage()

func (*CallgraphEdge) ProtoReflect added in v0.13.0

func (x *CallgraphEdge) ProtoReflect() protoreflect.Message

func (*CallgraphEdge) Reset added in v0.13.0

func (x *CallgraphEdge) Reset()

func (*CallgraphEdge) SizeVT added in v0.13.0

func (m *CallgraphEdge) SizeVT() (n int)

func (*CallgraphEdge) String added in v0.13.0

func (x *CallgraphEdge) String() string

func (*CallgraphEdge) UnmarshalVT added in v0.13.0

func (m *CallgraphEdge) UnmarshalVT(dAtA []byte) error

type CallgraphNode added in v0.13.0

type CallgraphNode struct {

	// id is the unique id of the node
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// meta is the metadata about the node
	Meta *CallgraphNodeMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// cumulative is the cumulative value of the node
	Cumulative int64 `protobuf:"varint,3,opt,name=cumulative,proto3" json:"cumulative,omitempty"`
	// flat is the flat value of the node
	Flat int64 `protobuf:"varint,4,opt,name=flat,proto3" json:"flat,omitempty"`
	// contains filtered or unexported fields
}

CallgraphNode represents a node in the graph

func (*CallgraphNode) Descriptor deprecated added in v0.13.0

func (*CallgraphNode) Descriptor() ([]byte, []int)

Deprecated: Use CallgraphNode.ProtoReflect.Descriptor instead.

func (*CallgraphNode) GetCumulative added in v0.13.0

func (x *CallgraphNode) GetCumulative() int64

func (*CallgraphNode) GetFlat added in v0.14.0

func (x *CallgraphNode) GetFlat() int64

func (*CallgraphNode) GetId added in v0.13.0

func (x *CallgraphNode) GetId() string

func (*CallgraphNode) GetMeta added in v0.13.0

func (x *CallgraphNode) GetMeta() *CallgraphNodeMeta

func (*CallgraphNode) MarshalToSizedBufferVT added in v0.13.0

func (m *CallgraphNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CallgraphNode) MarshalToVT added in v0.13.0

func (m *CallgraphNode) MarshalToVT(dAtA []byte) (int, error)

func (*CallgraphNode) MarshalVT added in v0.13.0

func (m *CallgraphNode) MarshalVT() (dAtA []byte, err error)

func (*CallgraphNode) ProtoMessage added in v0.13.0

func (*CallgraphNode) ProtoMessage()

func (*CallgraphNode) ProtoReflect added in v0.13.0

func (x *CallgraphNode) ProtoReflect() protoreflect.Message

func (*CallgraphNode) Reset added in v0.13.0

func (x *CallgraphNode) Reset()

func (*CallgraphNode) SizeVT added in v0.13.0

func (m *CallgraphNode) SizeVT() (n int)

func (*CallgraphNode) String added in v0.13.0

func (x *CallgraphNode) String() string

func (*CallgraphNode) UnmarshalVT added in v0.13.0

func (m *CallgraphNode) UnmarshalVT(dAtA []byte) error

type CallgraphNodeMeta added in v0.13.0

type CallgraphNodeMeta struct {

	// location is the location for the code
	Location *v1alpha11.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// mapping is the mapping into code
	Mapping *v1alpha11.Mapping `protobuf:"bytes,2,opt,name=mapping,proto3" json:"mapping,omitempty"`
	// function is the function information
	Function *v1alpha11.Function `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"`
	// line is the line location
	Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"`
	// contains filtered or unexported fields
}

TopNodeMeta is the metadata for a given node

func (*CallgraphNodeMeta) Descriptor deprecated added in v0.13.0

func (*CallgraphNodeMeta) Descriptor() ([]byte, []int)

Deprecated: Use CallgraphNodeMeta.ProtoReflect.Descriptor instead.

func (*CallgraphNodeMeta) GetFunction added in v0.13.0

func (x *CallgraphNodeMeta) GetFunction() *v1alpha11.Function

func (*CallgraphNodeMeta) GetLine added in v0.13.0

func (x *CallgraphNodeMeta) GetLine() *v1alpha11.Line

func (*CallgraphNodeMeta) GetLocation added in v0.13.0

func (x *CallgraphNodeMeta) GetLocation() *v1alpha11.Location

func (*CallgraphNodeMeta) GetMapping added in v0.13.0

func (x *CallgraphNodeMeta) GetMapping() *v1alpha11.Mapping

func (*CallgraphNodeMeta) MarshalToSizedBufferVT added in v0.13.0

func (m *CallgraphNodeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CallgraphNodeMeta) MarshalToVT added in v0.13.0

func (m *CallgraphNodeMeta) MarshalToVT(dAtA []byte) (int, error)

func (*CallgraphNodeMeta) MarshalVT added in v0.13.0

func (m *CallgraphNodeMeta) MarshalVT() (dAtA []byte, err error)

func (*CallgraphNodeMeta) ProtoMessage added in v0.13.0

func (*CallgraphNodeMeta) ProtoMessage()

func (*CallgraphNodeMeta) ProtoReflect added in v0.13.0

func (x *CallgraphNodeMeta) ProtoReflect() protoreflect.Message

func (*CallgraphNodeMeta) Reset added in v0.13.0

func (x *CallgraphNodeMeta) Reset()

func (*CallgraphNodeMeta) SizeVT added in v0.13.0

func (m *CallgraphNodeMeta) SizeVT() (n int)

func (*CallgraphNodeMeta) String added in v0.13.0

func (x *CallgraphNodeMeta) String() string

func (*CallgraphNodeMeta) UnmarshalVT added in v0.13.0

func (m *CallgraphNodeMeta) UnmarshalVT(dAtA []byte) error

type DiffProfile

type DiffProfile struct {

	// a is the first profile to diff
	A *ProfileDiffSelection `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	// b is the second profile to diff
	B *ProfileDiffSelection `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

DiffProfile contains parameters for a profile diff request

func (*DiffProfile) Descriptor deprecated

func (*DiffProfile) Descriptor() ([]byte, []int)

Deprecated: Use DiffProfile.ProtoReflect.Descriptor instead.

func (*DiffProfile) GetA

func (x *DiffProfile) GetA() *ProfileDiffSelection

func (*DiffProfile) GetB

func (x *DiffProfile) GetB() *ProfileDiffSelection

func (*DiffProfile) MarshalToSizedBufferVT added in v0.5.0

func (m *DiffProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DiffProfile) MarshalToVT added in v0.5.0

func (m *DiffProfile) MarshalToVT(dAtA []byte) (int, error)

func (*DiffProfile) MarshalVT added in v0.5.0

func (m *DiffProfile) MarshalVT() (dAtA []byte, err error)

func (*DiffProfile) ProtoMessage

func (*DiffProfile) ProtoMessage()

func (*DiffProfile) ProtoReflect

func (x *DiffProfile) ProtoReflect() protoreflect.Message

func (*DiffProfile) Reset

func (x *DiffProfile) Reset()

func (*DiffProfile) SizeVT added in v0.5.0

func (m *DiffProfile) SizeVT() (n int)

func (*DiffProfile) String

func (x *DiffProfile) String() string

func (*DiffProfile) UnmarshalVT added in v0.5.0

func (m *DiffProfile) UnmarshalVT(dAtA []byte) error

type DiffProfileSelectionOptionMatchesRule

type DiffProfileSelectionOptionMatchesRule struct {
	// contains filtered or unexported fields
}

DiffProfileSelectionOptionMatchesRule ensure the options match the requested mode.

func (DiffProfileSelectionOptionMatchesRule) Validate

func (o DiffProfileSelectionOptionMatchesRule) Validate(v interface{}) error

Validate the option matches mode.

type DiffSelectionModeRule

type DiffSelectionModeRule struct{}

func (DiffSelectionModeRule) Validate

func (r DiffSelectionModeRule) Validate(v interface{}) error

type Flamegraph

type Flamegraph struct {

	// root is the root of the flame graph
	Root *FlamegraphRootNode `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	// total is the total weight of the flame graph
	// Use total from the top level query response instead.
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// unit is the unit represented by the flame graph
	Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
	// height is the max height of the graph
	Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	// string_table holds all deduplicated strings used in the meta data.
	StringTable []string `protobuf:"bytes,5,rep,name=string_table,json=stringTable,proto3" json:"string_table,omitempty"`
	// locations deduplicated by their ID to be referenced by nodes.
	Locations []*v1alpha11.Location `protobuf:"bytes,6,rep,name=locations,proto3" json:"locations,omitempty"`
	// mapping deduplicated by their ID to be referenced by nodes.
	Mapping []*v1alpha11.Mapping `protobuf:"bytes,7,rep,name=mapping,proto3" json:"mapping,omitempty"`
	// function deduplicated by their ID to be referenced by nodes.
	Function []*v1alpha11.Function `protobuf:"bytes,8,rep,name=function,proto3" json:"function,omitempty"`
	// untrimmed_total is the total weight of the flame graph before trimming.
	// Use trimmed instead.
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	UntrimmedTotal int64 `protobuf:"varint,9,opt,name=untrimmed_total,json=untrimmedTotal,proto3" json:"untrimmed_total,omitempty"`
	// trimmed is the amount of cumulative value trimmed from the flame graph.
	Trimmed int64 `protobuf:"varint,10,opt,name=trimmed,proto3" json:"trimmed,omitempty"`
	// contains filtered or unexported fields
}

Flamegraph is the flame graph report type

func (*Flamegraph) Descriptor deprecated

func (*Flamegraph) Descriptor() ([]byte, []int)

Deprecated: Use Flamegraph.ProtoReflect.Descriptor instead.

func (*Flamegraph) GetFunction added in v0.14.0

func (x *Flamegraph) GetFunction() []*v1alpha11.Function

func (*Flamegraph) GetHeight

func (x *Flamegraph) GetHeight() int32

func (*Flamegraph) GetLocations added in v0.14.0

func (x *Flamegraph) GetLocations() []*v1alpha11.Location

func (*Flamegraph) GetMapping added in v0.14.0

func (x *Flamegraph) GetMapping() []*v1alpha11.Mapping

func (*Flamegraph) GetRoot

func (x *Flamegraph) GetRoot() *FlamegraphRootNode

func (*Flamegraph) GetStringTable added in v0.14.0

func (x *Flamegraph) GetStringTable() []string

func (*Flamegraph) GetTotal deprecated

func (x *Flamegraph) GetTotal() int64

Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.

func (*Flamegraph) GetTrimmed added in v0.17.0

func (x *Flamegraph) GetTrimmed() int64

func (*Flamegraph) GetUnit

func (x *Flamegraph) GetUnit() string

func (*Flamegraph) GetUntrimmedTotal deprecated added in v0.16.0

func (x *Flamegraph) GetUntrimmedTotal() int64

Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.

func (*Flamegraph) MarshalToSizedBufferVT added in v0.5.0

func (m *Flamegraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Flamegraph) MarshalToVT added in v0.5.0

func (m *Flamegraph) MarshalToVT(dAtA []byte) (int, error)

func (*Flamegraph) MarshalVT added in v0.5.0

func (m *Flamegraph) MarshalVT() (dAtA []byte, err error)

func (*Flamegraph) ProtoMessage

func (*Flamegraph) ProtoMessage()

func (*Flamegraph) ProtoReflect

func (x *Flamegraph) ProtoReflect() protoreflect.Message

func (*Flamegraph) Reset

func (x *Flamegraph) Reset()

func (*Flamegraph) SizeVT added in v0.5.0

func (m *Flamegraph) SizeVT() (n int)

func (*Flamegraph) String

func (x *Flamegraph) String() string

func (*Flamegraph) UnmarshalVT added in v0.5.0

func (m *Flamegraph) UnmarshalVT(dAtA []byte) error

type FlamegraphArrow added in v0.19.0

type FlamegraphArrow struct {

	// record is the arrow record containing the actual flamegraph data
	Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	// unit is the unit represented by the flame graph
	Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
	// height is the max height of the graph
	Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// trimmed is the amount of cumulative value trimmed from the flame graph.
	Trimmed int64 `protobuf:"varint,4,opt,name=trimmed,proto3" json:"trimmed,omitempty"`
	// contains filtered or unexported fields
}

Flamegraph is the flame graph report type

func (*FlamegraphArrow) Descriptor deprecated added in v0.19.0

func (*FlamegraphArrow) Descriptor() ([]byte, []int)

Deprecated: Use FlamegraphArrow.ProtoReflect.Descriptor instead.

func (*FlamegraphArrow) GetHeight added in v0.19.0

func (x *FlamegraphArrow) GetHeight() int32

func (*FlamegraphArrow) GetRecord added in v0.19.0

func (x *FlamegraphArrow) GetRecord() []byte

func (*FlamegraphArrow) GetTrimmed added in v0.19.0

func (x *FlamegraphArrow) GetTrimmed() int64

func (*FlamegraphArrow) GetUnit added in v0.19.0

func (x *FlamegraphArrow) GetUnit() string

func (*FlamegraphArrow) MarshalToSizedBufferVT added in v0.19.0

func (m *FlamegraphArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlamegraphArrow) MarshalToVT added in v0.19.0

func (m *FlamegraphArrow) MarshalToVT(dAtA []byte) (int, error)

func (*FlamegraphArrow) MarshalVT added in v0.19.0

func (m *FlamegraphArrow) MarshalVT() (dAtA []byte, err error)

func (*FlamegraphArrow) ProtoMessage added in v0.19.0

func (*FlamegraphArrow) ProtoMessage()

func (*FlamegraphArrow) ProtoReflect added in v0.19.0

func (x *FlamegraphArrow) ProtoReflect() protoreflect.Message

func (*FlamegraphArrow) Reset added in v0.19.0

func (x *FlamegraphArrow) Reset()

func (*FlamegraphArrow) SizeVT added in v0.19.0

func (m *FlamegraphArrow) SizeVT() (n int)

func (*FlamegraphArrow) String added in v0.19.0

func (x *FlamegraphArrow) String() string

func (*FlamegraphArrow) UnmarshalVT added in v0.19.0

func (m *FlamegraphArrow) UnmarshalVT(dAtA []byte) error

type FlamegraphNode

type FlamegraphNode struct {

	// meta is the metadata about the node
	Meta *FlamegraphNodeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// cumulative is the cumulative value of the node
	Cumulative int64 `protobuf:"varint,2,opt,name=cumulative,proto3" json:"cumulative,omitempty"`
	// diff is the diff
	Diff int64 `protobuf:"varint,3,opt,name=diff,proto3" json:"diff,omitempty"`
	// children are the child nodes
	Children []*FlamegraphNode `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

FlamegraphNode represents a node in the graph

func (*FlamegraphNode) Descriptor deprecated

func (*FlamegraphNode) Descriptor() ([]byte, []int)

Deprecated: Use FlamegraphNode.ProtoReflect.Descriptor instead.

func (*FlamegraphNode) GetChildren

func (x *FlamegraphNode) GetChildren() []*FlamegraphNode

func (*FlamegraphNode) GetCumulative

func (x *FlamegraphNode) GetCumulative() int64

func (*FlamegraphNode) GetDiff

func (x *FlamegraphNode) GetDiff() int64

func (*FlamegraphNode) GetMeta

func (x *FlamegraphNode) GetMeta() *FlamegraphNodeMeta

func (*FlamegraphNode) MarshalToSizedBufferVT added in v0.5.0

func (m *FlamegraphNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlamegraphNode) MarshalToVT added in v0.5.0

func (m *FlamegraphNode) MarshalToVT(dAtA []byte) (int, error)

func (*FlamegraphNode) MarshalVT added in v0.5.0

func (m *FlamegraphNode) MarshalVT() (dAtA []byte, err error)

func (*FlamegraphNode) ProtoMessage

func (*FlamegraphNode) ProtoMessage()

func (*FlamegraphNode) ProtoReflect

func (x *FlamegraphNode) ProtoReflect() protoreflect.Message

func (*FlamegraphNode) Reset

func (x *FlamegraphNode) Reset()

func (*FlamegraphNode) SizeVT added in v0.5.0

func (m *FlamegraphNode) SizeVT() (n int)

func (*FlamegraphNode) String

func (x *FlamegraphNode) String() string

func (*FlamegraphNode) UnmarshalVT added in v0.5.0

func (m *FlamegraphNode) UnmarshalVT(dAtA []byte) error

type FlamegraphNodeMeta

type FlamegraphNodeMeta struct {

	// location is the location for the code
	Location *v1alpha11.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// mapping is the mapping into code
	Mapping *v1alpha11.Mapping `protobuf:"bytes,2,opt,name=mapping,proto3" json:"mapping,omitempty"`
	// function is the function information
	Function *v1alpha11.Function `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"`
	// line is the line location
	Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"`
	// location_index has the index to the deduplicated location in the location table.
	LocationIndex uint32 `protobuf:"varint,5,opt,name=location_index,json=locationIndex,proto3" json:"location_index,omitempty"`
	// line_index is the line index within the referenced location.
	LineIndex uint32 `protobuf:"varint,6,opt,name=line_index,json=lineIndex,proto3" json:"line_index,omitempty"`
	// contains filtered or unexported fields
}

FlamegraphNodeMeta is the metadata for a given node

func (*FlamegraphNodeMeta) Descriptor deprecated

func (*FlamegraphNodeMeta) Descriptor() ([]byte, []int)

Deprecated: Use FlamegraphNodeMeta.ProtoReflect.Descriptor instead.

func (*FlamegraphNodeMeta) GetFunction

func (x *FlamegraphNodeMeta) GetFunction() *v1alpha11.Function

func (*FlamegraphNodeMeta) GetLine

func (x *FlamegraphNodeMeta) GetLine() *v1alpha11.Line

func (*FlamegraphNodeMeta) GetLineIndex added in v0.14.0

func (x *FlamegraphNodeMeta) GetLineIndex() uint32

func (*FlamegraphNodeMeta) GetLocation

func (x *FlamegraphNodeMeta) GetLocation() *v1alpha11.Location

func (*FlamegraphNodeMeta) GetLocationIndex added in v0.14.0

func (x *FlamegraphNodeMeta) GetLocationIndex() uint32

func (*FlamegraphNodeMeta) GetMapping

func (x *FlamegraphNodeMeta) GetMapping() *v1alpha11.Mapping

func (*FlamegraphNodeMeta) MarshalToSizedBufferVT added in v0.5.0

func (m *FlamegraphNodeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlamegraphNodeMeta) MarshalToVT added in v0.5.0

func (m *FlamegraphNodeMeta) MarshalToVT(dAtA []byte) (int, error)

func (*FlamegraphNodeMeta) MarshalVT added in v0.5.0

func (m *FlamegraphNodeMeta) MarshalVT() (dAtA []byte, err error)

func (*FlamegraphNodeMeta) ProtoMessage

func (*FlamegraphNodeMeta) ProtoMessage()

func (*FlamegraphNodeMeta) ProtoReflect

func (x *FlamegraphNodeMeta) ProtoReflect() protoreflect.Message

func (*FlamegraphNodeMeta) Reset

func (x *FlamegraphNodeMeta) Reset()

func (*FlamegraphNodeMeta) SizeVT added in v0.5.0

func (m *FlamegraphNodeMeta) SizeVT() (n int)

func (*FlamegraphNodeMeta) String

func (x *FlamegraphNodeMeta) String() string

func (*FlamegraphNodeMeta) UnmarshalVT added in v0.5.0

func (m *FlamegraphNodeMeta) UnmarshalVT(dAtA []byte) error

type FlamegraphRootNode

type FlamegraphRootNode struct {

	// cumulative is the cumulative value of the graph
	Cumulative int64 `protobuf:"varint,1,opt,name=cumulative,proto3" json:"cumulative,omitempty"`
	// diff is the diff
	Diff int64 `protobuf:"varint,2,opt,name=diff,proto3" json:"diff,omitempty"`
	// children are the list of the children of the root node
	Children []*FlamegraphNode `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

FlamegraphRootNode is a root node of a flame graph

func (*FlamegraphRootNode) Descriptor deprecated

func (*FlamegraphRootNode) Descriptor() ([]byte, []int)

Deprecated: Use FlamegraphRootNode.ProtoReflect.Descriptor instead.

func (*FlamegraphRootNode) GetChildren

func (x *FlamegraphRootNode) GetChildren() []*FlamegraphNode

func (*FlamegraphRootNode) GetCumulative

func (x *FlamegraphRootNode) GetCumulative() int64

func (*FlamegraphRootNode) GetDiff

func (x *FlamegraphRootNode) GetDiff() int64

func (*FlamegraphRootNode) MarshalToSizedBufferVT added in v0.5.0

func (m *FlamegraphRootNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FlamegraphRootNode) MarshalToVT added in v0.5.0

func (m *FlamegraphRootNode) MarshalToVT(dAtA []byte) (int, error)

func (*FlamegraphRootNode) MarshalVT added in v0.5.0

func (m *FlamegraphRootNode) MarshalVT() (dAtA []byte, err error)

func (*FlamegraphRootNode) ProtoMessage

func (*FlamegraphRootNode) ProtoMessage()

func (*FlamegraphRootNode) ProtoReflect

func (x *FlamegraphRootNode) ProtoReflect() protoreflect.Message

func (*FlamegraphRootNode) Reset

func (x *FlamegraphRootNode) Reset()

func (*FlamegraphRootNode) SizeVT added in v0.5.0

func (m *FlamegraphRootNode) SizeVT() (n int)

func (*FlamegraphRootNode) String

func (x *FlamegraphRootNode) String() string

func (*FlamegraphRootNode) UnmarshalVT added in v0.5.0

func (m *FlamegraphRootNode) UnmarshalVT(dAtA []byte) error

type GroupBy added in v0.19.0

type GroupBy struct {

	// the names of the fields to group by.
	// special fields are the ones prefixed with "labels." which are grouping by pprof labels.
	Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

GroupBy encapsulates the repeated fields to group by

func (*GroupBy) Descriptor deprecated added in v0.19.0

func (*GroupBy) Descriptor() ([]byte, []int)

Deprecated: Use GroupBy.ProtoReflect.Descriptor instead.

func (*GroupBy) GetFields added in v0.19.0

func (x *GroupBy) GetFields() []string

func (*GroupBy) MarshalToSizedBufferVT added in v0.19.0

func (m *GroupBy) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GroupBy) MarshalToVT added in v0.19.0

func (m *GroupBy) MarshalToVT(dAtA []byte) (int, error)

func (*GroupBy) MarshalVT added in v0.19.0

func (m *GroupBy) MarshalVT() (dAtA []byte, err error)

func (*GroupBy) ProtoMessage added in v0.19.0

func (*GroupBy) ProtoMessage()

func (*GroupBy) ProtoReflect added in v0.19.0

func (x *GroupBy) ProtoReflect() protoreflect.Message

func (*GroupBy) Reset added in v0.19.0

func (x *GroupBy) Reset()

func (*GroupBy) SizeVT added in v0.19.0

func (m *GroupBy) SizeVT() (n int)

func (*GroupBy) String added in v0.19.0

func (x *GroupBy) String() string

func (*GroupBy) UnmarshalVT added in v0.19.0

func (m *GroupBy) UnmarshalVT(dAtA []byte) error

type LabelsRequest

type LabelsRequest struct {

	// match are the set of matching strings
	Match []string `protobuf:"bytes,1,rep,name=match,proto3" json:"match,omitempty"`
	// start is the start of the time window to perform the query
	Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	// end is the end of the time window to perform the query
	End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

LabelsRequest are the request values for labels

func (*LabelsRequest) Descriptor deprecated

func (*LabelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use LabelsRequest.ProtoReflect.Descriptor instead.

func (*LabelsRequest) GetEnd

func (x *LabelsRequest) GetEnd() *timestamppb.Timestamp

func (*LabelsRequest) GetMatch

func (x *LabelsRequest) GetMatch() []string

func (*LabelsRequest) GetStart

func (x *LabelsRequest) GetStart() *timestamppb.Timestamp

func (*LabelsRequest) MarshalToSizedBufferVT added in v0.5.0

func (m *LabelsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LabelsRequest) MarshalToVT added in v0.5.0

func (m *LabelsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*LabelsRequest) MarshalVT added in v0.5.0

func (m *LabelsRequest) MarshalVT() (dAtA []byte, err error)

func (*LabelsRequest) ProtoMessage

func (*LabelsRequest) ProtoMessage()

func (*LabelsRequest) ProtoReflect

func (x *LabelsRequest) ProtoReflect() protoreflect.Message

func (*LabelsRequest) Reset

func (x *LabelsRequest) Reset()

func (*LabelsRequest) SizeVT added in v0.5.0

func (m *LabelsRequest) SizeVT() (n int)

func (*LabelsRequest) String

func (x *LabelsRequest) String() string

func (*LabelsRequest) UnmarshalVT added in v0.5.0

func (m *LabelsRequest) UnmarshalVT(dAtA []byte) error

type LabelsResponse

type LabelsResponse struct {

	// / label_names are the set of matching label names
	LabelNames []string `protobuf:"bytes,1,rep,name=label_names,json=labelNames,proto3" json:"label_names,omitempty"`
	// warnings is unimplemented
	Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

LabelsResponse is the set of matching label names

func (*LabelsResponse) Descriptor deprecated

func (*LabelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use LabelsResponse.ProtoReflect.Descriptor instead.

func (*LabelsResponse) GetLabelNames

func (x *LabelsResponse) GetLabelNames() []string

func (*LabelsResponse) GetWarnings

func (x *LabelsResponse) GetWarnings() []string

func (*LabelsResponse) MarshalToSizedBufferVT added in v0.5.0

func (m *LabelsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LabelsResponse) MarshalToVT added in v0.5.0

func (m *LabelsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*LabelsResponse) MarshalVT added in v0.5.0

func (m *LabelsResponse) MarshalVT() (dAtA []byte, err error)

func (*LabelsResponse) ProtoMessage

func (*LabelsResponse) ProtoMessage()

func (*LabelsResponse) ProtoReflect

func (x *LabelsResponse) ProtoReflect() protoreflect.Message

func (*LabelsResponse) Reset

func (x *LabelsResponse) Reset()

func (*LabelsResponse) SizeVT added in v0.5.0

func (m *LabelsResponse) SizeVT() (n int)

func (*LabelsResponse) String

func (x *LabelsResponse) String() string

func (*LabelsResponse) UnmarshalVT added in v0.5.0

func (m *LabelsResponse) UnmarshalVT(dAtA []byte) error

type MergeProfile

type MergeProfile struct {

	// query is the query string to match profiles for merge
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// start is the beginning of the evaluation time window
	Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	// end is the end of the evaluation time window
	End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

MergeProfile contains parameters for a merge request

func (*MergeProfile) Descriptor deprecated

func (*MergeProfile) Descriptor() ([]byte, []int)

Deprecated: Use MergeProfile.ProtoReflect.Descriptor instead.

func (*MergeProfile) GetEnd

func (x *MergeProfile) GetEnd() *timestamppb.Timestamp

func (*MergeProfile) GetQuery

func (x *MergeProfile) GetQuery() string

func (*MergeProfile) GetStart

func (x *MergeProfile) GetStart() *timestamppb.Timestamp

func (*MergeProfile) MarshalToSizedBufferVT added in v0.5.0

func (m *MergeProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MergeProfile) MarshalToVT added in v0.5.0

func (m *MergeProfile) MarshalToVT(dAtA []byte) (int, error)

func (*MergeProfile) MarshalVT added in v0.5.0

func (m *MergeProfile) MarshalVT() (dAtA []byte, err error)

func (*MergeProfile) ProtoMessage

func (*MergeProfile) ProtoMessage()

func (*MergeProfile) ProtoReflect

func (x *MergeProfile) ProtoReflect() protoreflect.Message

func (*MergeProfile) Reset

func (x *MergeProfile) Reset()

func (*MergeProfile) SizeVT added in v0.5.0

func (m *MergeProfile) SizeVT() (n int)

func (*MergeProfile) String

func (x *MergeProfile) String() string

func (*MergeProfile) UnmarshalVT added in v0.5.0

func (m *MergeProfile) UnmarshalVT(dAtA []byte) error

type MetricsSample

type MetricsSample struct {

	// timestamp is the time the profile was ingested
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// value is the cumulative value for the profile
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// value_per_second is the calculated per second average in the steps duration
	ValuePerSecond float64 `protobuf:"fixed64,3,opt,name=value_per_second,json=valuePerSecond,proto3" json:"value_per_second,omitempty"`
	// duration is the normalized aggregated duration the metric samples has been observed over.
	Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

MetricsSample is a cumulative value and timestamp of a profile

func (*MetricsSample) Descriptor deprecated

func (*MetricsSample) Descriptor() ([]byte, []int)

Deprecated: Use MetricsSample.ProtoReflect.Descriptor instead.

func (*MetricsSample) GetDuration added in v0.17.0

func (x *MetricsSample) GetDuration() int64

func (*MetricsSample) GetTimestamp

func (x *MetricsSample) GetTimestamp() *timestamppb.Timestamp

func (*MetricsSample) GetValue

func (x *MetricsSample) GetValue() int64

func (*MetricsSample) GetValuePerSecond added in v0.16.0

func (x *MetricsSample) GetValuePerSecond() float64

func (*MetricsSample) MarshalToSizedBufferVT added in v0.5.0

func (m *MetricsSample) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MetricsSample) MarshalToVT added in v0.5.0

func (m *MetricsSample) MarshalToVT(dAtA []byte) (int, error)

func (*MetricsSample) MarshalVT added in v0.5.0

func (m *MetricsSample) MarshalVT() (dAtA []byte, err error)

func (*MetricsSample) ProtoMessage

func (*MetricsSample) ProtoMessage()

func (*MetricsSample) ProtoReflect

func (x *MetricsSample) ProtoReflect() protoreflect.Message

func (*MetricsSample) Reset

func (x *MetricsSample) Reset()

func (*MetricsSample) SizeVT added in v0.5.0

func (m *MetricsSample) SizeVT() (n int)

func (*MetricsSample) String

func (x *MetricsSample) String() string

func (*MetricsSample) UnmarshalVT added in v0.5.0

func (m *MetricsSample) UnmarshalVT(dAtA []byte) error

type MetricsSeries

type MetricsSeries struct {

	// labelset is the set of key value pairs
	Labelset *v1alpha1.LabelSet `protobuf:"bytes,1,opt,name=labelset,proto3" json:"labelset,omitempty"`
	// samples is the set of top-level cumulative values of the corresponding profiles
	Samples []*MetricsSample `protobuf:"bytes,2,rep,name=samples,proto3" json:"samples,omitempty"`
	// period_type is the value type of profile period
	PeriodType *ValueType `protobuf:"bytes,3,opt,name=period_type,json=periodType,proto3" json:"period_type,omitempty"`
	// sample_type is the value type of profile sample
	SampleType *ValueType `protobuf:"bytes,4,opt,name=sample_type,json=sampleType,proto3" json:"sample_type,omitempty"`
	// contains filtered or unexported fields
}

MetricsSeries is a set of labels and corresponding sample values

func (*MetricsSeries) Descriptor deprecated

func (*MetricsSeries) Descriptor() ([]byte, []int)

Deprecated: Use MetricsSeries.ProtoReflect.Descriptor instead.

func (*MetricsSeries) GetLabelset

func (x *MetricsSeries) GetLabelset() *v1alpha1.LabelSet

func (*MetricsSeries) GetPeriodType added in v0.4.0

func (x *MetricsSeries) GetPeriodType() *ValueType

func (*MetricsSeries) GetSampleType added in v0.4.0

func (x *MetricsSeries) GetSampleType() *ValueType

func (*MetricsSeries) GetSamples

func (x *MetricsSeries) GetSamples() []*MetricsSample

func (*MetricsSeries) MarshalToSizedBufferVT added in v0.5.0

func (m *MetricsSeries) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MetricsSeries) MarshalToVT added in v0.5.0

func (m *MetricsSeries) MarshalToVT(dAtA []byte) (int, error)

func (*MetricsSeries) MarshalVT added in v0.5.0

func (m *MetricsSeries) MarshalVT() (dAtA []byte, err error)

func (*MetricsSeries) ProtoMessage

func (*MetricsSeries) ProtoMessage()

func (*MetricsSeries) ProtoReflect

func (x *MetricsSeries) ProtoReflect() protoreflect.Message

func (*MetricsSeries) Reset

func (x *MetricsSeries) Reset()

func (*MetricsSeries) SizeVT added in v0.5.0

func (m *MetricsSeries) SizeVT() (n int)

func (*MetricsSeries) String

func (x *MetricsSeries) String() string

func (*MetricsSeries) UnmarshalVT added in v0.5.0

func (m *MetricsSeries) UnmarshalVT(dAtA []byte) error

type ProfileDiffSelection

type ProfileDiffSelection struct {

	// mode is the selection of the diff mode
	Mode ProfileDiffSelection_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=parca.query.v1alpha1.ProfileDiffSelection_Mode" json:"mode,omitempty"`
	// options are the available options for a diff selection
	//
	// Types that are assignable to Options:
	//
	//	*ProfileDiffSelection_Merge
	//	*ProfileDiffSelection_Single
	Options isProfileDiffSelection_Options `protobuf_oneof:"options"`
	// contains filtered or unexported fields
}

ProfileDiffSelection contains the parameters of a diff selection

func (*ProfileDiffSelection) Descriptor deprecated

func (*ProfileDiffSelection) Descriptor() ([]byte, []int)

Deprecated: Use ProfileDiffSelection.ProtoReflect.Descriptor instead.

func (*ProfileDiffSelection) GetMerge

func (x *ProfileDiffSelection) GetMerge() *MergeProfile

func (*ProfileDiffSelection) GetMode

func (*ProfileDiffSelection) GetOptions

func (m *ProfileDiffSelection) GetOptions() isProfileDiffSelection_Options

func (*ProfileDiffSelection) GetSingle

func (x *ProfileDiffSelection) GetSingle() *SingleProfile

func (*ProfileDiffSelection) MarshalToSizedBufferVT added in v0.5.0

func (m *ProfileDiffSelection) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ProfileDiffSelection) MarshalToVT added in v0.5.0

func (m *ProfileDiffSelection) MarshalToVT(dAtA []byte) (int, error)

func (*ProfileDiffSelection) MarshalVT added in v0.5.0

func (m *ProfileDiffSelection) MarshalVT() (dAtA []byte, err error)

func (*ProfileDiffSelection) ProtoMessage

func (*ProfileDiffSelection) ProtoMessage()

func (*ProfileDiffSelection) ProtoReflect

func (x *ProfileDiffSelection) ProtoReflect() protoreflect.Message

func (*ProfileDiffSelection) Reset

func (x *ProfileDiffSelection) Reset()

func (*ProfileDiffSelection) SizeVT added in v0.5.0

func (m *ProfileDiffSelection) SizeVT() (n int)

func (*ProfileDiffSelection) String

func (x *ProfileDiffSelection) String() string

func (*ProfileDiffSelection) UnmarshalVT added in v0.5.0

func (m *ProfileDiffSelection) UnmarshalVT(dAtA []byte) error

type ProfileDiffSelection_Merge

type ProfileDiffSelection_Merge struct {
	// merge contains options for a merge request
	Merge *MergeProfile `protobuf:"bytes,2,opt,name=merge,proto3,oneof"`
}

func (*ProfileDiffSelection_Merge) MarshalToSizedBufferVT added in v0.5.0

func (m *ProfileDiffSelection_Merge) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ProfileDiffSelection_Merge) MarshalToVT added in v0.5.0

func (m *ProfileDiffSelection_Merge) MarshalToVT(dAtA []byte) (int, error)

func (*ProfileDiffSelection_Merge) SizeVT added in v0.5.0

func (m *ProfileDiffSelection_Merge) SizeVT() (n int)

type ProfileDiffSelection_Mode

type ProfileDiffSelection_Mode int32

Mode specifies the type of diff

const (
	// MODE_SINGLE_UNSPECIFIED default unspecified
	ProfileDiffSelection_MODE_SINGLE_UNSPECIFIED ProfileDiffSelection_Mode = 0
	// MODE_MERGE merge profile
	ProfileDiffSelection_MODE_MERGE ProfileDiffSelection_Mode = 1
)

func (ProfileDiffSelection_Mode) Descriptor

func (ProfileDiffSelection_Mode) Enum

func (ProfileDiffSelection_Mode) EnumDescriptor deprecated

func (ProfileDiffSelection_Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProfileDiffSelection_Mode.Descriptor instead.

func (ProfileDiffSelection_Mode) Number

func (ProfileDiffSelection_Mode) String

func (x ProfileDiffSelection_Mode) String() string

func (ProfileDiffSelection_Mode) Type

type ProfileDiffSelection_Single

type ProfileDiffSelection_Single struct {
	// single contains options for a single profile request
	Single *SingleProfile `protobuf:"bytes,3,opt,name=single,proto3,oneof"`
}

func (*ProfileDiffSelection_Single) MarshalToSizedBufferVT added in v0.5.0

func (m *ProfileDiffSelection_Single) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ProfileDiffSelection_Single) MarshalToVT added in v0.5.0

func (m *ProfileDiffSelection_Single) MarshalToVT(dAtA []byte) (int, error)

func (*ProfileDiffSelection_Single) SizeVT added in v0.5.0

func (m *ProfileDiffSelection_Single) SizeVT() (n int)

type ProfileOptionMatchesRule

type ProfileOptionMatchesRule struct {
	// contains filtered or unexported fields
}

ProfileOptionMatchesRule ensure the options match the requested mode.

func (ProfileOptionMatchesRule) Validate

func (o ProfileOptionMatchesRule) Validate(v interface{}) error

Validate the option matches mode.

type ProfileType added in v0.11.0

type ProfileType struct {

	// name is the name of the profile type.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// sample_type is the type of the samples in the profile.
	SampleType string `protobuf:"bytes,2,opt,name=sample_type,json=sampleType,proto3" json:"sample_type,omitempty"`
	// sample_unit is the unit of the samples in the profile.
	SampleUnit string `protobuf:"bytes,3,opt,name=sample_unit,json=sampleUnit,proto3" json:"sample_unit,omitempty"`
	// period_type is the type of the periods in the profile.
	PeriodType string `protobuf:"bytes,4,opt,name=period_type,json=periodType,proto3" json:"period_type,omitempty"`
	// period_unit is the unit of the periods in the profile.
	PeriodUnit string `protobuf:"bytes,5,opt,name=period_unit,json=periodUnit,proto3" json:"period_unit,omitempty"`
	// delta describes whether the profile is a delta profile.
	Delta bool `protobuf:"varint,6,opt,name=delta,proto3" json:"delta,omitempty"`
	// contains filtered or unexported fields
}

ProfileType is the type of a profile as well as the units the profile type is available in.

func (*ProfileType) Descriptor deprecated added in v0.11.0

func (*ProfileType) Descriptor() ([]byte, []int)

Deprecated: Use ProfileType.ProtoReflect.Descriptor instead.

func (*ProfileType) GetDelta added in v0.11.0

func (x *ProfileType) GetDelta() bool

func (*ProfileType) GetName added in v0.11.0

func (x *ProfileType) GetName() string

func (*ProfileType) GetPeriodType added in v0.11.0

func (x *ProfileType) GetPeriodType() string

func (*ProfileType) GetPeriodUnit added in v0.11.0

func (x *ProfileType) GetPeriodUnit() string

func (*ProfileType) GetSampleType added in v0.11.0

func (x *ProfileType) GetSampleType() string

func (*ProfileType) GetSampleUnit added in v0.11.0

func (x *ProfileType) GetSampleUnit() string

func (*ProfileType) MarshalToSizedBufferVT added in v0.11.0

func (m *ProfileType) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ProfileType) MarshalToVT added in v0.11.0

func (m *ProfileType) MarshalToVT(dAtA []byte) (int, error)

func (*ProfileType) MarshalVT added in v0.11.0

func (m *ProfileType) MarshalVT() (dAtA []byte, err error)

func (*ProfileType) ProtoMessage added in v0.11.0

func (*ProfileType) ProtoMessage()

func (*ProfileType) ProtoReflect added in v0.11.0

func (x *ProfileType) ProtoReflect() protoreflect.Message

func (*ProfileType) Reset added in v0.11.0

func (x *ProfileType) Reset()

func (*ProfileType) SizeVT added in v0.11.0

func (m *ProfileType) SizeVT() (n int)

func (*ProfileType) String added in v0.11.0

func (x *ProfileType) String() string

func (*ProfileType) UnmarshalVT added in v0.11.0

func (m *ProfileType) UnmarshalVT(dAtA []byte) error

type ProfileTypesRequest added in v0.11.0

type ProfileTypesRequest struct {
	// contains filtered or unexported fields
}

ProfileTypesRequest is the request to retrieve the list of available profile types.

func (*ProfileTypesRequest) Descriptor deprecated added in v0.11.0

func (*ProfileTypesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProfileTypesRequest.ProtoReflect.Descriptor instead.

func (*ProfileTypesRequest) MarshalToSizedBufferVT added in v0.11.0

func (m *ProfileTypesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ProfileTypesRequest) MarshalToVT added in v0.11.0

func (m *ProfileTypesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ProfileTypesRequest) MarshalVT added in v0.11.0

func (m *ProfileTypesRequest) MarshalVT() (dAtA []byte, err error)

func (*ProfileTypesRequest) ProtoMessage added in v0.11.0

func (*ProfileTypesRequest) ProtoMessage()

func (*ProfileTypesRequest) ProtoReflect added in v0.11.0

func (x *ProfileTypesRequest) ProtoReflect() protoreflect.Message

func (*ProfileTypesRequest) Reset added in v0.11.0

func (x *ProfileTypesRequest) Reset()

func (*ProfileTypesRequest) SizeVT added in v0.11.0

func (m *ProfileTypesRequest) SizeVT() (n int)

func (*ProfileTypesRequest) String added in v0.11.0

func (x *ProfileTypesRequest) String() string

func (*ProfileTypesRequest) UnmarshalVT added in v0.11.0

func (m *ProfileTypesRequest) UnmarshalVT(dAtA []byte) error

type ProfileTypesResponse added in v0.11.0

type ProfileTypesResponse struct {

	// types is the list of available profile types.
	Types []*ProfileType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"`
	// contains filtered or unexported fields
}

ProfileTypesResponse is the response to retrieve the list of available profile types.

func (*ProfileTypesResponse) Descriptor deprecated added in v0.11.0

func (*ProfileTypesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProfileTypesResponse.ProtoReflect.Descriptor instead.

func (*ProfileTypesResponse) GetTypes added in v0.11.0

func (x *ProfileTypesResponse) GetTypes() []*ProfileType

func (*ProfileTypesResponse) MarshalToSizedBufferVT added in v0.11.0

func (m *ProfileTypesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ProfileTypesResponse) MarshalToVT added in v0.11.0

func (m *ProfileTypesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ProfileTypesResponse) MarshalVT added in v0.11.0

func (m *ProfileTypesResponse) MarshalVT() (dAtA []byte, err error)

func (*ProfileTypesResponse) ProtoMessage added in v0.11.0

func (*ProfileTypesResponse) ProtoMessage()

func (*ProfileTypesResponse) ProtoReflect added in v0.11.0

func (x *ProfileTypesResponse) ProtoReflect() protoreflect.Message

func (*ProfileTypesResponse) Reset added in v0.11.0

func (x *ProfileTypesResponse) Reset()

func (*ProfileTypesResponse) SizeVT added in v0.11.0

func (m *ProfileTypesResponse) SizeVT() (n int)

func (*ProfileTypesResponse) String added in v0.11.0

func (x *ProfileTypesResponse) String() string

func (*ProfileTypesResponse) UnmarshalVT added in v0.11.0

func (m *ProfileTypesResponse) UnmarshalVT(dAtA []byte) error

type QueryModeRule

type QueryModeRule struct{}

func (QueryModeRule) Validate

func (r QueryModeRule) Validate(v interface{}) error

type QueryRangeRequest

type QueryRangeRequest struct {

	// query is the query string to match profiles against
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// start is the start of the query time window
	Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	// end is the end of the query time window
	End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	// limit is the max number of profiles to include in the response
	Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// step is the duration of each sample returned.
	Step *durationpb.Duration `protobuf:"bytes,5,opt,name=step,proto3" json:"step,omitempty"`
	// contains filtered or unexported fields
}

QueryRangeRequest is the request for a set of profiles matching a query over a time window

func (*QueryRangeRequest) Descriptor deprecated

func (*QueryRangeRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryRangeRequest.ProtoReflect.Descriptor instead.

func (*QueryRangeRequest) GetEnd

func (*QueryRangeRequest) GetLimit

func (x *QueryRangeRequest) GetLimit() uint32

func (*QueryRangeRequest) GetQuery

func (x *QueryRangeRequest) GetQuery() string

func (*QueryRangeRequest) GetStart

func (x *QueryRangeRequest) GetStart() *timestamppb.Timestamp

func (*QueryRangeRequest) GetStep added in v0.16.0

func (x *QueryRangeRequest) GetStep() *durationpb.Duration

func (*QueryRangeRequest) MarshalToSizedBufferVT added in v0.5.0

func (m *QueryRangeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryRangeRequest) MarshalToVT added in v0.5.0

func (m *QueryRangeRequest) MarshalToVT(dAtA []byte) (int, error)

func (*QueryRangeRequest) MarshalVT added in v0.5.0

func (m *QueryRangeRequest) MarshalVT() (dAtA []byte, err error)

func (*QueryRangeRequest) ProtoMessage

func (*QueryRangeRequest) ProtoMessage()

func (*QueryRangeRequest) ProtoReflect

func (x *QueryRangeRequest) ProtoReflect() protoreflect.Message

func (*QueryRangeRequest) Reset

func (x *QueryRangeRequest) Reset()

func (*QueryRangeRequest) SizeVT added in v0.5.0

func (m *QueryRangeRequest) SizeVT() (n int)

func (*QueryRangeRequest) String

func (x *QueryRangeRequest) String() string

func (*QueryRangeRequest) UnmarshalVT added in v0.5.0

func (m *QueryRangeRequest) UnmarshalVT(dAtA []byte) error

func (*QueryRangeRequest) Validate

func (r *QueryRangeRequest) Validate() error

Validate the QueryRangeRequest.

type QueryRangeResponse

type QueryRangeResponse struct {

	// series is the set of metrics series that satisfy the query range request
	Series []*MetricsSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"`
	// contains filtered or unexported fields
}

QueryRangeResponse is the set of matching profile values

func (*QueryRangeResponse) Descriptor deprecated

func (*QueryRangeResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryRangeResponse.ProtoReflect.Descriptor instead.

func (*QueryRangeResponse) GetSeries

func (x *QueryRangeResponse) GetSeries() []*MetricsSeries

func (*QueryRangeResponse) MarshalToSizedBufferVT added in v0.5.0

func (m *QueryRangeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryRangeResponse) MarshalToVT added in v0.5.0

func (m *QueryRangeResponse) MarshalToVT(dAtA []byte) (int, error)

func (*QueryRangeResponse) MarshalVT added in v0.5.0

func (m *QueryRangeResponse) MarshalVT() (dAtA []byte, err error)

func (*QueryRangeResponse) ProtoMessage

func (*QueryRangeResponse) ProtoMessage()

func (*QueryRangeResponse) ProtoReflect

func (x *QueryRangeResponse) ProtoReflect() protoreflect.Message

func (*QueryRangeResponse) Reset

func (x *QueryRangeResponse) Reset()

func (*QueryRangeResponse) SizeVT added in v0.5.0

func (m *QueryRangeResponse) SizeVT() (n int)

func (*QueryRangeResponse) String

func (x *QueryRangeResponse) String() string

func (*QueryRangeResponse) UnmarshalVT added in v0.5.0

func (m *QueryRangeResponse) UnmarshalVT(dAtA []byte) error

type QueryRequest

type QueryRequest struct {

	// mode indicates the type of query performed
	Mode QueryRequest_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=parca.query.v1alpha1.QueryRequest_Mode" json:"mode,omitempty"`
	// options are the options corresponding to the mode
	//
	// Types that are assignable to Options:
	//
	//	*QueryRequest_Diff
	//	*QueryRequest_Merge
	//	*QueryRequest_Single
	Options isQueryRequest_Options `protobuf_oneof:"options"`
	// report_type is the type of report to return
	ReportType QueryRequest_ReportType `` /* 142-byte string literal not displayed */
	// filter_query is the query string to filter the profile samples
	FilterQuery *string `protobuf:"bytes,6,opt,name=filter_query,json=filterQuery,proto3,oneof" json:"filter_query,omitempty"`
	// node_trim_threshold is the threshold % where the nodes with Value less than this will be removed from the report
	NodeTrimThreshold *float32 `protobuf:"fixed32,7,opt,name=node_trim_threshold,json=nodeTrimThreshold,proto3,oneof" json:"node_trim_threshold,omitempty"`
	// group_by indicates the fields to group by
	GroupBy *GroupBy `protobuf:"bytes,8,opt,name=group_by,json=groupBy,proto3,oneof" json:"group_by,omitempty"`
	// source information about the source requested, required if source report is requested
	SourceReference *SourceReference `protobuf:"bytes,9,opt,name=source_reference,json=sourceReference,proto3,oneof" json:"source_reference,omitempty"`
	// which runtime frames to filter out, often interpreter frames like python or ruby are not super useful by default
	RuntimeFilter *RuntimeFilter `protobuf:"bytes,10,opt,name=runtime_filter,json=runtimeFilter,proto3,oneof" json:"runtime_filter,omitempty"`
	// contains filtered or unexported fields
}

QueryRequest is a request for a profile query

func (*QueryRequest) Descriptor deprecated

func (*QueryRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.

func (*QueryRequest) GetDiff

func (x *QueryRequest) GetDiff() *DiffProfile

func (*QueryRequest) GetFilterQuery added in v0.15.0

func (x *QueryRequest) GetFilterQuery() string

func (*QueryRequest) GetGroupBy added in v0.19.0

func (x *QueryRequest) GetGroupBy() *GroupBy

func (*QueryRequest) GetMerge

func (x *QueryRequest) GetMerge() *MergeProfile

func (*QueryRequest) GetMode

func (x *QueryRequest) GetMode() QueryRequest_Mode

func (*QueryRequest) GetNodeTrimThreshold added in v0.16.0

func (x *QueryRequest) GetNodeTrimThreshold() float32

func (*QueryRequest) GetOptions

func (m *QueryRequest) GetOptions() isQueryRequest_Options

func (*QueryRequest) GetReportType

func (x *QueryRequest) GetReportType() QueryRequest_ReportType

func (*QueryRequest) GetRuntimeFilter added in v0.21.0

func (x *QueryRequest) GetRuntimeFilter() *RuntimeFilter

func (*QueryRequest) GetSingle

func (x *QueryRequest) GetSingle() *SingleProfile

func (*QueryRequest) GetSourceReference added in v0.19.0

func (x *QueryRequest) GetSourceReference() *SourceReference

func (*QueryRequest) MarshalToSizedBufferVT added in v0.5.0

func (m *QueryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryRequest) MarshalToVT added in v0.5.0

func (m *QueryRequest) MarshalToVT(dAtA []byte) (int, error)

func (*QueryRequest) MarshalVT added in v0.5.0

func (m *QueryRequest) MarshalVT() (dAtA []byte, err error)

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) ProtoReflect

func (x *QueryRequest) ProtoReflect() protoreflect.Message

func (*QueryRequest) Reset

func (x *QueryRequest) Reset()

func (*QueryRequest) SizeVT added in v0.5.0

func (m *QueryRequest) SizeVT() (n int)

func (*QueryRequest) String

func (x *QueryRequest) String() string

func (*QueryRequest) UnmarshalVT added in v0.5.0

func (m *QueryRequest) UnmarshalVT(dAtA []byte) error

func (*QueryRequest) Validate

func (r *QueryRequest) Validate() error

Validate the QueryRequest.

type QueryRequest_Diff

type QueryRequest_Diff struct {
	// diff contains the diff query options
	Diff *DiffProfile `protobuf:"bytes,2,opt,name=diff,proto3,oneof"`
}

func (*QueryRequest_Diff) MarshalToSizedBufferVT added in v0.5.0

func (m *QueryRequest_Diff) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryRequest_Diff) MarshalToVT added in v0.5.0

func (m *QueryRequest_Diff) MarshalToVT(dAtA []byte) (int, error)

func (*QueryRequest_Diff) SizeVT added in v0.5.0

func (m *QueryRequest_Diff) SizeVT() (n int)

type QueryRequest_Merge

type QueryRequest_Merge struct {
	// merge contains the merge query options
	Merge *MergeProfile `protobuf:"bytes,3,opt,name=merge,proto3,oneof"`
}

func (*QueryRequest_Merge) MarshalToSizedBufferVT added in v0.5.0

func (m *QueryRequest_Merge) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryRequest_Merge) MarshalToVT added in v0.5.0

func (m *QueryRequest_Merge) MarshalToVT(dAtA []byte) (int, error)

func (*QueryRequest_Merge) SizeVT added in v0.5.0

func (m *QueryRequest_Merge) SizeVT() (n int)

type QueryRequest_Mode

type QueryRequest_Mode int32

Mode is the type of query request

const (
	// MODE_SINGLE_UNSPECIFIED query unspecified
	QueryRequest_MODE_SINGLE_UNSPECIFIED QueryRequest_Mode = 0
	// MODE_DIFF is a diff query
	QueryRequest_MODE_DIFF QueryRequest_Mode = 1
	// MODE_MERGE is a merge query
	QueryRequest_MODE_MERGE QueryRequest_Mode = 2
)

func (QueryRequest_Mode) Descriptor

func (QueryRequest_Mode) Enum

func (QueryRequest_Mode) EnumDescriptor deprecated

func (QueryRequest_Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueryRequest_Mode.Descriptor instead.

func (QueryRequest_Mode) Number

func (QueryRequest_Mode) String

func (x QueryRequest_Mode) String() string

func (QueryRequest_Mode) Type

type QueryRequest_ReportType

type QueryRequest_ReportType int32

ReportType is the type of report to return

const (
	// REPORT_TYPE_FLAMEGRAPH_UNSPECIFIED unspecified
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	QueryRequest_REPORT_TYPE_FLAMEGRAPH_UNSPECIFIED QueryRequest_ReportType = 0
	// REPORT_TYPE_PPROF unspecified
	QueryRequest_REPORT_TYPE_PPROF QueryRequest_ReportType = 1
	// REPORT_TYPE_TOP unspecified
	QueryRequest_REPORT_TYPE_TOP QueryRequest_ReportType = 2
	// REPORT_TYPE_CALLGRAPH unspecified
	QueryRequest_REPORT_TYPE_CALLGRAPH QueryRequest_ReportType = 3
	// REPORT_TYPE_FLAMEGRAPH_TABLE unspecified
	QueryRequest_REPORT_TYPE_FLAMEGRAPH_TABLE QueryRequest_ReportType = 4
	// REPORT_TYPE_FLAMEGRAPH_ARROW unspecified
	QueryRequest_REPORT_TYPE_FLAMEGRAPH_ARROW QueryRequest_ReportType = 5
	// REPORT_TYPE_SOURCE contains source code annotated with profiling information
	QueryRequest_REPORT_TYPE_SOURCE QueryRequest_ReportType = 6
	// REPORT_TYPE_TABLE_ARROW unspecified
	QueryRequest_REPORT_TYPE_TABLE_ARROW QueryRequest_ReportType = 7
)

func (QueryRequest_ReportType) Descriptor

func (QueryRequest_ReportType) Enum

func (QueryRequest_ReportType) EnumDescriptor deprecated

func (QueryRequest_ReportType) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueryRequest_ReportType.Descriptor instead.

func (QueryRequest_ReportType) Number

func (QueryRequest_ReportType) String

func (x QueryRequest_ReportType) String() string

func (QueryRequest_ReportType) Type

type QueryRequest_Single

type QueryRequest_Single struct {
	// single contains the single query options
	Single *SingleProfile `protobuf:"bytes,4,opt,name=single,proto3,oneof"`
}

func (*QueryRequest_Single) MarshalToSizedBufferVT added in v0.5.0

func (m *QueryRequest_Single) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryRequest_Single) MarshalToVT added in v0.5.0

func (m *QueryRequest_Single) MarshalToVT(dAtA []byte) (int, error)

func (*QueryRequest_Single) SizeVT added in v0.5.0

func (m *QueryRequest_Single) SizeVT() (n int)

type QueryResponse

type QueryResponse struct {

	// report is the generated report
	//
	// Types that are assignable to Report:
	//
	//	*QueryResponse_Flamegraph
	//	*QueryResponse_Pprof
	//	*QueryResponse_Top
	//	*QueryResponse_Callgraph
	//	*QueryResponse_FlamegraphArrow
	//	*QueryResponse_Source
	//	*QueryResponse_TableArrow
	Report isQueryResponse_Report `protobuf_oneof:"report"`
	// total is the total number of samples shown in the report.
	Total int64 `protobuf:"varint,9,opt,name=total,proto3" json:"total,omitempty"`
	// filtered is the number of samples filtered out of the report.
	Filtered int64 `protobuf:"varint,10,opt,name=filtered,proto3" json:"filtered,omitempty"`
	// contains filtered or unexported fields
}

QueryResponse is the returned report for the given query

func (*QueryResponse) Descriptor deprecated

func (*QueryResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.

func (*QueryResponse) GetCallgraph added in v0.13.0

func (x *QueryResponse) GetCallgraph() *Callgraph

func (*QueryResponse) GetFiltered added in v0.17.0

func (x *QueryResponse) GetFiltered() int64

func (*QueryResponse) GetFlamegraph

func (x *QueryResponse) GetFlamegraph() *Flamegraph

func (*QueryResponse) GetFlamegraphArrow added in v0.19.0

func (x *QueryResponse) GetFlamegraphArrow() *FlamegraphArrow

func (*QueryResponse) GetPprof added in v0.4.0

func (x *QueryResponse) GetPprof() []byte

func (*QueryResponse) GetReport

func (m *QueryResponse) GetReport() isQueryResponse_Report

func (*QueryResponse) GetSource added in v0.19.0

func (x *QueryResponse) GetSource() *Source

func (*QueryResponse) GetTableArrow added in v0.19.0

func (x *QueryResponse) GetTableArrow() *TableArrow

func (*QueryResponse) GetTop added in v0.8.0

func (x *QueryResponse) GetTop() *Top

func (*QueryResponse) GetTotal added in v0.17.0

func (x *QueryResponse) GetTotal() int64

func (*QueryResponse) MarshalToSizedBufferVT added in v0.5.0

func (m *QueryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryResponse) MarshalToVT added in v0.5.0

func (m *QueryResponse) MarshalToVT(dAtA []byte) (int, error)

func (*QueryResponse) MarshalVT added in v0.5.0

func (m *QueryResponse) MarshalVT() (dAtA []byte, err error)

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) ProtoReflect

func (x *QueryResponse) ProtoReflect() protoreflect.Message

func (*QueryResponse) Reset

func (x *QueryResponse) Reset()

func (*QueryResponse) SizeVT added in v0.5.0

func (m *QueryResponse) SizeVT() (n int)

func (*QueryResponse) String

func (x *QueryResponse) String() string

func (*QueryResponse) UnmarshalVT added in v0.5.0

func (m *QueryResponse) UnmarshalVT(dAtA []byte) error

type QueryResponse_Callgraph added in v0.13.0

type QueryResponse_Callgraph struct {
	// callgraph is a callgraph nodes and edges representation of the report
	Callgraph *Callgraph `protobuf:"bytes,8,opt,name=callgraph,proto3,oneof"`
}

func (*QueryResponse_Callgraph) MarshalToSizedBufferVT added in v0.13.0

func (m *QueryResponse_Callgraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryResponse_Callgraph) MarshalToVT added in v0.13.0

func (m *QueryResponse_Callgraph) MarshalToVT(dAtA []byte) (int, error)

func (*QueryResponse_Callgraph) SizeVT added in v0.13.0

func (m *QueryResponse_Callgraph) SizeVT() (n int)

type QueryResponse_Flamegraph

type QueryResponse_Flamegraph struct {
	// flamegraph is a flamegraph representation of the report
	Flamegraph *Flamegraph `protobuf:"bytes,5,opt,name=flamegraph,proto3,oneof"`
}

func (*QueryResponse_Flamegraph) MarshalToSizedBufferVT added in v0.5.0

func (m *QueryResponse_Flamegraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryResponse_Flamegraph) MarshalToVT added in v0.5.0

func (m *QueryResponse_Flamegraph) MarshalToVT(dAtA []byte) (int, error)

func (*QueryResponse_Flamegraph) SizeVT added in v0.5.0

func (m *QueryResponse_Flamegraph) SizeVT() (n int)

type QueryResponse_FlamegraphArrow added in v0.19.0

type QueryResponse_FlamegraphArrow struct {
	// flamegraph_arrow is a flamegraph encoded as a arrow record
	FlamegraphArrow *FlamegraphArrow `protobuf:"bytes,11,opt,name=flamegraph_arrow,json=flamegraphArrow,proto3,oneof"`
}

func (*QueryResponse_FlamegraphArrow) MarshalToSizedBufferVT added in v0.19.0

func (m *QueryResponse_FlamegraphArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryResponse_FlamegraphArrow) MarshalToVT added in v0.19.0

func (m *QueryResponse_FlamegraphArrow) MarshalToVT(dAtA []byte) (int, error)

func (*QueryResponse_FlamegraphArrow) SizeVT added in v0.19.0

func (m *QueryResponse_FlamegraphArrow) SizeVT() (n int)

type QueryResponse_Pprof added in v0.4.0

type QueryResponse_Pprof struct {
	// pprof is a pprof profile as compressed bytes
	Pprof []byte `protobuf:"bytes,6,opt,name=pprof,proto3,oneof"`
}

func (*QueryResponse_Pprof) MarshalToSizedBufferVT added in v0.5.0

func (m *QueryResponse_Pprof) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryResponse_Pprof) MarshalToVT added in v0.5.0

func (m *QueryResponse_Pprof) MarshalToVT(dAtA []byte) (int, error)

func (*QueryResponse_Pprof) SizeVT added in v0.5.0

func (m *QueryResponse_Pprof) SizeVT() (n int)

type QueryResponse_Source added in v0.19.0

type QueryResponse_Source struct {
	// source is the source report type result
	Source *Source `protobuf:"bytes,12,opt,name=source,proto3,oneof"`
}

func (*QueryResponse_Source) MarshalToSizedBufferVT added in v0.19.0

func (m *QueryResponse_Source) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryResponse_Source) MarshalToVT added in v0.19.0

func (m *QueryResponse_Source) MarshalToVT(dAtA []byte) (int, error)

func (*QueryResponse_Source) SizeVT added in v0.19.0

func (m *QueryResponse_Source) SizeVT() (n int)

type QueryResponse_TableArrow added in v0.19.0

type QueryResponse_TableArrow struct {
	// table_arrow is a table encoded as a arrow record
	TableArrow *TableArrow `protobuf:"bytes,13,opt,name=table_arrow,json=tableArrow,proto3,oneof"`
}

func (*QueryResponse_TableArrow) MarshalToSizedBufferVT added in v0.19.0

func (m *QueryResponse_TableArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryResponse_TableArrow) MarshalToVT added in v0.19.0

func (m *QueryResponse_TableArrow) MarshalToVT(dAtA []byte) (int, error)

func (*QueryResponse_TableArrow) SizeVT added in v0.19.0

func (m *QueryResponse_TableArrow) SizeVT() (n int)

type QueryResponse_Top added in v0.8.0

type QueryResponse_Top struct {
	// top is a top list representation of the report
	Top *Top `protobuf:"bytes,7,opt,name=top,proto3,oneof"`
}

func (*QueryResponse_Top) MarshalToSizedBufferVT added in v0.8.0

func (m *QueryResponse_Top) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*QueryResponse_Top) MarshalToVT added in v0.8.0

func (m *QueryResponse_Top) MarshalToVT(dAtA []byte) (int, error)

func (*QueryResponse_Top) SizeVT added in v0.8.0

func (m *QueryResponse_Top) SizeVT() (n int)

type QueryServiceClient

type QueryServiceClient interface {
	// QueryRange performs a profile query over a time range
	QueryRange(ctx context.Context, in *QueryRangeRequest, opts ...grpc.CallOption) (*QueryRangeResponse, error)
	// Query performs a profile query
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
	// Series is unimplemented
	Series(ctx context.Context, in *SeriesRequest, opts ...grpc.CallOption) (*SeriesResponse, error)
	// ProfileTypes returns the list of available profile types.
	ProfileTypes(ctx context.Context, in *ProfileTypesRequest, opts ...grpc.CallOption) (*ProfileTypesResponse, error)
	// Labels returns the set of label names against a given matching string and time frame
	Labels(ctx context.Context, in *LabelsRequest, opts ...grpc.CallOption) (*LabelsResponse, error)
	// Values returns the set of values that match a given label and time frame
	Values(ctx context.Context, in *ValuesRequest, opts ...grpc.CallOption) (*ValuesResponse, error)
	// ShareProfile uploads the given profile to pprof.me and returns a link to the profile.
	ShareProfile(ctx context.Context, in *ShareProfileRequest, opts ...grpc.CallOption) (*ShareProfileResponse, error)
}

QueryServiceClient is the client API for QueryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type QueryServiceServer

type QueryServiceServer interface {
	// QueryRange performs a profile query over a time range
	QueryRange(context.Context, *QueryRangeRequest) (*QueryRangeResponse, error)
	// Query performs a profile query
	Query(context.Context, *QueryRequest) (*QueryResponse, error)
	// Series is unimplemented
	Series(context.Context, *SeriesRequest) (*SeriesResponse, error)
	// ProfileTypes returns the list of available profile types.
	ProfileTypes(context.Context, *ProfileTypesRequest) (*ProfileTypesResponse, error)
	// Labels returns the set of label names against a given matching string and time frame
	Labels(context.Context, *LabelsRequest) (*LabelsResponse, error)
	// Values returns the set of values that match a given label and time frame
	Values(context.Context, *ValuesRequest) (*ValuesResponse, error)
	// ShareProfile uploads the given profile to pprof.me and returns a link to the profile.
	ShareProfile(context.Context, *ShareProfileRequest) (*ShareProfileResponse, error)
	// contains filtered or unexported methods
}

QueryServiceServer is the server API for QueryService service. All implementations must embed UnimplementedQueryServiceServer for forward compatibility

type ReportTypeRule

type ReportTypeRule struct{}

func (ReportTypeRule) Validate

func (r ReportTypeRule) Validate(v interface{}) error

type RuntimeFilter added in v0.21.0

type RuntimeFilter struct {

	// Whether to show frames of the python runtime.
	ShowPython bool `protobuf:"varint,1,opt,name=show_python,json=showPython,proto3" json:"show_python,omitempty"`
	// Whether to show frames of the ruby runtime.
	ShowRuby bool `protobuf:"varint,2,opt,name=show_ruby,json=showRuby,proto3" json:"show_ruby,omitempty"`
	// Whether to only show interpreted frames.
	ShowInterpretedOnly bool `protobuf:"varint,3,opt,name=show_interpreted_only,json=showInterpretedOnly,proto3" json:"show_interpreted_only,omitempty"`
	// contains filtered or unexported fields
}

RuntimeFilter configures which runtimes to filter frames out for.

func (*RuntimeFilter) Descriptor deprecated added in v0.21.0

func (*RuntimeFilter) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeFilter.ProtoReflect.Descriptor instead.

func (*RuntimeFilter) GetShowInterpretedOnly added in v0.21.0

func (x *RuntimeFilter) GetShowInterpretedOnly() bool

func (*RuntimeFilter) GetShowPython added in v0.21.0

func (x *RuntimeFilter) GetShowPython() bool

func (*RuntimeFilter) GetShowRuby added in v0.21.0

func (x *RuntimeFilter) GetShowRuby() bool

func (*RuntimeFilter) MarshalToSizedBufferVT added in v0.21.0

func (m *RuntimeFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RuntimeFilter) MarshalToVT added in v0.21.0

func (m *RuntimeFilter) MarshalToVT(dAtA []byte) (int, error)

func (*RuntimeFilter) MarshalVT added in v0.21.0

func (m *RuntimeFilter) MarshalVT() (dAtA []byte, err error)

func (*RuntimeFilter) ProtoMessage added in v0.21.0

func (*RuntimeFilter) ProtoMessage()

func (*RuntimeFilter) ProtoReflect added in v0.21.0

func (x *RuntimeFilter) ProtoReflect() protoreflect.Message

func (*RuntimeFilter) Reset added in v0.21.0

func (x *RuntimeFilter) Reset()

func (*RuntimeFilter) SizeVT added in v0.21.0

func (m *RuntimeFilter) SizeVT() (n int)

func (*RuntimeFilter) String added in v0.21.0

func (x *RuntimeFilter) String() string

func (*RuntimeFilter) UnmarshalVT added in v0.21.0

func (m *RuntimeFilter) UnmarshalVT(dAtA []byte) error

type SeriesRequest

type SeriesRequest struct {

	// match ...
	Match []string `protobuf:"bytes,1,rep,name=match,proto3" json:"match,omitempty"`
	// start ...
	Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	// end ...
	End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

SeriesRequest is unimplemented

func (*SeriesRequest) Descriptor deprecated

func (*SeriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SeriesRequest.ProtoReflect.Descriptor instead.

func (*SeriesRequest) GetEnd

func (x *SeriesRequest) GetEnd() *timestamppb.Timestamp

func (*SeriesRequest) GetMatch

func (x *SeriesRequest) GetMatch() []string

func (*SeriesRequest) GetStart

func (x *SeriesRequest) GetStart() *timestamppb.Timestamp

func (*SeriesRequest) MarshalToSizedBufferVT added in v0.5.0

func (m *SeriesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SeriesRequest) MarshalToVT added in v0.5.0

func (m *SeriesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SeriesRequest) MarshalVT added in v0.5.0

func (m *SeriesRequest) MarshalVT() (dAtA []byte, err error)

func (*SeriesRequest) ProtoMessage

func (*SeriesRequest) ProtoMessage()

func (*SeriesRequest) ProtoReflect

func (x *SeriesRequest) ProtoReflect() protoreflect.Message

func (*SeriesRequest) Reset

func (x *SeriesRequest) Reset()

func (*SeriesRequest) SizeVT added in v0.5.0

func (m *SeriesRequest) SizeVT() (n int)

func (*SeriesRequest) String

func (x *SeriesRequest) String() string

func (*SeriesRequest) UnmarshalVT added in v0.5.0

func (m *SeriesRequest) UnmarshalVT(dAtA []byte) error

type SeriesResponse

type SeriesResponse struct {
	// contains filtered or unexported fields
}

SeriesResponse is unimplemented

func (*SeriesResponse) Descriptor deprecated

func (*SeriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SeriesResponse.ProtoReflect.Descriptor instead.

func (*SeriesResponse) MarshalToSizedBufferVT added in v0.5.0

func (m *SeriesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SeriesResponse) MarshalToVT added in v0.5.0

func (m *SeriesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SeriesResponse) MarshalVT added in v0.5.0

func (m *SeriesResponse) MarshalVT() (dAtA []byte, err error)

func (*SeriesResponse) ProtoMessage

func (*SeriesResponse) ProtoMessage()

func (*SeriesResponse) ProtoReflect

func (x *SeriesResponse) ProtoReflect() protoreflect.Message

func (*SeriesResponse) Reset

func (x *SeriesResponse) Reset()

func (*SeriesResponse) SizeVT added in v0.5.0

func (m *SeriesResponse) SizeVT() (n int)

func (*SeriesResponse) String

func (x *SeriesResponse) String() string

func (*SeriesResponse) UnmarshalVT added in v0.5.0

func (m *SeriesResponse) UnmarshalVT(dAtA []byte) error

type ShareProfileRequest added in v0.12.0

type ShareProfileRequest struct {

	// QueryRequest that refers to the profile to be shared
	QueryRequest *QueryRequest `protobuf:"bytes,1,opt,name=query_request,json=queryRequest,proto3" json:"query_request,omitempty"`
	// description about the profile
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ShareProfileRequest represents the query denoting the profile and a description about the profile

func (*ShareProfileRequest) Descriptor deprecated added in v0.12.0

func (*ShareProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShareProfileRequest.ProtoReflect.Descriptor instead.

func (*ShareProfileRequest) GetDescription added in v0.12.0

func (x *ShareProfileRequest) GetDescription() string

func (*ShareProfileRequest) GetQueryRequest added in v0.12.0

func (x *ShareProfileRequest) GetQueryRequest() *QueryRequest

func (*ShareProfileRequest) MarshalToSizedBufferVT added in v0.12.0

func (m *ShareProfileRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ShareProfileRequest) MarshalToVT added in v0.12.0

func (m *ShareProfileRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ShareProfileRequest) MarshalVT added in v0.12.0

func (m *ShareProfileRequest) MarshalVT() (dAtA []byte, err error)

func (*ShareProfileRequest) ProtoMessage added in v0.12.0

func (*ShareProfileRequest) ProtoMessage()

func (*ShareProfileRequest) ProtoReflect added in v0.12.0

func (x *ShareProfileRequest) ProtoReflect() protoreflect.Message

func (*ShareProfileRequest) Reset added in v0.12.0

func (x *ShareProfileRequest) Reset()

func (*ShareProfileRequest) SizeVT added in v0.12.0

func (m *ShareProfileRequest) SizeVT() (n int)

func (*ShareProfileRequest) String added in v0.12.0

func (x *ShareProfileRequest) String() string

func (*ShareProfileRequest) UnmarshalVT added in v0.12.0

func (m *ShareProfileRequest) UnmarshalVT(dAtA []byte) error

type ShareProfileResponse added in v0.12.0

type ShareProfileResponse struct {

	// link to access the profile
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

ShareProfileResponse represents the shared link of a profile

func (*ShareProfileResponse) Descriptor deprecated added in v0.12.0

func (*ShareProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShareProfileResponse.ProtoReflect.Descriptor instead.

func (x *ShareProfileResponse) GetLink() string

func (*ShareProfileResponse) MarshalToSizedBufferVT added in v0.12.0

func (m *ShareProfileResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ShareProfileResponse) MarshalToVT added in v0.12.0

func (m *ShareProfileResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ShareProfileResponse) MarshalVT added in v0.12.0

func (m *ShareProfileResponse) MarshalVT() (dAtA []byte, err error)

func (*ShareProfileResponse) ProtoMessage added in v0.12.0

func (*ShareProfileResponse) ProtoMessage()

func (*ShareProfileResponse) ProtoReflect added in v0.12.0

func (x *ShareProfileResponse) ProtoReflect() protoreflect.Message

func (*ShareProfileResponse) Reset added in v0.12.0

func (x *ShareProfileResponse) Reset()

func (*ShareProfileResponse) SizeVT added in v0.12.0

func (m *ShareProfileResponse) SizeVT() (n int)

func (*ShareProfileResponse) String added in v0.12.0

func (x *ShareProfileResponse) String() string

func (*ShareProfileResponse) UnmarshalVT added in v0.12.0

func (m *ShareProfileResponse) UnmarshalVT(dAtA []byte) error

type SingleProfile

type SingleProfile struct {

	// time is the point in time to perform the profile request
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// query is the query string to retrieve the profile
	Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

SingleProfile contains parameters for a single profile query request

func (*SingleProfile) Descriptor deprecated

func (*SingleProfile) Descriptor() ([]byte, []int)

Deprecated: Use SingleProfile.ProtoReflect.Descriptor instead.

func (*SingleProfile) GetQuery

func (x *SingleProfile) GetQuery() string

func (*SingleProfile) GetTime

func (x *SingleProfile) GetTime() *timestamppb.Timestamp

func (*SingleProfile) MarshalToSizedBufferVT added in v0.5.0

func (m *SingleProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SingleProfile) MarshalToVT added in v0.5.0

func (m *SingleProfile) MarshalToVT(dAtA []byte) (int, error)

func (*SingleProfile) MarshalVT added in v0.5.0

func (m *SingleProfile) MarshalVT() (dAtA []byte, err error)

func (*SingleProfile) ProtoMessage

func (*SingleProfile) ProtoMessage()

func (*SingleProfile) ProtoReflect

func (x *SingleProfile) ProtoReflect() protoreflect.Message

func (*SingleProfile) Reset

func (x *SingleProfile) Reset()

func (*SingleProfile) SizeVT added in v0.5.0

func (m *SingleProfile) SizeVT() (n int)

func (*SingleProfile) String

func (x *SingleProfile) String() string

func (*SingleProfile) UnmarshalVT added in v0.5.0

func (m *SingleProfile) UnmarshalVT(dAtA []byte) error

type Source added in v0.19.0

type Source struct {

	// An arrow record that contains a row per source code line with value and diff columns for flat and cumulative.
	Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	// The actual source file content.
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// The unit of the values in the record.
	Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

Source is the result of the source report type.

func (*Source) Descriptor deprecated added in v0.19.0

func (*Source) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetRecord added in v0.19.0

func (x *Source) GetRecord() []byte

func (*Source) GetSource added in v0.19.0

func (x *Source) GetSource() string

func (*Source) GetUnit added in v0.21.0

func (x *Source) GetUnit() string

func (*Source) MarshalToSizedBufferVT added in v0.19.0

func (m *Source) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Source) MarshalToVT added in v0.19.0

func (m *Source) MarshalToVT(dAtA []byte) (int, error)

func (*Source) MarshalVT added in v0.19.0

func (m *Source) MarshalVT() (dAtA []byte, err error)

func (*Source) ProtoMessage added in v0.19.0

func (*Source) ProtoMessage()

func (*Source) ProtoReflect added in v0.19.0

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset added in v0.19.0

func (x *Source) Reset()

func (*Source) SizeVT added in v0.19.0

func (m *Source) SizeVT() (n int)

func (*Source) String added in v0.19.0

func (x *Source) String() string

func (*Source) UnmarshalVT added in v0.19.0

func (m *Source) UnmarshalVT(dAtA []byte) error

type SourceReference added in v0.19.0

type SourceReference struct {

	// The build ID to request the source of.
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// The filename requested.
	Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	// Whether to perform a full query or just retrieve the source.
	SourceOnly bool `protobuf:"varint,3,opt,name=source_only,json=sourceOnly,proto3" json:"source_only,omitempty"`
	// contains filtered or unexported fields
}

SourceReference contains a reference to source code.

func (*SourceReference) Descriptor deprecated added in v0.19.0

func (*SourceReference) Descriptor() ([]byte, []int)

Deprecated: Use SourceReference.ProtoReflect.Descriptor instead.

func (*SourceReference) GetBuildId added in v0.19.0

func (x *SourceReference) GetBuildId() string

func (*SourceReference) GetFilename added in v0.19.0

func (x *SourceReference) GetFilename() string

func (*SourceReference) GetSourceOnly added in v0.19.0

func (x *SourceReference) GetSourceOnly() bool

func (*SourceReference) MarshalToSizedBufferVT added in v0.19.0

func (m *SourceReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SourceReference) MarshalToVT added in v0.19.0

func (m *SourceReference) MarshalToVT(dAtA []byte) (int, error)

func (*SourceReference) MarshalVT added in v0.19.0

func (m *SourceReference) MarshalVT() (dAtA []byte, err error)

func (*SourceReference) ProtoMessage added in v0.19.0

func (*SourceReference) ProtoMessage()

func (*SourceReference) ProtoReflect added in v0.19.0

func (x *SourceReference) ProtoReflect() protoreflect.Message

func (*SourceReference) Reset added in v0.19.0

func (x *SourceReference) Reset()

func (*SourceReference) SizeVT added in v0.19.0

func (m *SourceReference) SizeVT() (n int)

func (*SourceReference) String added in v0.19.0

func (x *SourceReference) String() string

func (*SourceReference) UnmarshalVT added in v0.19.0

func (m *SourceReference) UnmarshalVT(dAtA []byte) error

type TableArrow added in v0.19.0

type TableArrow struct {

	// record is the arrow record containing the actual table data
	Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	// unit is the unit represented by the flame graph
	Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

TableArrow has the table encoded as a arrow record

func (*TableArrow) Descriptor deprecated added in v0.19.0

func (*TableArrow) Descriptor() ([]byte, []int)

Deprecated: Use TableArrow.ProtoReflect.Descriptor instead.

func (*TableArrow) GetRecord added in v0.19.0

func (x *TableArrow) GetRecord() []byte

func (*TableArrow) GetUnit added in v0.19.0

func (x *TableArrow) GetUnit() string

func (*TableArrow) MarshalToSizedBufferVT added in v0.19.0

func (m *TableArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TableArrow) MarshalToVT added in v0.19.0

func (m *TableArrow) MarshalToVT(dAtA []byte) (int, error)

func (*TableArrow) MarshalVT added in v0.19.0

func (m *TableArrow) MarshalVT() (dAtA []byte, err error)

func (*TableArrow) ProtoMessage added in v0.19.0

func (*TableArrow) ProtoMessage()

func (*TableArrow) ProtoReflect added in v0.19.0

func (x *TableArrow) ProtoReflect() protoreflect.Message

func (*TableArrow) Reset added in v0.19.0

func (x *TableArrow) Reset()

func (*TableArrow) SizeVT added in v0.19.0

func (m *TableArrow) SizeVT() (n int)

func (*TableArrow) String added in v0.19.0

func (x *TableArrow) String() string

func (*TableArrow) UnmarshalVT added in v0.19.0

func (m *TableArrow) UnmarshalVT(dAtA []byte) error

type Top added in v0.8.0

type Top struct {

	// list are the list of ordered elements of the table
	List []*TopNode `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// reported is the number of lines reported
	Reported int32 `protobuf:"varint,2,opt,name=reported,proto3" json:"reported,omitempty"`
	// total is the number of lines that exist in the report
	// Use total from the top level query response instead.
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	// unit is the unit represented by top table
	Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

Top is the top report type

func (*Top) Descriptor deprecated added in v0.8.0

func (*Top) Descriptor() ([]byte, []int)

Deprecated: Use Top.ProtoReflect.Descriptor instead.

func (*Top) GetList added in v0.8.0

func (x *Top) GetList() []*TopNode

func (*Top) GetReported added in v0.8.0

func (x *Top) GetReported() int32

func (*Top) GetTotal deprecated added in v0.8.0

func (x *Top) GetTotal() int32

Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.

func (*Top) GetUnit added in v0.8.0

func (x *Top) GetUnit() string

func (*Top) MarshalToSizedBufferVT added in v0.8.0

func (m *Top) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Top) MarshalToVT added in v0.8.0

func (m *Top) MarshalToVT(dAtA []byte) (int, error)

func (*Top) MarshalVT added in v0.8.0

func (m *Top) MarshalVT() (dAtA []byte, err error)

func (*Top) ProtoMessage added in v0.8.0

func (*Top) ProtoMessage()

func (*Top) ProtoReflect added in v0.8.0

func (x *Top) ProtoReflect() protoreflect.Message

func (*Top) Reset added in v0.8.0

func (x *Top) Reset()

func (*Top) SizeVT added in v0.8.0

func (m *Top) SizeVT() (n int)

func (*Top) String added in v0.8.0

func (x *Top) String() string

func (*Top) UnmarshalVT added in v0.8.0

func (m *Top) UnmarshalVT(dAtA []byte) error

type TopNode added in v0.8.0

type TopNode struct {

	// meta is the metadata about the node
	Meta *TopNodeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// cumulative is the cumulative value of the node
	Cumulative int64 `protobuf:"varint,2,opt,name=cumulative,proto3" json:"cumulative,omitempty"`
	// flat is the flat value of the node
	Flat int64 `protobuf:"varint,3,opt,name=flat,proto3" json:"flat,omitempty"`
	// diff is the diff value between two profiles
	Diff int64 `protobuf:"varint,4,opt,name=diff,proto3" json:"diff,omitempty"`
	// contains filtered or unexported fields
}

TopNode is a node entry in a top list

func (*TopNode) Descriptor deprecated added in v0.8.0

func (*TopNode) Descriptor() ([]byte, []int)

Deprecated: Use TopNode.ProtoReflect.Descriptor instead.

func (*TopNode) GetCumulative added in v0.8.0

func (x *TopNode) GetCumulative() int64

func (*TopNode) GetDiff added in v0.11.0

func (x *TopNode) GetDiff() int64

func (*TopNode) GetFlat added in v0.8.0

func (x *TopNode) GetFlat() int64

func (*TopNode) GetMeta added in v0.8.0

func (x *TopNode) GetMeta() *TopNodeMeta

func (*TopNode) MarshalToSizedBufferVT added in v0.8.0

func (m *TopNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TopNode) MarshalToVT added in v0.8.0

func (m *TopNode) MarshalToVT(dAtA []byte) (int, error)

func (*TopNode) MarshalVT added in v0.8.0

func (m *TopNode) MarshalVT() (dAtA []byte, err error)

func (*TopNode) ProtoMessage added in v0.8.0

func (*TopNode) ProtoMessage()

func (*TopNode) ProtoReflect added in v0.8.0

func (x *TopNode) ProtoReflect() protoreflect.Message

func (*TopNode) Reset added in v0.8.0

func (x *TopNode) Reset()

func (*TopNode) SizeVT added in v0.8.0

func (m *TopNode) SizeVT() (n int)

func (*TopNode) String added in v0.8.0

func (x *TopNode) String() string

func (*TopNode) UnmarshalVT added in v0.8.0

func (m *TopNode) UnmarshalVT(dAtA []byte) error

type TopNodeMeta added in v0.8.0

type TopNodeMeta struct {

	// location is the location for the code
	Location *v1alpha11.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// mapping is the mapping into code
	Mapping *v1alpha11.Mapping `protobuf:"bytes,2,opt,name=mapping,proto3" json:"mapping,omitempty"`
	// function is the function information
	Function *v1alpha11.Function `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"`
	// line is the line location
	Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"`
	// contains filtered or unexported fields
}

TopNodeMeta is the metadata for a given node

func (*TopNodeMeta) Descriptor deprecated added in v0.8.0

func (*TopNodeMeta) Descriptor() ([]byte, []int)

Deprecated: Use TopNodeMeta.ProtoReflect.Descriptor instead.

func (*TopNodeMeta) GetFunction added in v0.8.0

func (x *TopNodeMeta) GetFunction() *v1alpha11.Function

func (*TopNodeMeta) GetLine added in v0.8.0

func (x *TopNodeMeta) GetLine() *v1alpha11.Line

func (*TopNodeMeta) GetLocation added in v0.8.0

func (x *TopNodeMeta) GetLocation() *v1alpha11.Location

func (*TopNodeMeta) GetMapping added in v0.8.0

func (x *TopNodeMeta) GetMapping() *v1alpha11.Mapping

func (*TopNodeMeta) MarshalToSizedBufferVT added in v0.8.0

func (m *TopNodeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TopNodeMeta) MarshalToVT added in v0.8.0

func (m *TopNodeMeta) MarshalToVT(dAtA []byte) (int, error)

func (*TopNodeMeta) MarshalVT added in v0.8.0

func (m *TopNodeMeta) MarshalVT() (dAtA []byte, err error)

func (*TopNodeMeta) ProtoMessage added in v0.8.0

func (*TopNodeMeta) ProtoMessage()

func (*TopNodeMeta) ProtoReflect added in v0.8.0

func (x *TopNodeMeta) ProtoReflect() protoreflect.Message

func (*TopNodeMeta) Reset added in v0.8.0

func (x *TopNodeMeta) Reset()

func (*TopNodeMeta) SizeVT added in v0.8.0

func (m *TopNodeMeta) SizeVT() (n int)

func (*TopNodeMeta) String added in v0.8.0

func (x *TopNodeMeta) String() string

func (*TopNodeMeta) UnmarshalVT added in v0.8.0

func (m *TopNodeMeta) UnmarshalVT(dAtA []byte) error

type UnimplementedQueryServiceServer

type UnimplementedQueryServiceServer struct {
}

UnimplementedQueryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServiceServer) Labels

func (UnimplementedQueryServiceServer) ProfileTypes added in v0.11.0

func (UnimplementedQueryServiceServer) Query

func (UnimplementedQueryServiceServer) QueryRange

func (UnimplementedQueryServiceServer) Series

func (UnimplementedQueryServiceServer) ShareProfile added in v0.12.0

func (UnimplementedQueryServiceServer) Values

type UnsafeQueryServiceServer

type UnsafeQueryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServiceServer will result in compilation errors.

type ValueType added in v0.4.0

type ValueType struct {

	// type is the type of the value
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// unit is the unit of the value
	Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

ValueType represents a value, including its type and unit

func (*ValueType) Descriptor deprecated added in v0.4.0

func (*ValueType) Descriptor() ([]byte, []int)

Deprecated: Use ValueType.ProtoReflect.Descriptor instead.

func (*ValueType) GetType added in v0.4.0

func (x *ValueType) GetType() string

func (*ValueType) GetUnit added in v0.4.0

func (x *ValueType) GetUnit() string

func (*ValueType) MarshalToSizedBufferVT added in v0.5.0

func (m *ValueType) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ValueType) MarshalToVT added in v0.5.0

func (m *ValueType) MarshalToVT(dAtA []byte) (int, error)

func (*ValueType) MarshalVT added in v0.5.0

func (m *ValueType) MarshalVT() (dAtA []byte, err error)

func (*ValueType) ProtoMessage added in v0.4.0

func (*ValueType) ProtoMessage()

func (*ValueType) ProtoReflect added in v0.4.0

func (x *ValueType) ProtoReflect() protoreflect.Message

func (*ValueType) Reset added in v0.4.0

func (x *ValueType) Reset()

func (*ValueType) SizeVT added in v0.5.0

func (m *ValueType) SizeVT() (n int)

func (*ValueType) String added in v0.4.0

func (x *ValueType) String() string

func (*ValueType) UnmarshalVT added in v0.5.0

func (m *ValueType) UnmarshalVT(dAtA []byte) error

type ValuesRequest

type ValuesRequest struct {

	// label_name is the label name to match values against
	LabelName string `protobuf:"bytes,1,opt,name=label_name,json=labelName,proto3" json:"label_name,omitempty"`
	// match are the set of matching strings to match values against
	Match []string `protobuf:"bytes,2,rep,name=match,proto3" json:"match,omitempty"`
	// start is the start of the time window to perform the query
	Start *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	// end is the end of the time window to perform the query
	End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

ValuesRequest are the request values for a values request

func (*ValuesRequest) Descriptor deprecated

func (*ValuesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValuesRequest.ProtoReflect.Descriptor instead.

func (*ValuesRequest) GetEnd

func (x *ValuesRequest) GetEnd() *timestamppb.Timestamp

func (*ValuesRequest) GetLabelName

func (x *ValuesRequest) GetLabelName() string

func (*ValuesRequest) GetMatch

func (x *ValuesRequest) GetMatch() []string

func (*ValuesRequest) GetStart

func (x *ValuesRequest) GetStart() *timestamppb.Timestamp

func (*ValuesRequest) MarshalToSizedBufferVT added in v0.5.0

func (m *ValuesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ValuesRequest) MarshalToVT added in v0.5.0

func (m *ValuesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ValuesRequest) MarshalVT added in v0.5.0

func (m *ValuesRequest) MarshalVT() (dAtA []byte, err error)

func (*ValuesRequest) ProtoMessage

func (*ValuesRequest) ProtoMessage()

func (*ValuesRequest) ProtoReflect

func (x *ValuesRequest) ProtoReflect() protoreflect.Message

func (*ValuesRequest) Reset

func (x *ValuesRequest) Reset()

func (*ValuesRequest) SizeVT added in v0.5.0

func (m *ValuesRequest) SizeVT() (n int)

func (*ValuesRequest) String

func (x *ValuesRequest) String() string

func (*ValuesRequest) UnmarshalVT added in v0.5.0

func (m *ValuesRequest) UnmarshalVT(dAtA []byte) error

type ValuesResponse

type ValuesResponse struct {

	// label_values are the set of matching label values
	LabelValues []string `protobuf:"bytes,1,rep,name=label_values,json=labelValues,proto3" json:"label_values,omitempty"`
	// warnings is unimplemented
	Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

ValuesResponse are the set of matching values

func (*ValuesResponse) Descriptor deprecated

func (*ValuesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ValuesResponse.ProtoReflect.Descriptor instead.

func (*ValuesResponse) GetLabelValues

func (x *ValuesResponse) GetLabelValues() []string

func (*ValuesResponse) GetWarnings

func (x *ValuesResponse) GetWarnings() []string

func (*ValuesResponse) MarshalToSizedBufferVT added in v0.5.0

func (m *ValuesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ValuesResponse) MarshalToVT added in v0.5.0

func (m *ValuesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ValuesResponse) MarshalVT added in v0.5.0

func (m *ValuesResponse) MarshalVT() (dAtA []byte, err error)

func (*ValuesResponse) ProtoMessage

func (*ValuesResponse) ProtoMessage()

func (*ValuesResponse) ProtoReflect

func (x *ValuesResponse) ProtoReflect() protoreflect.Message

func (*ValuesResponse) Reset

func (x *ValuesResponse) Reset()

func (*ValuesResponse) SizeVT added in v0.5.0

func (m *ValuesResponse) SizeVT() (n int)

func (*ValuesResponse) String

func (x *ValuesResponse) String() string

func (*ValuesResponse) UnmarshalVT added in v0.5.0

func (m *ValuesResponse) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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