queryv1alpha1

package
v1.36.11-2026052303540... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

View Source
const Filter_Filter_not_set_case case_Filter_Filter = 0
View Source
const Filter_FrameFilter_case case_Filter_Filter = 2
View Source
const Filter_StackFilter_case case_Filter_Filter = 1
View Source
const FrameFilter_BinaryFrameFilter_case case_FrameFilter_Filter = 1
View Source
const FrameFilter_Criteria_case case_FrameFilter_Filter = 2
View Source
const FrameFilter_Filter_not_set_case case_FrameFilter_Filter = 0
View Source
const NumberCondition_Condition_not_set_case case_NumberCondition_Condition = 0
View Source
const NumberCondition_Equal_case case_NumberCondition_Condition = 1
View Source
const NumberCondition_NotEqual_case case_NumberCondition_Condition = 2
View Source
const ProfileDiffSelection_Merge_case case_ProfileDiffSelection_Options = 2
View Source
const ProfileDiffSelection_Options_not_set_case case_ProfileDiffSelection_Options = 0
View Source
const ProfileDiffSelection_Single_case case_ProfileDiffSelection_Options = 3
View Source
const QueryRequest_Diff_case case_QueryRequest_Options = 2
View Source
const QueryRequest_Merge_case case_QueryRequest_Options = 3
View Source
const QueryRequest_Options_not_set_case case_QueryRequest_Options = 0
View Source
const QueryRequest_Single_case case_QueryRequest_Options = 4
View Source
const QueryResponse_Callgraph_case case_QueryResponse_Report = 8
View Source
const QueryResponse_FlamegraphArrow_case case_QueryResponse_Report = 11
View Source
const QueryResponse_Flamegraph_case case_QueryResponse_Report = 5
View Source
const QueryResponse_Pprof_case case_QueryResponse_Report = 6
View Source
const QueryResponse_ProfileMetadata_case case_QueryResponse_Report = 14
View Source
const QueryResponse_Report_not_set_case case_QueryResponse_Report = 0
View Source
const QueryResponse_Source_case case_QueryResponse_Report = 12
View Source
const QueryResponse_TableArrow_case case_QueryResponse_Report = 13
View Source
const QueryResponse_Top_case case_QueryResponse_Report = 7
View Source
const StackFilter_Criteria_case case_StackFilter_Filter = 2
View Source
const StackFilter_Filter_not_set_case case_StackFilter_Filter = 0
View Source
const StackFilter_FunctionNameStackFilter_case case_StackFilter_Filter = 1
View Source
const StringCondition_Condition_not_set_case case_StringCondition_Condition = 0
View Source
const StringCondition_Contains_case case_StringCondition_Condition = 3
View Source
const StringCondition_Equal_case case_StringCondition_Condition = 1
View Source
const StringCondition_NotContains_case case_StringCondition_Condition = 4
View Source
const StringCondition_NotEqual_case case_StringCondition_Condition = 2
View Source
const StringCondition_NotStartsWith_case case_StringCondition_Condition = 6
View Source
const StringCondition_StartsWith_case case_StringCondition_Condition = 5

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",
		8: "REPORT_TYPE_PROFILE_METADATA",
		9: "REPORT_TYPE_FLAMECHART",
	}
	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,
		"REPORT_TYPE_PROFILE_METADATA":       8,
		"REPORT_TYPE_FLAMECHART":             9,
	}
)

Enum value maps for QueryRequest_ReportType.

View Source
var File_parca_query_v1alpha1_query_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BinaryFrameFilter

type BinaryFrameFilter struct {

	// include_binaries is the list of binaries to filter by
	IncludeBinaries []string `protobuf:"bytes,1,rep,name=include_binaries,json=includeBinaries,proto3" json:"include_binaries,omitempty"`
	// contains filtered or unexported fields
}

BinaryFrameFilter is a filter for filtering by binaries

func (*BinaryFrameFilter) GetIncludeBinaries

func (x *BinaryFrameFilter) GetIncludeBinaries() []string

func (*BinaryFrameFilter) ProtoMessage

func (*BinaryFrameFilter) ProtoMessage()

func (*BinaryFrameFilter) ProtoReflect

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

func (*BinaryFrameFilter) Reset

func (x *BinaryFrameFilter) Reset()

func (*BinaryFrameFilter) SetIncludeBinaries

func (x *BinaryFrameFilter) SetIncludeBinaries(v []string)

func (*BinaryFrameFilter) String

func (x *BinaryFrameFilter) String() string

type BinaryFrameFilter_builder

type BinaryFrameFilter_builder struct {

	// include_binaries is the list of binaries to filter by
	IncludeBinaries []string
	// contains filtered or unexported fields
}

func (BinaryFrameFilter_builder) Build

type Callgraph

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) GetCumulative deprecated

func (x *Callgraph) GetCumulative() int64

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

func (*Callgraph) GetEdges

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

func (*Callgraph) GetNodes

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

func (*Callgraph) ProtoMessage

func (*Callgraph) ProtoMessage()

func (*Callgraph) ProtoReflect

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

func (*Callgraph) Reset

func (x *Callgraph) Reset()

func (*Callgraph) SetCumulative deprecated

func (x *Callgraph) SetCumulative(v int64)

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

func (*Callgraph) SetEdges

func (x *Callgraph) SetEdges(v []*CallgraphEdge)

func (*Callgraph) SetNodes

func (x *Callgraph) SetNodes(v []*CallgraphNode)

func (*Callgraph) String

func (x *Callgraph) String() string

type CallgraphEdge

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) GetCumulative

func (x *CallgraphEdge) GetCumulative() int64

func (*CallgraphEdge) GetId

func (x *CallgraphEdge) GetId() string

func (*CallgraphEdge) GetIsCollapsed

func (x *CallgraphEdge) GetIsCollapsed() bool

func (*CallgraphEdge) GetSource

func (x *CallgraphEdge) GetSource() string

func (*CallgraphEdge) GetTarget

func (x *CallgraphEdge) GetTarget() string

func (*CallgraphEdge) ProtoMessage

func (*CallgraphEdge) ProtoMessage()

func (*CallgraphEdge) ProtoReflect

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

func (*CallgraphEdge) Reset

func (x *CallgraphEdge) Reset()

func (*CallgraphEdge) SetCumulative

func (x *CallgraphEdge) SetCumulative(v int64)

func (*CallgraphEdge) SetId

func (x *CallgraphEdge) SetId(v string)

func (*CallgraphEdge) SetIsCollapsed

func (x *CallgraphEdge) SetIsCollapsed(v bool)

func (*CallgraphEdge) SetSource

func (x *CallgraphEdge) SetSource(v string)

func (*CallgraphEdge) SetTarget

func (x *CallgraphEdge) SetTarget(v string)

func (*CallgraphEdge) String

func (x *CallgraphEdge) String() string

type CallgraphEdge_builder

type CallgraphEdge_builder struct {

	// id is the unique id of the edge
	Id string
	// source represents the id of the source node
	Source string
	// target represents the id of the target node
	Target string
	// cumulative is the cumulative value of the edge
	Cumulative int64
	// is_collapsed indicates if the edge is collapsed
	IsCollapsed bool
	// contains filtered or unexported fields
}

func (CallgraphEdge_builder) Build

type CallgraphNode

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) ClearMeta

func (x *CallgraphNode) ClearMeta()

func (*CallgraphNode) GetCumulative

func (x *CallgraphNode) GetCumulative() int64

func (*CallgraphNode) GetFlat

func (x *CallgraphNode) GetFlat() int64

func (*CallgraphNode) GetId

func (x *CallgraphNode) GetId() string

func (*CallgraphNode) GetMeta

func (x *CallgraphNode) GetMeta() *CallgraphNodeMeta

func (*CallgraphNode) HasMeta

func (x *CallgraphNode) HasMeta() bool

func (*CallgraphNode) ProtoMessage

func (*CallgraphNode) ProtoMessage()

func (*CallgraphNode) ProtoReflect

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

func (*CallgraphNode) Reset

func (x *CallgraphNode) Reset()

func (*CallgraphNode) SetCumulative

func (x *CallgraphNode) SetCumulative(v int64)

func (*CallgraphNode) SetFlat

func (x *CallgraphNode) SetFlat(v int64)

func (*CallgraphNode) SetId

func (x *CallgraphNode) SetId(v string)

func (*CallgraphNode) SetMeta

func (x *CallgraphNode) SetMeta(v *CallgraphNodeMeta)

func (*CallgraphNode) String

func (x *CallgraphNode) String() string

type CallgraphNodeMeta

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) ClearFunction

func (x *CallgraphNodeMeta) ClearFunction()

func (*CallgraphNodeMeta) ClearLine

func (x *CallgraphNodeMeta) ClearLine()

func (*CallgraphNodeMeta) ClearLocation

func (x *CallgraphNodeMeta) ClearLocation()

func (*CallgraphNodeMeta) ClearMapping

func (x *CallgraphNodeMeta) ClearMapping()

func (*CallgraphNodeMeta) GetFunction

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

func (*CallgraphNodeMeta) GetLine

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

func (*CallgraphNodeMeta) GetLocation

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

func (*CallgraphNodeMeta) GetMapping

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

func (*CallgraphNodeMeta) HasFunction

func (x *CallgraphNodeMeta) HasFunction() bool

func (*CallgraphNodeMeta) HasLine

func (x *CallgraphNodeMeta) HasLine() bool

func (*CallgraphNodeMeta) HasLocation

func (x *CallgraphNodeMeta) HasLocation() bool

func (*CallgraphNodeMeta) HasMapping

func (x *CallgraphNodeMeta) HasMapping() bool

func (*CallgraphNodeMeta) ProtoMessage

func (*CallgraphNodeMeta) ProtoMessage()

func (*CallgraphNodeMeta) ProtoReflect

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

func (*CallgraphNodeMeta) Reset

func (x *CallgraphNodeMeta) Reset()

func (*CallgraphNodeMeta) SetFunction

func (x *CallgraphNodeMeta) SetFunction(v *v1alpha11.Function)

func (*CallgraphNodeMeta) SetLine

func (x *CallgraphNodeMeta) SetLine(v *v1alpha11.Line)

func (*CallgraphNodeMeta) SetLocation

func (x *CallgraphNodeMeta) SetLocation(v *v1alpha11.Location)

func (*CallgraphNodeMeta) SetMapping

func (x *CallgraphNodeMeta) SetMapping(v *v1alpha11.Mapping)

func (*CallgraphNodeMeta) String

func (x *CallgraphNodeMeta) String() string

type CallgraphNodeMeta_builder

type CallgraphNodeMeta_builder struct {

	// location is the location for the code
	Location *v1alpha11.Location
	// mapping is the mapping into code
	Mapping *v1alpha11.Mapping
	// function is the function information
	Function *v1alpha11.Function
	// line is the line location
	Line *v1alpha11.Line
	// contains filtered or unexported fields
}

func (CallgraphNodeMeta_builder) Build

type CallgraphNode_builder

type CallgraphNode_builder struct {

	// id is the unique id of the node
	Id string
	// meta is the metadata about the node
	Meta *CallgraphNodeMeta
	// cumulative is the cumulative value of the node
	Cumulative int64
	// flat is the flat value of the node
	Flat int64
	// contains filtered or unexported fields
}

func (CallgraphNode_builder) Build

type Callgraph_builder

type Callgraph_builder struct {

	// nodes are the nodes in the callgraph
	Nodes []*CallgraphNode
	// edges are the edges connecting nodes in the callgraph
	Edges []*CallgraphEdge
	// 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
	// contains filtered or unexported fields
}

func (Callgraph_builder) Build

func (b0 Callgraph_builder) Build() *Callgraph

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"`
	// absolute diffing, by default comparisons are relative
	Absolute *bool `protobuf:"varint,3,opt,name=absolute,proto3,oneof" json:"absolute,omitempty"`
	// contains filtered or unexported fields
}

DiffProfile contains parameters for a profile diff request

func (*DiffProfile) ClearA

func (x *DiffProfile) ClearA()

func (*DiffProfile) ClearAbsolute

func (x *DiffProfile) ClearAbsolute()

func (*DiffProfile) ClearB

func (x *DiffProfile) ClearB()

func (*DiffProfile) GetA

func (x *DiffProfile) GetA() *ProfileDiffSelection

func (*DiffProfile) GetAbsolute

func (x *DiffProfile) GetAbsolute() bool

func (*DiffProfile) GetB

func (x *DiffProfile) GetB() *ProfileDiffSelection

func (*DiffProfile) HasA

func (x *DiffProfile) HasA() bool

func (*DiffProfile) HasAbsolute

func (x *DiffProfile) HasAbsolute() bool

func (*DiffProfile) HasB

func (x *DiffProfile) HasB() bool

func (*DiffProfile) ProtoMessage

func (*DiffProfile) ProtoMessage()

func (*DiffProfile) ProtoReflect

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

func (*DiffProfile) Reset

func (x *DiffProfile) Reset()

func (*DiffProfile) SetA

func (x *DiffProfile) SetA(v *ProfileDiffSelection)

func (*DiffProfile) SetAbsolute

func (x *DiffProfile) SetAbsolute(v bool)

func (*DiffProfile) SetB

func (x *DiffProfile) SetB(v *ProfileDiffSelection)

func (*DiffProfile) String

func (x *DiffProfile) String() string

type DiffProfile_builder

type DiffProfile_builder struct {

	// a is the first profile to diff
	A *ProfileDiffSelection
	// b is the second profile to diff
	B *ProfileDiffSelection
	// absolute diffing, by default comparisons are relative
	Absolute *bool
	// contains filtered or unexported fields
}

func (DiffProfile_builder) Build

func (b0 DiffProfile_builder) Build() *DiffProfile

type Filter

type Filter struct {

	// filter is a oneof type of filter to apply to the query request
	//
	// Types that are valid to be assigned to Filter:
	//
	//	*Filter_StackFilter
	//	*Filter_FrameFilter
	Filter isFilter_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

Filter to apply to the query request

func (*Filter) ClearFilter

func (x *Filter) ClearFilter()

func (*Filter) ClearFrameFilter

func (x *Filter) ClearFrameFilter()

func (*Filter) ClearStackFilter

func (x *Filter) ClearStackFilter()

func (*Filter) GetFilter

func (x *Filter) GetFilter() isFilter_Filter

func (*Filter) GetFrameFilter

func (x *Filter) GetFrameFilter() *FrameFilter

func (*Filter) GetStackFilter

func (x *Filter) GetStackFilter() *StackFilter

func (*Filter) HasFilter

func (x *Filter) HasFilter() bool

func (*Filter) HasFrameFilter

func (x *Filter) HasFrameFilter() bool

func (*Filter) HasStackFilter

func (x *Filter) HasStackFilter() bool

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) SetFrameFilter

func (x *Filter) SetFrameFilter(v *FrameFilter)

func (*Filter) SetStackFilter

func (x *Filter) SetStackFilter(v *StackFilter)

func (*Filter) String

func (x *Filter) String() string

func (*Filter) WhichFilter

func (x *Filter) WhichFilter() case_Filter_Filter

type FilterCriteria

type FilterCriteria struct {

	// function_name filters by the function name
	FunctionName *StringCondition `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	// system_name filters by the system name
	SystemName *StringCondition `protobuf:"bytes,2,opt,name=system_name,json=systemName,proto3" json:"system_name,omitempty"`
	// binary filters by the binary/executable name
	Binary *StringCondition `protobuf:"bytes,3,opt,name=binary,proto3" json:"binary,omitempty"`
	// filename filters by the source code filename
	Filename *StringCondition `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"`
	// address filters by the memory address
	Address *NumberCondition `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	// line_number filters by the source code line number
	LineNumber *NumberCondition `protobuf:"bytes,6,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
	// contains filtered or unexported fields
}

FilterCriteria defines the various criteria that can be used to filter stack frames or stacks

func (*FilterCriteria) ClearAddress

func (x *FilterCriteria) ClearAddress()

func (*FilterCriteria) ClearBinary

func (x *FilterCriteria) ClearBinary()

func (*FilterCriteria) ClearFilename

func (x *FilterCriteria) ClearFilename()

func (*FilterCriteria) ClearFunctionName

func (x *FilterCriteria) ClearFunctionName()

func (*FilterCriteria) ClearLineNumber

func (x *FilterCriteria) ClearLineNumber()

func (*FilterCriteria) ClearSystemName

func (x *FilterCriteria) ClearSystemName()

func (*FilterCriteria) GetAddress

func (x *FilterCriteria) GetAddress() *NumberCondition

func (*FilterCriteria) GetBinary

func (x *FilterCriteria) GetBinary() *StringCondition

func (*FilterCriteria) GetFilename

func (x *FilterCriteria) GetFilename() *StringCondition

func (*FilterCriteria) GetFunctionName

func (x *FilterCriteria) GetFunctionName() *StringCondition

func (*FilterCriteria) GetLineNumber

func (x *FilterCriteria) GetLineNumber() *NumberCondition

func (*FilterCriteria) GetSystemName

func (x *FilterCriteria) GetSystemName() *StringCondition

func (*FilterCriteria) HasAddress

func (x *FilterCriteria) HasAddress() bool

func (*FilterCriteria) HasBinary

func (x *FilterCriteria) HasBinary() bool

func (*FilterCriteria) HasFilename

func (x *FilterCriteria) HasFilename() bool

func (*FilterCriteria) HasFunctionName

func (x *FilterCriteria) HasFunctionName() bool

func (*FilterCriteria) HasLineNumber

func (x *FilterCriteria) HasLineNumber() bool

func (*FilterCriteria) HasSystemName

func (x *FilterCriteria) HasSystemName() bool

func (*FilterCriteria) ProtoMessage

func (*FilterCriteria) ProtoMessage()

func (*FilterCriteria) ProtoReflect

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

func (*FilterCriteria) Reset

func (x *FilterCriteria) Reset()

func (*FilterCriteria) SetAddress

func (x *FilterCriteria) SetAddress(v *NumberCondition)

func (*FilterCriteria) SetBinary

func (x *FilterCriteria) SetBinary(v *StringCondition)

func (*FilterCriteria) SetFilename

func (x *FilterCriteria) SetFilename(v *StringCondition)

func (*FilterCriteria) SetFunctionName

func (x *FilterCriteria) SetFunctionName(v *StringCondition)

func (*FilterCriteria) SetLineNumber

func (x *FilterCriteria) SetLineNumber(v *NumberCondition)

func (*FilterCriteria) SetSystemName

func (x *FilterCriteria) SetSystemName(v *StringCondition)

func (*FilterCriteria) String

func (x *FilterCriteria) String() string

type FilterCriteria_builder

type FilterCriteria_builder struct {

	// function_name filters by the function name
	FunctionName *StringCondition
	// system_name filters by the system name
	SystemName *StringCondition
	// binary filters by the binary/executable name
	Binary *StringCondition
	// filename filters by the source code filename
	Filename *StringCondition
	// address filters by the memory address
	Address *NumberCondition
	// line_number filters by the source code line number
	LineNumber *NumberCondition
	// contains filtered or unexported fields
}

func (FilterCriteria_builder) Build

type Filter_FrameFilter

type Filter_FrameFilter struct {
	// frame_filter is a filter for filtering by frames
	FrameFilter *FrameFilter `protobuf:"bytes,2,opt,name=frame_filter,json=frameFilter,proto3,oneof"`
}

type Filter_StackFilter

type Filter_StackFilter struct {
	// stack_filter is a filter for filtering by stacks
	StackFilter *StackFilter `protobuf:"bytes,1,opt,name=stack_filter,json=stackFilter,proto3,oneof"`
}

type Filter_builder

type Filter_builder struct {

	// Fields of oneof Filter:
	// stack_filter is a filter for filtering by stacks
	StackFilter *StackFilter
	// frame_filter is a filter for filtering by frames
	FrameFilter *FrameFilter
	// contains filtered or unexported fields
}

func (Filter_builder) Build

func (b0 Filter_builder) Build() *Filter

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) ClearRoot

func (x *Flamegraph) ClearRoot()

func (*Flamegraph) GetFunction

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

func (*Flamegraph) GetHeight

func (x *Flamegraph) GetHeight() int32

func (*Flamegraph) GetLocations

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

func (*Flamegraph) GetMapping

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

func (*Flamegraph) GetRoot

func (x *Flamegraph) GetRoot() *FlamegraphRootNode

func (*Flamegraph) GetStringTable

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

func (x *Flamegraph) GetTrimmed() int64

func (*Flamegraph) GetUnit

func (x *Flamegraph) GetUnit() string

func (*Flamegraph) GetUntrimmedTotal deprecated

func (x *Flamegraph) GetUntrimmedTotal() int64

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

func (*Flamegraph) HasRoot

func (x *Flamegraph) HasRoot() bool

func (*Flamegraph) ProtoMessage

func (*Flamegraph) ProtoMessage()

func (*Flamegraph) ProtoReflect

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

func (*Flamegraph) Reset

func (x *Flamegraph) Reset()

func (*Flamegraph) SetFunction

func (x *Flamegraph) SetFunction(v []*v1alpha11.Function)

func (*Flamegraph) SetHeight

func (x *Flamegraph) SetHeight(v int32)

func (*Flamegraph) SetLocations

func (x *Flamegraph) SetLocations(v []*v1alpha11.Location)

func (*Flamegraph) SetMapping

func (x *Flamegraph) SetMapping(v []*v1alpha11.Mapping)

func (*Flamegraph) SetRoot

func (x *Flamegraph) SetRoot(v *FlamegraphRootNode)

func (*Flamegraph) SetStringTable

func (x *Flamegraph) SetStringTable(v []string)

func (*Flamegraph) SetTotal deprecated

func (x *Flamegraph) SetTotal(v int64)

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

func (*Flamegraph) SetTrimmed

func (x *Flamegraph) SetTrimmed(v int64)

func (*Flamegraph) SetUnit

func (x *Flamegraph) SetUnit(v string)

func (*Flamegraph) SetUntrimmedTotal deprecated

func (x *Flamegraph) SetUntrimmedTotal(v int64)

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

func (*Flamegraph) String

func (x *Flamegraph) String() string

type FlamegraphArrow

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) GetHeight

func (x *FlamegraphArrow) GetHeight() int32

func (*FlamegraphArrow) GetRecord

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

func (*FlamegraphArrow) GetTrimmed

func (x *FlamegraphArrow) GetTrimmed() int64

func (*FlamegraphArrow) GetUnit

func (x *FlamegraphArrow) GetUnit() string

func (*FlamegraphArrow) ProtoMessage

func (*FlamegraphArrow) ProtoMessage()

func (*FlamegraphArrow) ProtoReflect

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

func (*FlamegraphArrow) Reset

func (x *FlamegraphArrow) Reset()

func (*FlamegraphArrow) SetHeight

func (x *FlamegraphArrow) SetHeight(v int32)

func (*FlamegraphArrow) SetRecord

func (x *FlamegraphArrow) SetRecord(v []byte)

func (*FlamegraphArrow) SetTrimmed

func (x *FlamegraphArrow) SetTrimmed(v int64)

func (*FlamegraphArrow) SetUnit

func (x *FlamegraphArrow) SetUnit(v string)

func (*FlamegraphArrow) String

func (x *FlamegraphArrow) String() string

type FlamegraphArrow_builder

type FlamegraphArrow_builder struct {

	// record is the arrow record containing the actual flamegraph data
	Record []byte
	// unit is the unit represented by the flame graph
	Unit string
	// height is the max height of the graph
	Height int32
	// trimmed is the amount of cumulative value trimmed from the flame graph.
	Trimmed int64
	// contains filtered or unexported fields
}

func (FlamegraphArrow_builder) Build

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) ClearMeta

func (x *FlamegraphNode) ClearMeta()

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) HasMeta

func (x *FlamegraphNode) HasMeta() bool

func (*FlamegraphNode) ProtoMessage

func (*FlamegraphNode) ProtoMessage()

func (*FlamegraphNode) ProtoReflect

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

func (*FlamegraphNode) Reset

func (x *FlamegraphNode) Reset()

func (*FlamegraphNode) SetChildren

func (x *FlamegraphNode) SetChildren(v []*FlamegraphNode)

func (*FlamegraphNode) SetCumulative

func (x *FlamegraphNode) SetCumulative(v int64)

func (*FlamegraphNode) SetDiff

func (x *FlamegraphNode) SetDiff(v int64)

func (*FlamegraphNode) SetMeta

func (x *FlamegraphNode) SetMeta(v *FlamegraphNodeMeta)

func (*FlamegraphNode) String

func (x *FlamegraphNode) String() string

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) ClearFunction

func (x *FlamegraphNodeMeta) ClearFunction()

func (*FlamegraphNodeMeta) ClearLine

func (x *FlamegraphNodeMeta) ClearLine()

func (*FlamegraphNodeMeta) ClearLocation

func (x *FlamegraphNodeMeta) ClearLocation()

func (*FlamegraphNodeMeta) ClearMapping

func (x *FlamegraphNodeMeta) ClearMapping()

func (*FlamegraphNodeMeta) GetFunction

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

func (*FlamegraphNodeMeta) GetLine

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

func (*FlamegraphNodeMeta) GetLineIndex

func (x *FlamegraphNodeMeta) GetLineIndex() uint32

func (*FlamegraphNodeMeta) GetLocation

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

func (*FlamegraphNodeMeta) GetLocationIndex

func (x *FlamegraphNodeMeta) GetLocationIndex() uint32

func (*FlamegraphNodeMeta) GetMapping

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

func (*FlamegraphNodeMeta) HasFunction

func (x *FlamegraphNodeMeta) HasFunction() bool

func (*FlamegraphNodeMeta) HasLine

func (x *FlamegraphNodeMeta) HasLine() bool

func (*FlamegraphNodeMeta) HasLocation

func (x *FlamegraphNodeMeta) HasLocation() bool

func (*FlamegraphNodeMeta) HasMapping

func (x *FlamegraphNodeMeta) HasMapping() bool

func (*FlamegraphNodeMeta) ProtoMessage

func (*FlamegraphNodeMeta) ProtoMessage()

func (*FlamegraphNodeMeta) ProtoReflect

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

func (*FlamegraphNodeMeta) Reset

func (x *FlamegraphNodeMeta) Reset()

func (*FlamegraphNodeMeta) SetFunction

func (x *FlamegraphNodeMeta) SetFunction(v *v1alpha11.Function)

func (*FlamegraphNodeMeta) SetLine

func (x *FlamegraphNodeMeta) SetLine(v *v1alpha11.Line)

func (*FlamegraphNodeMeta) SetLineIndex

func (x *FlamegraphNodeMeta) SetLineIndex(v uint32)

func (*FlamegraphNodeMeta) SetLocation

func (x *FlamegraphNodeMeta) SetLocation(v *v1alpha11.Location)

func (*FlamegraphNodeMeta) SetLocationIndex

func (x *FlamegraphNodeMeta) SetLocationIndex(v uint32)

func (*FlamegraphNodeMeta) SetMapping

func (x *FlamegraphNodeMeta) SetMapping(v *v1alpha11.Mapping)

func (*FlamegraphNodeMeta) String

func (x *FlamegraphNodeMeta) String() string

type FlamegraphNodeMeta_builder

type FlamegraphNodeMeta_builder struct {

	// location is the location for the code
	Location *v1alpha11.Location
	// mapping is the mapping into code
	Mapping *v1alpha11.Mapping
	// function is the function information
	Function *v1alpha11.Function
	// line is the line location
	Line *v1alpha11.Line
	// location_index has the index to the deduplicated location in the location table.
	LocationIndex uint32
	// line_index is the line index within the referenced location.
	LineIndex uint32
	// contains filtered or unexported fields
}

func (FlamegraphNodeMeta_builder) Build

type FlamegraphNode_builder

type FlamegraphNode_builder struct {

	// meta is the metadata about the node
	Meta *FlamegraphNodeMeta
	// cumulative is the cumulative value of the node
	Cumulative int64
	// diff is the diff
	Diff int64
	// children are the child nodes
	Children []*FlamegraphNode
	// contains filtered or unexported fields
}

func (FlamegraphNode_builder) Build

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) GetChildren

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

func (*FlamegraphRootNode) GetCumulative

func (x *FlamegraphRootNode) GetCumulative() int64

func (*FlamegraphRootNode) GetDiff

func (x *FlamegraphRootNode) GetDiff() int64

func (*FlamegraphRootNode) ProtoMessage

func (*FlamegraphRootNode) ProtoMessage()

func (*FlamegraphRootNode) ProtoReflect

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

func (*FlamegraphRootNode) Reset

func (x *FlamegraphRootNode) Reset()

func (*FlamegraphRootNode) SetChildren

func (x *FlamegraphRootNode) SetChildren(v []*FlamegraphNode)

func (*FlamegraphRootNode) SetCumulative

func (x *FlamegraphRootNode) SetCumulative(v int64)

func (*FlamegraphRootNode) SetDiff

func (x *FlamegraphRootNode) SetDiff(v int64)

func (*FlamegraphRootNode) String

func (x *FlamegraphRootNode) String() string

type FlamegraphRootNode_builder

type FlamegraphRootNode_builder struct {

	// cumulative is the cumulative value of the graph
	Cumulative int64
	// diff is the diff
	Diff int64
	// children are the list of the children of the root node
	Children []*FlamegraphNode
	// contains filtered or unexported fields
}

func (FlamegraphRootNode_builder) Build

type Flamegraph_builder

type Flamegraph_builder struct {

	// root is the root of the flame graph
	Root *FlamegraphRootNode
	// 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
	// unit is the unit represented by the flame graph
	Unit string
	// height is the max height of the graph
	Height int32
	// string_table holds all deduplicated strings used in the meta data.
	StringTable []string
	// locations deduplicated by their ID to be referenced by nodes.
	Locations []*v1alpha11.Location
	// mapping deduplicated by their ID to be referenced by nodes.
	Mapping []*v1alpha11.Mapping
	// function deduplicated by their ID to be referenced by nodes.
	Function []*v1alpha11.Function
	// 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
	// trimmed is the amount of cumulative value trimmed from the flame graph.
	Trimmed int64
	// contains filtered or unexported fields
}

func (Flamegraph_builder) Build

func (b0 Flamegraph_builder) Build() *Flamegraph

type FrameFilter

type FrameFilter struct {

	// filter contains the different methods in which you can filter a frame
	//
	// Types that are valid to be assigned to Filter:
	//
	//	*FrameFilter_BinaryFrameFilter
	//	*FrameFilter_Criteria
	Filter isFrameFilter_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

FrameFilter applies filtering criteria to individual stack frames

func (*FrameFilter) ClearBinaryFrameFilter deprecated

func (x *FrameFilter) ClearBinaryFrameFilter()

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

func (*FrameFilter) ClearCriteria

func (x *FrameFilter) ClearCriteria()

func (*FrameFilter) ClearFilter

func (x *FrameFilter) ClearFilter()

func (*FrameFilter) GetBinaryFrameFilter deprecated

func (x *FrameFilter) GetBinaryFrameFilter() *BinaryFrameFilter

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

func (*FrameFilter) GetCriteria

func (x *FrameFilter) GetCriteria() *FilterCriteria

func (*FrameFilter) GetFilter

func (x *FrameFilter) GetFilter() isFrameFilter_Filter

func (*FrameFilter) HasBinaryFrameFilter deprecated

func (x *FrameFilter) HasBinaryFrameFilter() bool

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

func (*FrameFilter) HasCriteria

func (x *FrameFilter) HasCriteria() bool

func (*FrameFilter) HasFilter

func (x *FrameFilter) HasFilter() bool

func (*FrameFilter) ProtoMessage

func (*FrameFilter) ProtoMessage()

func (*FrameFilter) ProtoReflect

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

func (*FrameFilter) Reset

func (x *FrameFilter) Reset()

func (*FrameFilter) SetBinaryFrameFilter deprecated

func (x *FrameFilter) SetBinaryFrameFilter(v *BinaryFrameFilter)

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

func (*FrameFilter) SetCriteria

func (x *FrameFilter) SetCriteria(v *FilterCriteria)

func (*FrameFilter) String

func (x *FrameFilter) String() string

func (*FrameFilter) WhichFilter

func (x *FrameFilter) WhichFilter() case_FrameFilter_Filter

type FrameFilter_BinaryFrameFilter

type FrameFilter_BinaryFrameFilter struct {
	// binary_frame_filter is the list of binary names to filter by
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	BinaryFrameFilter *BinaryFrameFilter `protobuf:"bytes,1,opt,name=binary_frame_filter,json=binaryFrameFilter,proto3,oneof"`
}

type FrameFilter_Criteria

type FrameFilter_Criteria struct {
	// criteria defines the filter conditions to apply to individual frames
	Criteria *FilterCriteria `protobuf:"bytes,2,opt,name=criteria,proto3,oneof"`
}

type FrameFilter_builder

type FrameFilter_builder struct {

	// Fields of oneof Filter:
	// binary_frame_filter is the list of binary names to filter by
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	BinaryFrameFilter *BinaryFrameFilter
	// criteria defines the filter conditions to apply to individual frames
	Criteria *FilterCriteria
	// contains filtered or unexported fields
}

func (FrameFilter_builder) Build

func (b0 FrameFilter_builder) Build() *FrameFilter

type FunctionNameStackFilter

type FunctionNameStackFilter struct {

	// function_to_filter is the function name to filter by
	FunctionToFilter string `protobuf:"bytes,1,opt,name=function_to_filter,json=functionToFilter,proto3" json:"function_to_filter,omitempty"`
	// exclude determines whether to exclude stacks matching the function
	Exclude bool `protobuf:"varint,2,opt,name=exclude,proto3" json:"exclude,omitempty"`
	// contains filtered or unexported fields
}

FunctionNameStackFilter is a filter for filtering by function name

func (*FunctionNameStackFilter) GetExclude

func (x *FunctionNameStackFilter) GetExclude() bool

func (*FunctionNameStackFilter) GetFunctionToFilter

func (x *FunctionNameStackFilter) GetFunctionToFilter() string

func (*FunctionNameStackFilter) ProtoMessage

func (*FunctionNameStackFilter) ProtoMessage()

func (*FunctionNameStackFilter) ProtoReflect

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

func (*FunctionNameStackFilter) Reset

func (x *FunctionNameStackFilter) Reset()

func (*FunctionNameStackFilter) SetExclude

func (x *FunctionNameStackFilter) SetExclude(v bool)

func (*FunctionNameStackFilter) SetFunctionToFilter

func (x *FunctionNameStackFilter) SetFunctionToFilter(v string)

func (*FunctionNameStackFilter) String

func (x *FunctionNameStackFilter) String() string

type FunctionNameStackFilter_builder

type FunctionNameStackFilter_builder struct {

	// function_to_filter is the function name to filter by
	FunctionToFilter string
	// exclude determines whether to exclude stacks matching the function
	Exclude bool
	// contains filtered or unexported fields
}

func (FunctionNameStackFilter_builder) Build

type GroupBy

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) GetFields

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

func (*GroupBy) ProtoMessage

func (*GroupBy) ProtoMessage()

func (*GroupBy) ProtoReflect

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

func (*GroupBy) Reset

func (x *GroupBy) Reset()

func (*GroupBy) SetFields

func (x *GroupBy) SetFields(v []string)

func (*GroupBy) String

func (x *GroupBy) String() string

type GroupBy_builder

type GroupBy_builder 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
	// contains filtered or unexported fields
}

func (GroupBy_builder) Build

func (b0 GroupBy_builder) Build() *GroupBy

type HasProfileDataRequest

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

HasProfileDataRequest is the request to check if there is profile data in the store

func (*HasProfileDataRequest) ProtoMessage

func (*HasProfileDataRequest) ProtoMessage()

func (*HasProfileDataRequest) ProtoReflect

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

func (*HasProfileDataRequest) Reset

func (x *HasProfileDataRequest) Reset()

func (*HasProfileDataRequest) String

func (x *HasProfileDataRequest) String() string

type HasProfileDataRequest_builder

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

func (HasProfileDataRequest_builder) Build

type HasProfileDataResponse

type HasProfileDataResponse struct {

	// has_data indicates whether there is profile data in the store
	HasData bool `protobuf:"varint,1,opt,name=has_data,json=hasData,proto3" json:"has_data,omitempty"`
	// contains filtered or unexported fields
}

HasProfileDataResponse is the response indicating whether there is profile data in the store

func (*HasProfileDataResponse) GetHasData

func (x *HasProfileDataResponse) GetHasData() bool

func (*HasProfileDataResponse) ProtoMessage

func (*HasProfileDataResponse) ProtoMessage()

func (*HasProfileDataResponse) ProtoReflect

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

func (*HasProfileDataResponse) Reset

func (x *HasProfileDataResponse) Reset()

func (*HasProfileDataResponse) SetHasData

func (x *HasProfileDataResponse) SetHasData(v bool)

func (*HasProfileDataResponse) String

func (x *HasProfileDataResponse) String() string

type HasProfileDataResponse_builder

type HasProfileDataResponse_builder struct {

	// has_data indicates whether there is profile data in the store
	HasData bool
	// contains filtered or unexported fields
}

func (HasProfileDataResponse_builder) Build

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"`
	// profile_type is the type of profile to filter by
	ProfileType *string `protobuf:"bytes,4,opt,name=profile_type,json=profileType,proto3,oneof" json:"profile_type,omitempty"`
	// contains filtered or unexported fields
}

LabelsRequest are the request values for labels

func (*LabelsRequest) ClearEnd

func (x *LabelsRequest) ClearEnd()

func (*LabelsRequest) ClearProfileType

func (x *LabelsRequest) ClearProfileType()

func (*LabelsRequest) ClearStart

func (x *LabelsRequest) ClearStart()

func (*LabelsRequest) GetEnd

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

func (*LabelsRequest) GetMatch

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

func (*LabelsRequest) GetProfileType

func (x *LabelsRequest) GetProfileType() string

func (*LabelsRequest) GetStart

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

func (*LabelsRequest) HasEnd

func (x *LabelsRequest) HasEnd() bool

func (*LabelsRequest) HasProfileType

func (x *LabelsRequest) HasProfileType() bool

func (*LabelsRequest) HasStart

func (x *LabelsRequest) HasStart() bool

func (*LabelsRequest) ProtoMessage

func (*LabelsRequest) ProtoMessage()

func (*LabelsRequest) ProtoReflect

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

func (*LabelsRequest) Reset

func (x *LabelsRequest) Reset()

func (*LabelsRequest) SetEnd

func (x *LabelsRequest) SetEnd(v *timestamppb.Timestamp)

func (*LabelsRequest) SetMatch

func (x *LabelsRequest) SetMatch(v []string)

func (*LabelsRequest) SetProfileType

func (x *LabelsRequest) SetProfileType(v string)

func (*LabelsRequest) SetStart

func (x *LabelsRequest) SetStart(v *timestamppb.Timestamp)

func (*LabelsRequest) String

func (x *LabelsRequest) String() string

type LabelsRequest_builder

type LabelsRequest_builder struct {

	// match are the set of matching strings
	Match []string
	// start is the start of the time window to perform the query
	Start *timestamppb.Timestamp
	// end is the end of the time window to perform the query
	End *timestamppb.Timestamp
	// profile_type is the type of profile to filter by
	ProfileType *string
	// contains filtered or unexported fields
}

func (LabelsRequest_builder) Build

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) GetLabelNames

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

func (*LabelsResponse) GetWarnings

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

func (*LabelsResponse) ProtoMessage

func (*LabelsResponse) ProtoMessage()

func (*LabelsResponse) ProtoReflect

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

func (*LabelsResponse) Reset

func (x *LabelsResponse) Reset()

func (*LabelsResponse) SetLabelNames

func (x *LabelsResponse) SetLabelNames(v []string)

func (*LabelsResponse) SetWarnings

func (x *LabelsResponse) SetWarnings(v []string)

func (*LabelsResponse) String

func (x *LabelsResponse) String() string

type LabelsResponse_builder

type LabelsResponse_builder struct {

	// / label_names are the set of matching label names
	LabelNames []string
	// warnings is unimplemented
	Warnings []string
	// contains filtered or unexported fields
}

func (LabelsResponse_builder) Build

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) ClearEnd

func (x *MergeProfile) ClearEnd()

func (*MergeProfile) ClearStart

func (x *MergeProfile) ClearStart()

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) HasEnd

func (x *MergeProfile) HasEnd() bool

func (*MergeProfile) HasStart

func (x *MergeProfile) HasStart() bool

func (*MergeProfile) ProtoMessage

func (*MergeProfile) ProtoMessage()

func (*MergeProfile) ProtoReflect

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

func (*MergeProfile) Reset

func (x *MergeProfile) Reset()

func (*MergeProfile) SetEnd

func (x *MergeProfile) SetEnd(v *timestamppb.Timestamp)

func (*MergeProfile) SetQuery

func (x *MergeProfile) SetQuery(v string)

func (*MergeProfile) SetStart

func (x *MergeProfile) SetStart(v *timestamppb.Timestamp)

func (*MergeProfile) String

func (x *MergeProfile) String() string

type MergeProfile_builder

type MergeProfile_builder struct {

	// query is the query string to match profiles for merge
	Query string
	// start is the beginning of the evaluation time window
	Start *timestamppb.Timestamp
	// end is the end of the evaluation time window
	End *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (MergeProfile_builder) Build

func (b0 MergeProfile_builder) Build() *MergeProfile

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"`
	// count is the number of samples aggregated into this data point.
	Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

MetricsSample is a cumulative value and timestamp of a profile

func (*MetricsSample) ClearTimestamp

func (x *MetricsSample) ClearTimestamp()

func (*MetricsSample) GetCount

func (x *MetricsSample) GetCount() int32

func (*MetricsSample) GetDuration

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

func (x *MetricsSample) GetValuePerSecond() float64

func (*MetricsSample) HasTimestamp

func (x *MetricsSample) HasTimestamp() bool

func (*MetricsSample) ProtoMessage

func (*MetricsSample) ProtoMessage()

func (*MetricsSample) ProtoReflect

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

func (*MetricsSample) Reset

func (x *MetricsSample) Reset()

func (*MetricsSample) SetCount

func (x *MetricsSample) SetCount(v int32)

func (*MetricsSample) SetDuration

func (x *MetricsSample) SetDuration(v int64)

func (*MetricsSample) SetTimestamp

func (x *MetricsSample) SetTimestamp(v *timestamppb.Timestamp)

func (*MetricsSample) SetValue

func (x *MetricsSample) SetValue(v int64)

func (*MetricsSample) SetValuePerSecond

func (x *MetricsSample) SetValuePerSecond(v float64)

func (*MetricsSample) String

func (x *MetricsSample) String() string

type MetricsSample_builder

type MetricsSample_builder struct {

	// timestamp is the time the profile was ingested
	Timestamp *timestamppb.Timestamp
	// value is the cumulative value for the profile
	Value int64
	// value_per_second is the calculated per second average in the steps duration
	ValuePerSecond float64
	// duration is the normalized aggregated duration the metric samples has been observed over.
	Duration int64
	// count is the number of samples aggregated into this data point.
	Count int32
	// contains filtered or unexported fields
}

func (MetricsSample_builder) Build

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) ClearLabelset

func (x *MetricsSeries) ClearLabelset()

func (*MetricsSeries) ClearPeriodType

func (x *MetricsSeries) ClearPeriodType()

func (*MetricsSeries) ClearSampleType

func (x *MetricsSeries) ClearSampleType()

func (*MetricsSeries) GetLabelset

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

func (*MetricsSeries) GetPeriodType

func (x *MetricsSeries) GetPeriodType() *ValueType

func (*MetricsSeries) GetSampleType

func (x *MetricsSeries) GetSampleType() *ValueType

func (*MetricsSeries) GetSamples

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

func (*MetricsSeries) HasLabelset

func (x *MetricsSeries) HasLabelset() bool

func (*MetricsSeries) HasPeriodType

func (x *MetricsSeries) HasPeriodType() bool

func (*MetricsSeries) HasSampleType

func (x *MetricsSeries) HasSampleType() bool

func (*MetricsSeries) ProtoMessage

func (*MetricsSeries) ProtoMessage()

func (*MetricsSeries) ProtoReflect

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

func (*MetricsSeries) Reset

func (x *MetricsSeries) Reset()

func (*MetricsSeries) SetLabelset

func (x *MetricsSeries) SetLabelset(v *v1alpha1.LabelSet)

func (*MetricsSeries) SetPeriodType

func (x *MetricsSeries) SetPeriodType(v *ValueType)

func (*MetricsSeries) SetSampleType

func (x *MetricsSeries) SetSampleType(v *ValueType)

func (*MetricsSeries) SetSamples

func (x *MetricsSeries) SetSamples(v []*MetricsSample)

func (*MetricsSeries) String

func (x *MetricsSeries) String() string

type MetricsSeries_builder

type MetricsSeries_builder struct {

	// labelset is the set of key value pairs
	Labelset *v1alpha1.LabelSet
	// samples is the set of top-level cumulative values of the corresponding profiles
	Samples []*MetricsSample
	// period_type is the value type of profile period
	PeriodType *ValueType
	// sample_type is the value type of profile sample
	SampleType *ValueType
	// contains filtered or unexported fields
}

func (MetricsSeries_builder) Build

type NumberCondition

type NumberCondition struct {

	// condition specifies the type of numeric comparison to perform
	//
	// Types that are valid to be assigned to Condition:
	//
	//	*NumberCondition_Equal
	//	*NumberCondition_NotEqual
	Condition isNumberCondition_Condition `protobuf_oneof:"condition"`
	// contains filtered or unexported fields
}

NumberCondition defines numeric filtering conditions

func (*NumberCondition) ClearCondition

func (x *NumberCondition) ClearCondition()

func (*NumberCondition) ClearEqual

func (x *NumberCondition) ClearEqual()

func (*NumberCondition) ClearNotEqual

func (x *NumberCondition) ClearNotEqual()

func (*NumberCondition) GetCondition

func (x *NumberCondition) GetCondition() isNumberCondition_Condition

func (*NumberCondition) GetEqual

func (x *NumberCondition) GetEqual() uint64

func (*NumberCondition) GetNotEqual

func (x *NumberCondition) GetNotEqual() uint64

func (*NumberCondition) HasCondition

func (x *NumberCondition) HasCondition() bool

func (*NumberCondition) HasEqual

func (x *NumberCondition) HasEqual() bool

func (*NumberCondition) HasNotEqual

func (x *NumberCondition) HasNotEqual() bool

func (*NumberCondition) ProtoMessage

func (*NumberCondition) ProtoMessage()

func (*NumberCondition) ProtoReflect

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

func (*NumberCondition) Reset

func (x *NumberCondition) Reset()

func (*NumberCondition) SetEqual

func (x *NumberCondition) SetEqual(v uint64)

func (*NumberCondition) SetNotEqual

func (x *NumberCondition) SetNotEqual(v uint64)

func (*NumberCondition) String

func (x *NumberCondition) String() string

func (*NumberCondition) WhichCondition

func (x *NumberCondition) WhichCondition() case_NumberCondition_Condition

type NumberCondition_Equal

type NumberCondition_Equal struct {
	// equal matches numbers that are exactly equal
	Equal uint64 `protobuf:"varint,1,opt,name=equal,proto3,oneof"`
}

type NumberCondition_NotEqual

type NumberCondition_NotEqual struct {
	// not_equal matches numbers that are not equal
	NotEqual uint64 `protobuf:"varint,2,opt,name=not_equal,json=notEqual,proto3,oneof"`
}

type NumberCondition_builder

type NumberCondition_builder struct {

	// Fields of oneof Condition:
	// equal matches numbers that are exactly equal
	Equal *uint64
	// not_equal matches numbers that are not equal
	NotEqual *uint64
	// contains filtered or unexported fields
}

func (NumberCondition_builder) Build

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 valid to be assigned 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) ClearMerge

func (x *ProfileDiffSelection) ClearMerge()

func (*ProfileDiffSelection) ClearOptions

func (x *ProfileDiffSelection) ClearOptions()

func (*ProfileDiffSelection) ClearSingle

func (x *ProfileDiffSelection) ClearSingle()

func (*ProfileDiffSelection) GetMerge

func (x *ProfileDiffSelection) GetMerge() *MergeProfile

func (*ProfileDiffSelection) GetMode

func (*ProfileDiffSelection) GetOptions

func (x *ProfileDiffSelection) GetOptions() isProfileDiffSelection_Options

func (*ProfileDiffSelection) GetSingle

func (x *ProfileDiffSelection) GetSingle() *SingleProfile

func (*ProfileDiffSelection) HasMerge

func (x *ProfileDiffSelection) HasMerge() bool

func (*ProfileDiffSelection) HasOptions

func (x *ProfileDiffSelection) HasOptions() bool

func (*ProfileDiffSelection) HasSingle

func (x *ProfileDiffSelection) HasSingle() bool

func (*ProfileDiffSelection) ProtoMessage

func (*ProfileDiffSelection) ProtoMessage()

func (*ProfileDiffSelection) ProtoReflect

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

func (*ProfileDiffSelection) Reset

func (x *ProfileDiffSelection) Reset()

func (*ProfileDiffSelection) SetMerge

func (x *ProfileDiffSelection) SetMerge(v *MergeProfile)

func (*ProfileDiffSelection) SetMode

func (*ProfileDiffSelection) SetSingle

func (x *ProfileDiffSelection) SetSingle(v *SingleProfile)

func (*ProfileDiffSelection) String

func (x *ProfileDiffSelection) String() string

func (*ProfileDiffSelection) WhichOptions

func (x *ProfileDiffSelection) WhichOptions() case_ProfileDiffSelection_Options

type ProfileDiffSelection_Merge

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

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) 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"`
}

type ProfileDiffSelection_builder

type ProfileDiffSelection_builder struct {

	// mode is the selection of the diff mode
	Mode ProfileDiffSelection_Mode

	// Fields of oneof Options:
	// merge contains options for a merge request
	Merge *MergeProfile
	// single contains options for a single profile request
	Single *SingleProfile
	// contains filtered or unexported fields
}

func (ProfileDiffSelection_builder) Build

type ProfileMetadata

type ProfileMetadata struct {

	// mapping_files is the list of binaries in the profile
	MappingFiles []string `protobuf:"bytes,1,rep,name=mapping_files,json=mappingFiles,proto3" json:"mapping_files,omitempty"`
	// labels is the list of labels in the profile
	Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

ProfileMetadata contains metadata about the profile i.e. binaries, labels

func (*ProfileMetadata) GetLabels

func (x *ProfileMetadata) GetLabels() []string

func (*ProfileMetadata) GetMappingFiles

func (x *ProfileMetadata) GetMappingFiles() []string

func (*ProfileMetadata) ProtoMessage

func (*ProfileMetadata) ProtoMessage()

func (*ProfileMetadata) ProtoReflect

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

func (*ProfileMetadata) Reset

func (x *ProfileMetadata) Reset()

func (*ProfileMetadata) SetLabels

func (x *ProfileMetadata) SetLabels(v []string)

func (*ProfileMetadata) SetMappingFiles

func (x *ProfileMetadata) SetMappingFiles(v []string)

func (*ProfileMetadata) String

func (x *ProfileMetadata) String() string

type ProfileMetadata_builder

type ProfileMetadata_builder struct {

	// mapping_files is the list of binaries in the profile
	MappingFiles []string
	// labels is the list of labels in the profile
	Labels []string
	// contains filtered or unexported fields
}

func (ProfileMetadata_builder) Build

type ProfileType

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) GetDelta

func (x *ProfileType) GetDelta() bool

func (*ProfileType) GetName

func (x *ProfileType) GetName() string

func (*ProfileType) GetPeriodType

func (x *ProfileType) GetPeriodType() string

func (*ProfileType) GetPeriodUnit

func (x *ProfileType) GetPeriodUnit() string

func (*ProfileType) GetSampleType

func (x *ProfileType) GetSampleType() string

func (*ProfileType) GetSampleUnit

func (x *ProfileType) GetSampleUnit() string

func (*ProfileType) ProtoMessage

func (*ProfileType) ProtoMessage()

func (*ProfileType) ProtoReflect

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

func (*ProfileType) Reset

func (x *ProfileType) Reset()

func (*ProfileType) SetDelta

func (x *ProfileType) SetDelta(v bool)

func (*ProfileType) SetName

func (x *ProfileType) SetName(v string)

func (*ProfileType) SetPeriodType

func (x *ProfileType) SetPeriodType(v string)

func (*ProfileType) SetPeriodUnit

func (x *ProfileType) SetPeriodUnit(v string)

func (*ProfileType) SetSampleType

func (x *ProfileType) SetSampleType(v string)

func (*ProfileType) SetSampleUnit

func (x *ProfileType) SetSampleUnit(v string)

func (*ProfileType) String

func (x *ProfileType) String() string

type ProfileType_builder

type ProfileType_builder struct {

	// name is the name of the profile type.
	Name string
	// sample_type is the type of the samples in the profile.
	SampleType string
	// sample_unit is the unit of the samples in the profile.
	SampleUnit string
	// period_type is the type of the periods in the profile.
	PeriodType string
	// period_unit is the unit of the periods in the profile.
	PeriodUnit string
	// delta describes whether the profile is a delta profile.
	Delta bool
	// contains filtered or unexported fields
}

func (ProfileType_builder) Build

func (b0 ProfileType_builder) Build() *ProfileType

type ProfileTypesRequest

type ProfileTypesRequest struct {

	// start is the start of the query time window
	Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3,oneof" json:"start,omitempty"`
	// end is the end of the query time window
	End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3,oneof" json:"end,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ProfileTypesRequest) ClearEnd

func (x *ProfileTypesRequest) ClearEnd()

func (*ProfileTypesRequest) ClearStart

func (x *ProfileTypesRequest) ClearStart()

func (*ProfileTypesRequest) GetEnd

func (*ProfileTypesRequest) GetStart

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

func (*ProfileTypesRequest) HasEnd

func (x *ProfileTypesRequest) HasEnd() bool

func (*ProfileTypesRequest) HasStart

func (x *ProfileTypesRequest) HasStart() bool

func (*ProfileTypesRequest) ProtoMessage

func (*ProfileTypesRequest) ProtoMessage()

func (*ProfileTypesRequest) ProtoReflect

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

func (*ProfileTypesRequest) Reset

func (x *ProfileTypesRequest) Reset()

func (*ProfileTypesRequest) SetEnd

func (*ProfileTypesRequest) SetStart

func (x *ProfileTypesRequest) SetStart(v *timestamppb.Timestamp)

func (*ProfileTypesRequest) String

func (x *ProfileTypesRequest) String() string

type ProfileTypesRequest_builder

type ProfileTypesRequest_builder struct {

	// start is the start of the query time window
	Start *timestamppb.Timestamp
	// end is the end of the query time window
	End *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (ProfileTypesRequest_builder) Build

type ProfileTypesResponse

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) GetTypes

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

func (*ProfileTypesResponse) ProtoMessage

func (*ProfileTypesResponse) ProtoMessage()

func (*ProfileTypesResponse) ProtoReflect

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

func (*ProfileTypesResponse) Reset

func (x *ProfileTypesResponse) Reset()

func (*ProfileTypesResponse) SetTypes

func (x *ProfileTypesResponse) SetTypes(v []*ProfileType)

func (*ProfileTypesResponse) String

func (x *ProfileTypesResponse) String() string

type ProfileTypesResponse_builder

type ProfileTypesResponse_builder struct {

	// types is the list of available profile types.
	Types []*ProfileType
	// contains filtered or unexported fields
}

func (ProfileTypesResponse_builder) Build

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"`
	// sum_by is the set of labels to sum by
	SumBy []string `protobuf:"bytes,6,rep,name=sum_by,json=sumBy,proto3" json:"sum_by,omitempty"`
	// contains filtered or unexported fields
}

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

func (*QueryRangeRequest) ClearEnd

func (x *QueryRangeRequest) ClearEnd()

func (*QueryRangeRequest) ClearStart

func (x *QueryRangeRequest) ClearStart()

func (*QueryRangeRequest) ClearStep

func (x *QueryRangeRequest) ClearStep()

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

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

func (*QueryRangeRequest) GetSumBy

func (x *QueryRangeRequest) GetSumBy() []string

func (*QueryRangeRequest) HasEnd

func (x *QueryRangeRequest) HasEnd() bool

func (*QueryRangeRequest) HasStart

func (x *QueryRangeRequest) HasStart() bool

func (*QueryRangeRequest) HasStep

func (x *QueryRangeRequest) HasStep() bool

func (*QueryRangeRequest) ProtoMessage

func (*QueryRangeRequest) ProtoMessage()

func (*QueryRangeRequest) ProtoReflect

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

func (*QueryRangeRequest) Reset

func (x *QueryRangeRequest) Reset()

func (*QueryRangeRequest) SetEnd

func (x *QueryRangeRequest) SetEnd(v *timestamppb.Timestamp)

func (*QueryRangeRequest) SetLimit

func (x *QueryRangeRequest) SetLimit(v uint32)

func (*QueryRangeRequest) SetQuery

func (x *QueryRangeRequest) SetQuery(v string)

func (*QueryRangeRequest) SetStart

func (x *QueryRangeRequest) SetStart(v *timestamppb.Timestamp)

func (*QueryRangeRequest) SetStep

func (x *QueryRangeRequest) SetStep(v *durationpb.Duration)

func (*QueryRangeRequest) SetSumBy

func (x *QueryRangeRequest) SetSumBy(v []string)

func (*QueryRangeRequest) String

func (x *QueryRangeRequest) String() string

type QueryRangeRequest_builder

type QueryRangeRequest_builder struct {

	// query is the query string to match profiles against
	Query string
	// start is the start of the query time window
	Start *timestamppb.Timestamp
	// end is the end of the query time window
	End *timestamppb.Timestamp
	// limit is the max number of profiles to include in the response
	Limit uint32
	// step is the duration of each sample returned.
	Step *durationpb.Duration
	// sum_by is the set of labels to sum by
	SumBy []string
	// contains filtered or unexported fields
}

func (QueryRangeRequest_builder) Build

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) GetSeries

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

func (*QueryRangeResponse) ProtoMessage

func (*QueryRangeResponse) ProtoMessage()

func (*QueryRangeResponse) ProtoReflect

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

func (*QueryRangeResponse) Reset

func (x *QueryRangeResponse) Reset()

func (*QueryRangeResponse) SetSeries

func (x *QueryRangeResponse) SetSeries(v []*MetricsSeries)

func (*QueryRangeResponse) String

func (x *QueryRangeResponse) String() string

type QueryRangeResponse_builder

type QueryRangeResponse_builder struct {

	// series is the set of metrics series that satisfy the query range request
	Series []*MetricsSeries
	// contains filtered or unexported fields
}

func (QueryRangeResponse_builder) Build

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 valid to be assigned 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
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	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
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	RuntimeFilter *RuntimeFilter `protobuf:"bytes,10,opt,name=runtime_filter,json=runtimeFilter,proto3,oneof" json:"runtime_filter,omitempty"`
	// invert_call_stack inverts the call stacks in the flamegraph
	InvertCallStack *bool `protobuf:"varint,11,opt,name=invert_call_stack,json=invertCallStack,proto3,oneof" json:"invert_call_stack,omitempty"`
	// a set of filter to apply to the query request
	Filter []*Filter `protobuf:"bytes,12,rep,name=filter,proto3" json:"filter,omitempty"`
	// sandwich_by_function is a function name to use for sandwich view functionality
	SandwichByFunction *string `protobuf:"bytes,13,opt,name=sandwich_by_function,json=sandwichByFunction,proto3,oneof" json:"sandwich_by_function,omitempty"`
	// contains filtered or unexported fields
}

QueryRequest is a request for a profile query

func (*QueryRequest) ClearDiff

func (x *QueryRequest) ClearDiff()

func (*QueryRequest) ClearFilterQuery deprecated

func (x *QueryRequest) ClearFilterQuery()

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

func (*QueryRequest) ClearGroupBy

func (x *QueryRequest) ClearGroupBy()

func (*QueryRequest) ClearInvertCallStack

func (x *QueryRequest) ClearInvertCallStack()

func (*QueryRequest) ClearMerge

func (x *QueryRequest) ClearMerge()

func (*QueryRequest) ClearNodeTrimThreshold

func (x *QueryRequest) ClearNodeTrimThreshold()

func (*QueryRequest) ClearOptions

func (x *QueryRequest) ClearOptions()

func (*QueryRequest) ClearRuntimeFilter deprecated

func (x *QueryRequest) ClearRuntimeFilter()

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

func (*QueryRequest) ClearSandwichByFunction

func (x *QueryRequest) ClearSandwichByFunction()

func (*QueryRequest) ClearSingle

func (x *QueryRequest) ClearSingle()

func (*QueryRequest) ClearSourceReference

func (x *QueryRequest) ClearSourceReference()

func (*QueryRequest) GetDiff

func (x *QueryRequest) GetDiff() *DiffProfile

func (*QueryRequest) GetFilter

func (x *QueryRequest) GetFilter() []*Filter

func (*QueryRequest) GetFilterQuery deprecated

func (x *QueryRequest) GetFilterQuery() string

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

func (*QueryRequest) GetGroupBy

func (x *QueryRequest) GetGroupBy() *GroupBy

func (*QueryRequest) GetInvertCallStack

func (x *QueryRequest) GetInvertCallStack() bool

func (*QueryRequest) GetMerge

func (x *QueryRequest) GetMerge() *MergeProfile

func (*QueryRequest) GetMode

func (x *QueryRequest) GetMode() QueryRequest_Mode

func (*QueryRequest) GetNodeTrimThreshold

func (x *QueryRequest) GetNodeTrimThreshold() float32

func (*QueryRequest) GetOptions

func (x *QueryRequest) GetOptions() isQueryRequest_Options

func (*QueryRequest) GetReportType

func (x *QueryRequest) GetReportType() QueryRequest_ReportType

func (*QueryRequest) GetRuntimeFilter deprecated

func (x *QueryRequest) GetRuntimeFilter() *RuntimeFilter

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

func (*QueryRequest) GetSandwichByFunction

func (x *QueryRequest) GetSandwichByFunction() string

func (*QueryRequest) GetSingle

func (x *QueryRequest) GetSingle() *SingleProfile

func (*QueryRequest) GetSourceReference

func (x *QueryRequest) GetSourceReference() *SourceReference

func (*QueryRequest) HasDiff

func (x *QueryRequest) HasDiff() bool

func (*QueryRequest) HasFilterQuery deprecated

func (x *QueryRequest) HasFilterQuery() bool

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

func (*QueryRequest) HasGroupBy

func (x *QueryRequest) HasGroupBy() bool

func (*QueryRequest) HasInvertCallStack

func (x *QueryRequest) HasInvertCallStack() bool

func (*QueryRequest) HasMerge

func (x *QueryRequest) HasMerge() bool

func (*QueryRequest) HasNodeTrimThreshold

func (x *QueryRequest) HasNodeTrimThreshold() bool

func (*QueryRequest) HasOptions

func (x *QueryRequest) HasOptions() bool

func (*QueryRequest) HasRuntimeFilter deprecated

func (x *QueryRequest) HasRuntimeFilter() bool

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

func (*QueryRequest) HasSandwichByFunction

func (x *QueryRequest) HasSandwichByFunction() bool

func (*QueryRequest) HasSingle

func (x *QueryRequest) HasSingle() bool

func (*QueryRequest) HasSourceReference

func (x *QueryRequest) HasSourceReference() bool

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) ProtoReflect

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

func (*QueryRequest) Reset

func (x *QueryRequest) Reset()

func (*QueryRequest) SetDiff

func (x *QueryRequest) SetDiff(v *DiffProfile)

func (*QueryRequest) SetFilter

func (x *QueryRequest) SetFilter(v []*Filter)

func (*QueryRequest) SetFilterQuery deprecated

func (x *QueryRequest) SetFilterQuery(v string)

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

func (*QueryRequest) SetGroupBy

func (x *QueryRequest) SetGroupBy(v *GroupBy)

func (*QueryRequest) SetInvertCallStack

func (x *QueryRequest) SetInvertCallStack(v bool)

func (*QueryRequest) SetMerge

func (x *QueryRequest) SetMerge(v *MergeProfile)

func (*QueryRequest) SetMode

func (x *QueryRequest) SetMode(v QueryRequest_Mode)

func (*QueryRequest) SetNodeTrimThreshold

func (x *QueryRequest) SetNodeTrimThreshold(v float32)

func (*QueryRequest) SetReportType

func (x *QueryRequest) SetReportType(v QueryRequest_ReportType)

func (*QueryRequest) SetRuntimeFilter deprecated

func (x *QueryRequest) SetRuntimeFilter(v *RuntimeFilter)

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

func (*QueryRequest) SetSandwichByFunction

func (x *QueryRequest) SetSandwichByFunction(v string)

func (*QueryRequest) SetSingle

func (x *QueryRequest) SetSingle(v *SingleProfile)

func (*QueryRequest) SetSourceReference

func (x *QueryRequest) SetSourceReference(v *SourceReference)

func (*QueryRequest) String

func (x *QueryRequest) String() string

func (*QueryRequest) WhichOptions

func (x *QueryRequest) WhichOptions() case_QueryRequest_Options

type QueryRequest_Diff

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

type QueryRequest_Merge

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

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) 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
	// REPORT_TYPE_PROFILE_METADATA contains metadata about the profile i.e. binaries, labels
	QueryRequest_REPORT_TYPE_PROFILE_METADATA QueryRequest_ReportType = 8
	// REPORT_TYPE_FLAMECHART contains flamechart representation of the report
	QueryRequest_REPORT_TYPE_FLAMECHART QueryRequest_ReportType = 9
)

func (QueryRequest_ReportType) Descriptor

func (QueryRequest_ReportType) Enum

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"`
}

type QueryRequest_builder

type QueryRequest_builder struct {

	// mode indicates the type of query performed
	Mode QueryRequest_Mode

	// Fields of oneof Options:
	// diff contains the diff query options
	Diff *DiffProfile
	// merge contains the merge query options
	Merge *MergeProfile
	// single contains the single query options
	Single *SingleProfile
	// -- end of Options
	// report_type is the type of report to return
	ReportType QueryRequest_ReportType
	// filter_query is the query string to filter the profile samples
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	FilterQuery *string
	// node_trim_threshold is the threshold % where the nodes with Value less than this will be removed from the report
	NodeTrimThreshold *float32
	// group_by indicates the fields to group by
	GroupBy *GroupBy
	// source information about the source requested, required if source report is requested
	SourceReference *SourceReference
	// which runtime frames to filter out, often interpreter frames like python or ruby are not super useful by default
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	RuntimeFilter *RuntimeFilter
	// invert_call_stack inverts the call stacks in the flamegraph
	InvertCallStack *bool
	// a set of filter to apply to the query request
	Filter []*Filter
	// sandwich_by_function is a function name to use for sandwich view functionality
	SandwichByFunction *string
	// contains filtered or unexported fields
}

func (QueryRequest_builder) Build

func (b0 QueryRequest_builder) Build() *QueryRequest

type QueryResponse

type QueryResponse struct {

	// report is the generated report
	//
	// Types that are valid to be assigned to Report:
	//
	//	*QueryResponse_Flamegraph
	//	*QueryResponse_Pprof
	//	*QueryResponse_Top
	//	*QueryResponse_Callgraph
	//	*QueryResponse_FlamegraphArrow
	//	*QueryResponse_Source
	//	*QueryResponse_TableArrow
	//	*QueryResponse_ProfileMetadata
	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) ClearCallgraph

func (x *QueryResponse) ClearCallgraph()

func (*QueryResponse) ClearFlamegraph

func (x *QueryResponse) ClearFlamegraph()

func (*QueryResponse) ClearFlamegraphArrow

func (x *QueryResponse) ClearFlamegraphArrow()

func (*QueryResponse) ClearPprof

func (x *QueryResponse) ClearPprof()

func (*QueryResponse) ClearProfileMetadata

func (x *QueryResponse) ClearProfileMetadata()

func (*QueryResponse) ClearReport

func (x *QueryResponse) ClearReport()

func (*QueryResponse) ClearSource

func (x *QueryResponse) ClearSource()

func (*QueryResponse) ClearTableArrow

func (x *QueryResponse) ClearTableArrow()

func (*QueryResponse) ClearTop

func (x *QueryResponse) ClearTop()

func (*QueryResponse) GetCallgraph

func (x *QueryResponse) GetCallgraph() *Callgraph

func (*QueryResponse) GetFiltered

func (x *QueryResponse) GetFiltered() int64

func (*QueryResponse) GetFlamegraph

func (x *QueryResponse) GetFlamegraph() *Flamegraph

func (*QueryResponse) GetFlamegraphArrow

func (x *QueryResponse) GetFlamegraphArrow() *FlamegraphArrow

func (*QueryResponse) GetPprof

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

func (*QueryResponse) GetProfileMetadata

func (x *QueryResponse) GetProfileMetadata() *ProfileMetadata

func (*QueryResponse) GetReport

func (x *QueryResponse) GetReport() isQueryResponse_Report

func (*QueryResponse) GetSource

func (x *QueryResponse) GetSource() *Source

func (*QueryResponse) GetTableArrow

func (x *QueryResponse) GetTableArrow() *TableArrow

func (*QueryResponse) GetTop

func (x *QueryResponse) GetTop() *Top

func (*QueryResponse) GetTotal

func (x *QueryResponse) GetTotal() int64

func (*QueryResponse) HasCallgraph

func (x *QueryResponse) HasCallgraph() bool

func (*QueryResponse) HasFlamegraph

func (x *QueryResponse) HasFlamegraph() bool

func (*QueryResponse) HasFlamegraphArrow

func (x *QueryResponse) HasFlamegraphArrow() bool

func (*QueryResponse) HasPprof

func (x *QueryResponse) HasPprof() bool

func (*QueryResponse) HasProfileMetadata

func (x *QueryResponse) HasProfileMetadata() bool

func (*QueryResponse) HasReport

func (x *QueryResponse) HasReport() bool

func (*QueryResponse) HasSource

func (x *QueryResponse) HasSource() bool

func (*QueryResponse) HasTableArrow

func (x *QueryResponse) HasTableArrow() bool

func (*QueryResponse) HasTop

func (x *QueryResponse) HasTop() bool

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) ProtoReflect

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

func (*QueryResponse) Reset

func (x *QueryResponse) Reset()

func (*QueryResponse) SetCallgraph

func (x *QueryResponse) SetCallgraph(v *Callgraph)

func (*QueryResponse) SetFiltered

func (x *QueryResponse) SetFiltered(v int64)

func (*QueryResponse) SetFlamegraph

func (x *QueryResponse) SetFlamegraph(v *Flamegraph)

func (*QueryResponse) SetFlamegraphArrow

func (x *QueryResponse) SetFlamegraphArrow(v *FlamegraphArrow)

func (*QueryResponse) SetPprof

func (x *QueryResponse) SetPprof(v []byte)

func (*QueryResponse) SetProfileMetadata

func (x *QueryResponse) SetProfileMetadata(v *ProfileMetadata)

func (*QueryResponse) SetSource

func (x *QueryResponse) SetSource(v *Source)

func (*QueryResponse) SetTableArrow

func (x *QueryResponse) SetTableArrow(v *TableArrow)

func (*QueryResponse) SetTop

func (x *QueryResponse) SetTop(v *Top)

func (*QueryResponse) SetTotal

func (x *QueryResponse) SetTotal(v int64)

func (*QueryResponse) String

func (x *QueryResponse) String() string

func (*QueryResponse) WhichReport

func (x *QueryResponse) WhichReport() case_QueryResponse_Report

type QueryResponse_Callgraph

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"`
}

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"`
}

type QueryResponse_FlamegraphArrow

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"`
}

type QueryResponse_Pprof

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

type QueryResponse_ProfileMetadata

type QueryResponse_ProfileMetadata struct {
	// profile_metadata contains metadata about the profile i.e. binaries, labels
	ProfileMetadata *ProfileMetadata `protobuf:"bytes,14,opt,name=profile_metadata,json=profileMetadata,proto3,oneof"`
}

type QueryResponse_Source

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

type QueryResponse_TableArrow

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"`
}

type QueryResponse_Top

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

type QueryResponse_builder

type QueryResponse_builder struct {

	// Fields of oneof Report:
	// flamegraph is a flamegraph representation of the report
	Flamegraph *Flamegraph
	// pprof is a pprof profile as compressed bytes
	Pprof []byte
	// top is a top list representation of the report
	Top *Top
	// callgraph is a callgraph nodes and edges representation of the report
	Callgraph *Callgraph
	// flamegraph_arrow is a flamegraph encoded as a arrow record
	FlamegraphArrow *FlamegraphArrow
	// source is the source report type result
	Source *Source
	// table_arrow is a table encoded as a arrow record
	TableArrow *TableArrow
	// profile_metadata contains metadata about the profile i.e. binaries, labels
	ProfileMetadata *ProfileMetadata
	// -- end of Report
	// total is the total number of samples shown in the report.
	Total int64
	// filtered is the number of samples filtered out of the report.
	Filtered int64
	// contains filtered or unexported fields
}

func (QueryResponse_builder) Build

type RuntimeFilter

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) GetShowInterpretedOnly

func (x *RuntimeFilter) GetShowInterpretedOnly() bool

func (*RuntimeFilter) GetShowPython

func (x *RuntimeFilter) GetShowPython() bool

func (*RuntimeFilter) GetShowRuby

func (x *RuntimeFilter) GetShowRuby() bool

func (*RuntimeFilter) ProtoMessage

func (*RuntimeFilter) ProtoMessage()

func (*RuntimeFilter) ProtoReflect

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

func (*RuntimeFilter) Reset

func (x *RuntimeFilter) Reset()

func (*RuntimeFilter) SetShowInterpretedOnly

func (x *RuntimeFilter) SetShowInterpretedOnly(v bool)

func (*RuntimeFilter) SetShowPython

func (x *RuntimeFilter) SetShowPython(v bool)

func (*RuntimeFilter) SetShowRuby

func (x *RuntimeFilter) SetShowRuby(v bool)

func (*RuntimeFilter) String

func (x *RuntimeFilter) String() string

type RuntimeFilter_builder

type RuntimeFilter_builder struct {

	// Whether to show frames of the python runtime.
	ShowPython bool
	// Whether to show frames of the ruby runtime.
	ShowRuby bool
	// Whether to only show interpreted frames.
	ShowInterpretedOnly bool
	// contains filtered or unexported fields
}

func (RuntimeFilter_builder) Build

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) ClearEnd

func (x *SeriesRequest) ClearEnd()

func (*SeriesRequest) ClearStart

func (x *SeriesRequest) ClearStart()

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) HasEnd

func (x *SeriesRequest) HasEnd() bool

func (*SeriesRequest) HasStart

func (x *SeriesRequest) HasStart() bool

func (*SeriesRequest) ProtoMessage

func (*SeriesRequest) ProtoMessage()

func (*SeriesRequest) ProtoReflect

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

func (*SeriesRequest) Reset

func (x *SeriesRequest) Reset()

func (*SeriesRequest) SetEnd

func (x *SeriesRequest) SetEnd(v *timestamppb.Timestamp)

func (*SeriesRequest) SetMatch

func (x *SeriesRequest) SetMatch(v []string)

func (*SeriesRequest) SetStart

func (x *SeriesRequest) SetStart(v *timestamppb.Timestamp)

func (*SeriesRequest) String

func (x *SeriesRequest) String() string

type SeriesRequest_builder

type SeriesRequest_builder struct {

	// match ...
	Match []string
	// start ...
	Start *timestamppb.Timestamp
	// end ...
	End *timestamppb.Timestamp
	// contains filtered or unexported fields
}

func (SeriesRequest_builder) Build

type SeriesResponse

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

SeriesResponse is unimplemented

func (*SeriesResponse) ProtoMessage

func (*SeriesResponse) ProtoMessage()

func (*SeriesResponse) ProtoReflect

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

func (*SeriesResponse) Reset

func (x *SeriesResponse) Reset()

func (*SeriesResponse) String

func (x *SeriesResponse) String() string

type SeriesResponse_builder

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

func (SeriesResponse_builder) Build

type ShareProfileRequest

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) ClearDescription

func (x *ShareProfileRequest) ClearDescription()

func (*ShareProfileRequest) ClearQueryRequest

func (x *ShareProfileRequest) ClearQueryRequest()

func (*ShareProfileRequest) GetDescription

func (x *ShareProfileRequest) GetDescription() string

func (*ShareProfileRequest) GetQueryRequest

func (x *ShareProfileRequest) GetQueryRequest() *QueryRequest

func (*ShareProfileRequest) HasDescription

func (x *ShareProfileRequest) HasDescription() bool

func (*ShareProfileRequest) HasQueryRequest

func (x *ShareProfileRequest) HasQueryRequest() bool

func (*ShareProfileRequest) ProtoMessage

func (*ShareProfileRequest) ProtoMessage()

func (*ShareProfileRequest) ProtoReflect

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

func (*ShareProfileRequest) Reset

func (x *ShareProfileRequest) Reset()

func (*ShareProfileRequest) SetDescription

func (x *ShareProfileRequest) SetDescription(v string)

func (*ShareProfileRequest) SetQueryRequest

func (x *ShareProfileRequest) SetQueryRequest(v *QueryRequest)

func (*ShareProfileRequest) String

func (x *ShareProfileRequest) String() string

type ShareProfileRequest_builder

type ShareProfileRequest_builder struct {

	// QueryRequest that refers to the profile to be shared
	QueryRequest *QueryRequest
	// description about the profile
	Description *string
	// contains filtered or unexported fields
}

func (ShareProfileRequest_builder) Build

type ShareProfileResponse

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 (x *ShareProfileResponse) GetLink() string

func (*ShareProfileResponse) ProtoMessage

func (*ShareProfileResponse) ProtoMessage()

func (*ShareProfileResponse) ProtoReflect

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

func (*ShareProfileResponse) Reset

func (x *ShareProfileResponse) Reset()
func (x *ShareProfileResponse) SetLink(v string)

func (*ShareProfileResponse) String

func (x *ShareProfileResponse) String() string

type ShareProfileResponse_builder

type ShareProfileResponse_builder struct {

	// link to access the profile
	Link string
	// contains filtered or unexported fields
}

func (ShareProfileResponse_builder) Build

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) ClearTime

func (x *SingleProfile) ClearTime()

func (*SingleProfile) GetQuery

func (x *SingleProfile) GetQuery() string

func (*SingleProfile) GetTime

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

func (*SingleProfile) HasTime

func (x *SingleProfile) HasTime() bool

func (*SingleProfile) ProtoMessage

func (*SingleProfile) ProtoMessage()

func (*SingleProfile) ProtoReflect

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

func (*SingleProfile) Reset

func (x *SingleProfile) Reset()

func (*SingleProfile) SetQuery

func (x *SingleProfile) SetQuery(v string)

func (*SingleProfile) SetTime

func (x *SingleProfile) SetTime(v *timestamppb.Timestamp)

func (*SingleProfile) String

func (x *SingleProfile) String() string

type SingleProfile_builder

type SingleProfile_builder struct {

	// time is the point in time to perform the profile request
	Time *timestamppb.Timestamp
	// query is the query string to retrieve the profile
	Query string
	// contains filtered or unexported fields
}

func (SingleProfile_builder) Build

type Source

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) GetRecord

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

func (*Source) GetSource

func (x *Source) GetSource() string

func (*Source) GetUnit

func (x *Source) GetUnit() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) SetRecord

func (x *Source) SetRecord(v []byte)

func (*Source) SetSource

func (x *Source) SetSource(v string)

func (*Source) SetUnit

func (x *Source) SetUnit(v string)

func (*Source) String

func (x *Source) String() string

type SourceReference

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) GetBuildId

func (x *SourceReference) GetBuildId() string

func (*SourceReference) GetFilename

func (x *SourceReference) GetFilename() string

func (*SourceReference) GetSourceOnly

func (x *SourceReference) GetSourceOnly() bool

func (*SourceReference) ProtoMessage

func (*SourceReference) ProtoMessage()

func (*SourceReference) ProtoReflect

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

func (*SourceReference) Reset

func (x *SourceReference) Reset()

func (*SourceReference) SetBuildId

func (x *SourceReference) SetBuildId(v string)

func (*SourceReference) SetFilename

func (x *SourceReference) SetFilename(v string)

func (*SourceReference) SetSourceOnly

func (x *SourceReference) SetSourceOnly(v bool)

func (*SourceReference) String

func (x *SourceReference) String() string

type SourceReference_builder

type SourceReference_builder struct {

	// The build ID to request the source of.
	BuildId string
	// The filename requested.
	Filename string
	// Whether to perform a full query or just retrieve the source.
	SourceOnly bool
	// contains filtered or unexported fields
}

func (SourceReference_builder) Build

type Source_builder

type Source_builder struct {

	// An arrow record that contains a row per source code line with value and diff columns for flat and cumulative.
	Record []byte
	// The actual source file content.
	Source string
	// The unit of the values in the record.
	Unit string
	// contains filtered or unexported fields
}

func (Source_builder) Build

func (b0 Source_builder) Build() *Source

type StackFilter

type StackFilter struct {

	// filter contains the different methods in which you can filter a stack
	//
	// Types that are valid to be assigned to Filter:
	//
	//	*StackFilter_FunctionNameStackFilter
	//	*StackFilter_Criteria
	Filter isStackFilter_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

StackFilter applies filtering criteria to entire call stacks

func (*StackFilter) ClearCriteria

func (x *StackFilter) ClearCriteria()

func (*StackFilter) ClearFilter

func (x *StackFilter) ClearFilter()

func (*StackFilter) ClearFunctionNameStackFilter deprecated

func (x *StackFilter) ClearFunctionNameStackFilter()

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

func (*StackFilter) GetCriteria

func (x *StackFilter) GetCriteria() *FilterCriteria

func (*StackFilter) GetFilter

func (x *StackFilter) GetFilter() isStackFilter_Filter

func (*StackFilter) GetFunctionNameStackFilter deprecated

func (x *StackFilter) GetFunctionNameStackFilter() *FunctionNameStackFilter

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

func (*StackFilter) HasCriteria

func (x *StackFilter) HasCriteria() bool

func (*StackFilter) HasFilter

func (x *StackFilter) HasFilter() bool

func (*StackFilter) HasFunctionNameStackFilter deprecated

func (x *StackFilter) HasFunctionNameStackFilter() bool

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

func (*StackFilter) ProtoMessage

func (*StackFilter) ProtoMessage()

func (*StackFilter) ProtoReflect

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

func (*StackFilter) Reset

func (x *StackFilter) Reset()

func (*StackFilter) SetCriteria

func (x *StackFilter) SetCriteria(v *FilterCriteria)

func (*StackFilter) SetFunctionNameStackFilter deprecated

func (x *StackFilter) SetFunctionNameStackFilter(v *FunctionNameStackFilter)

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

func (*StackFilter) String

func (x *StackFilter) String() string

func (*StackFilter) WhichFilter

func (x *StackFilter) WhichFilter() case_StackFilter_Filter

type StackFilter_Criteria

type StackFilter_Criteria struct {
	// criteria defines the filter conditions to apply to the stack
	Criteria *FilterCriteria `protobuf:"bytes,2,opt,name=criteria,proto3,oneof"`
}

type StackFilter_FunctionNameStackFilter

type StackFilter_FunctionNameStackFilter struct {
	// function_name_stack_filter is the function name to filter by
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	FunctionNameStackFilter *FunctionNameStackFilter `protobuf:"bytes,1,opt,name=function_name_stack_filter,json=functionNameStackFilter,proto3,oneof"`
}

type StackFilter_builder

type StackFilter_builder struct {

	// Fields of oneof Filter:
	// function_name_stack_filter is the function name to filter by
	//
	// Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
	FunctionNameStackFilter *FunctionNameStackFilter
	// criteria defines the filter conditions to apply to the stack
	Criteria *FilterCriteria
	// contains filtered or unexported fields
}

func (StackFilter_builder) Build

func (b0 StackFilter_builder) Build() *StackFilter

type StringCondition

type StringCondition struct {

	// condition specifies the type of string comparison to perform
	//
	// Types that are valid to be assigned to Condition:
	//
	//	*StringCondition_Equal
	//	*StringCondition_NotEqual
	//	*StringCondition_Contains
	//	*StringCondition_NotContains
	//	*StringCondition_StartsWith
	//	*StringCondition_NotStartsWith
	Condition isStringCondition_Condition `protobuf_oneof:"condition"`
	// contains filtered or unexported fields
}

StringCondition defines string-based filtering conditions

func (*StringCondition) ClearCondition

func (x *StringCondition) ClearCondition()

func (*StringCondition) ClearContains

func (x *StringCondition) ClearContains()

func (*StringCondition) ClearEqual

func (x *StringCondition) ClearEqual()

func (*StringCondition) ClearNotContains

func (x *StringCondition) ClearNotContains()

func (*StringCondition) ClearNotEqual

func (x *StringCondition) ClearNotEqual()

func (*StringCondition) ClearNotStartsWith

func (x *StringCondition) ClearNotStartsWith()

func (*StringCondition) ClearStartsWith

func (x *StringCondition) ClearStartsWith()

func (*StringCondition) GetCondition

func (x *StringCondition) GetCondition() isStringCondition_Condition

func (*StringCondition) GetContains

func (x *StringCondition) GetContains() string

func (*StringCondition) GetEqual

func (x *StringCondition) GetEqual() string

func (*StringCondition) GetNotContains

func (x *StringCondition) GetNotContains() string

func (*StringCondition) GetNotEqual

func (x *StringCondition) GetNotEqual() string

func (*StringCondition) GetNotStartsWith

func (x *StringCondition) GetNotStartsWith() string

func (*StringCondition) GetStartsWith

func (x *StringCondition) GetStartsWith() string

func (*StringCondition) HasCondition

func (x *StringCondition) HasCondition() bool

func (*StringCondition) HasContains

func (x *StringCondition) HasContains() bool

func (*StringCondition) HasEqual

func (x *StringCondition) HasEqual() bool

func (*StringCondition) HasNotContains

func (x *StringCondition) HasNotContains() bool

func (*StringCondition) HasNotEqual

func (x *StringCondition) HasNotEqual() bool

func (*StringCondition) HasNotStartsWith

func (x *StringCondition) HasNotStartsWith() bool

func (*StringCondition) HasStartsWith

func (x *StringCondition) HasStartsWith() bool

func (*StringCondition) ProtoMessage

func (*StringCondition) ProtoMessage()

func (*StringCondition) ProtoReflect

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

func (*StringCondition) Reset

func (x *StringCondition) Reset()

func (*StringCondition) SetContains

func (x *StringCondition) SetContains(v string)

func (*StringCondition) SetEqual

func (x *StringCondition) SetEqual(v string)

func (*StringCondition) SetNotContains

func (x *StringCondition) SetNotContains(v string)

func (*StringCondition) SetNotEqual

func (x *StringCondition) SetNotEqual(v string)

func (*StringCondition) SetNotStartsWith

func (x *StringCondition) SetNotStartsWith(v string)

func (*StringCondition) SetStartsWith

func (x *StringCondition) SetStartsWith(v string)

func (*StringCondition) String

func (x *StringCondition) String() string

func (*StringCondition) WhichCondition

func (x *StringCondition) WhichCondition() case_StringCondition_Condition

type StringCondition_Contains

type StringCondition_Contains struct {
	// contains matches strings that contain the specified substring
	Contains string `protobuf:"bytes,3,opt,name=contains,proto3,oneof"`
}

type StringCondition_Equal

type StringCondition_Equal struct {
	// equal matches strings that are exactly equal
	Equal string `protobuf:"bytes,1,opt,name=equal,proto3,oneof"`
}

type StringCondition_NotContains

type StringCondition_NotContains struct {
	// not_contains matches strings that do not contain the specified substring
	NotContains string `protobuf:"bytes,4,opt,name=not_contains,json=notContains,proto3,oneof"`
}

type StringCondition_NotEqual

type StringCondition_NotEqual struct {
	// not_equal matches strings that are not equal
	NotEqual string `protobuf:"bytes,2,opt,name=not_equal,json=notEqual,proto3,oneof"`
}

type StringCondition_NotStartsWith

type StringCondition_NotStartsWith struct {
	// not_starts_with matches strings that do not start with the specified prefix
	NotStartsWith string `protobuf:"bytes,6,opt,name=not_starts_with,json=notStartsWith,proto3,oneof"`
}

type StringCondition_StartsWith

type StringCondition_StartsWith struct {
	// starts_with matches strings that start with the specified prefix
	StartsWith string `protobuf:"bytes,5,opt,name=starts_with,json=startsWith,proto3,oneof"`
}

type StringCondition_builder

type StringCondition_builder struct {

	// Fields of oneof Condition:
	// equal matches strings that are exactly equal
	Equal *string
	// not_equal matches strings that are not equal
	NotEqual *string
	// contains matches strings that contain the specified substring
	Contains *string
	// not_contains matches strings that do not contain the specified substring
	NotContains *string
	// starts_with matches strings that start with the specified prefix
	StartsWith *string
	// not_starts_with matches strings that do not start with the specified prefix
	NotStartsWith *string
	// contains filtered or unexported fields
}

func (StringCondition_builder) Build

type TableArrow

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) GetRecord

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

func (*TableArrow) GetUnit

func (x *TableArrow) GetUnit() string

func (*TableArrow) ProtoMessage

func (*TableArrow) ProtoMessage()

func (*TableArrow) ProtoReflect

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

func (*TableArrow) Reset

func (x *TableArrow) Reset()

func (*TableArrow) SetRecord

func (x *TableArrow) SetRecord(v []byte)

func (*TableArrow) SetUnit

func (x *TableArrow) SetUnit(v string)

func (*TableArrow) String

func (x *TableArrow) String() string

type TableArrow_builder

type TableArrow_builder struct {

	// record is the arrow record containing the actual table data
	Record []byte
	// unit is the unit represented by the flame graph
	Unit string
	// contains filtered or unexported fields
}

func (TableArrow_builder) Build

func (b0 TableArrow_builder) Build() *TableArrow

type Top

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) GetList

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

func (*Top) GetReported

func (x *Top) GetReported() int32

func (*Top) GetTotal deprecated

func (x *Top) GetTotal() int32

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

func (*Top) GetUnit

func (x *Top) GetUnit() string

func (*Top) ProtoMessage

func (*Top) ProtoMessage()

func (*Top) ProtoReflect

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

func (*Top) Reset

func (x *Top) Reset()

func (*Top) SetList

func (x *Top) SetList(v []*TopNode)

func (*Top) SetReported

func (x *Top) SetReported(v int32)

func (*Top) SetTotal deprecated

func (x *Top) SetTotal(v int32)

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

func (*Top) SetUnit

func (x *Top) SetUnit(v string)

func (*Top) String

func (x *Top) String() string

type TopNode

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) ClearMeta

func (x *TopNode) ClearMeta()

func (*TopNode) GetCumulative

func (x *TopNode) GetCumulative() int64

func (*TopNode) GetDiff

func (x *TopNode) GetDiff() int64

func (*TopNode) GetFlat

func (x *TopNode) GetFlat() int64

func (*TopNode) GetMeta

func (x *TopNode) GetMeta() *TopNodeMeta

func (*TopNode) HasMeta

func (x *TopNode) HasMeta() bool

func (*TopNode) ProtoMessage

func (*TopNode) ProtoMessage()

func (*TopNode) ProtoReflect

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

func (*TopNode) Reset

func (x *TopNode) Reset()

func (*TopNode) SetCumulative

func (x *TopNode) SetCumulative(v int64)

func (*TopNode) SetDiff

func (x *TopNode) SetDiff(v int64)

func (*TopNode) SetFlat

func (x *TopNode) SetFlat(v int64)

func (*TopNode) SetMeta

func (x *TopNode) SetMeta(v *TopNodeMeta)

func (*TopNode) String

func (x *TopNode) String() string

type TopNodeMeta

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) ClearFunction

func (x *TopNodeMeta) ClearFunction()

func (*TopNodeMeta) ClearLine

func (x *TopNodeMeta) ClearLine()

func (*TopNodeMeta) ClearLocation

func (x *TopNodeMeta) ClearLocation()

func (*TopNodeMeta) ClearMapping

func (x *TopNodeMeta) ClearMapping()

func (*TopNodeMeta) GetFunction

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

func (*TopNodeMeta) GetLine

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

func (*TopNodeMeta) GetLocation

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

func (*TopNodeMeta) GetMapping

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

func (*TopNodeMeta) HasFunction

func (x *TopNodeMeta) HasFunction() bool

func (*TopNodeMeta) HasLine

func (x *TopNodeMeta) HasLine() bool

func (*TopNodeMeta) HasLocation

func (x *TopNodeMeta) HasLocation() bool

func (*TopNodeMeta) HasMapping

func (x *TopNodeMeta) HasMapping() bool

func (*TopNodeMeta) ProtoMessage

func (*TopNodeMeta) ProtoMessage()

func (*TopNodeMeta) ProtoReflect

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

func (*TopNodeMeta) Reset

func (x *TopNodeMeta) Reset()

func (*TopNodeMeta) SetFunction

func (x *TopNodeMeta) SetFunction(v *v1alpha11.Function)

func (*TopNodeMeta) SetLine

func (x *TopNodeMeta) SetLine(v *v1alpha11.Line)

func (*TopNodeMeta) SetLocation

func (x *TopNodeMeta) SetLocation(v *v1alpha11.Location)

func (*TopNodeMeta) SetMapping

func (x *TopNodeMeta) SetMapping(v *v1alpha11.Mapping)

func (*TopNodeMeta) String

func (x *TopNodeMeta) String() string

type TopNodeMeta_builder

type TopNodeMeta_builder struct {

	// location is the location for the code
	Location *v1alpha11.Location
	// mapping is the mapping into code
	Mapping *v1alpha11.Mapping
	// function is the function information
	Function *v1alpha11.Function
	// line is the line location
	Line *v1alpha11.Line
	// contains filtered or unexported fields
}

func (TopNodeMeta_builder) Build

func (b0 TopNodeMeta_builder) Build() *TopNodeMeta

type TopNode_builder

type TopNode_builder struct {

	// meta is the metadata about the node
	Meta *TopNodeMeta
	// cumulative is the cumulative value of the node
	Cumulative int64
	// flat is the flat value of the node
	Flat int64
	// diff is the diff value between two profiles
	Diff int64
	// contains filtered or unexported fields
}

func (TopNode_builder) Build

func (b0 TopNode_builder) Build() *TopNode

type Top_builder

type Top_builder struct {

	// list are the list of ordered elements of the table
	List []*TopNode
	// reported is the number of lines reported
	Reported int32
	// 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
	// unit is the unit represented by top table
	Unit string
	// contains filtered or unexported fields
}

func (Top_builder) Build

func (b0 Top_builder) Build() *Top

type ValueType

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) GetType

func (x *ValueType) GetType() string

func (*ValueType) GetUnit

func (x *ValueType) GetUnit() string

func (*ValueType) ProtoMessage

func (*ValueType) ProtoMessage()

func (*ValueType) ProtoReflect

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

func (*ValueType) Reset

func (x *ValueType) Reset()

func (*ValueType) SetType

func (x *ValueType) SetType(v string)

func (*ValueType) SetUnit

func (x *ValueType) SetUnit(v string)

func (*ValueType) String

func (x *ValueType) String() string

type ValueType_builder

type ValueType_builder struct {

	// type is the type of the value
	Type string
	// unit is the unit of the value
	Unit string
	// contains filtered or unexported fields
}

func (ValueType_builder) Build

func (b0 ValueType_builder) Build() *ValueType

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"`
	// profile_type is the type of profile to filter by
	ProfileType *string `protobuf:"bytes,5,opt,name=profile_type,json=profileType,proto3,oneof" json:"profile_type,omitempty"`
	// contains filtered or unexported fields
}

ValuesRequest are the request values for a values request

func (*ValuesRequest) ClearEnd

func (x *ValuesRequest) ClearEnd()

func (*ValuesRequest) ClearProfileType

func (x *ValuesRequest) ClearProfileType()

func (*ValuesRequest) ClearStart

func (x *ValuesRequest) ClearStart()

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) GetProfileType

func (x *ValuesRequest) GetProfileType() string

func (*ValuesRequest) GetStart

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

func (*ValuesRequest) HasEnd

func (x *ValuesRequest) HasEnd() bool

func (*ValuesRequest) HasProfileType

func (x *ValuesRequest) HasProfileType() bool

func (*ValuesRequest) HasStart

func (x *ValuesRequest) HasStart() bool

func (*ValuesRequest) ProtoMessage

func (*ValuesRequest) ProtoMessage()

func (*ValuesRequest) ProtoReflect

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

func (*ValuesRequest) Reset

func (x *ValuesRequest) Reset()

func (*ValuesRequest) SetEnd

func (x *ValuesRequest) SetEnd(v *timestamppb.Timestamp)

func (*ValuesRequest) SetLabelName

func (x *ValuesRequest) SetLabelName(v string)

func (*ValuesRequest) SetMatch

func (x *ValuesRequest) SetMatch(v []string)

func (*ValuesRequest) SetProfileType

func (x *ValuesRequest) SetProfileType(v string)

func (*ValuesRequest) SetStart

func (x *ValuesRequest) SetStart(v *timestamppb.Timestamp)

func (*ValuesRequest) String

func (x *ValuesRequest) String() string

type ValuesRequest_builder

type ValuesRequest_builder struct {

	// label_name is the label name to match values against
	LabelName string
	// match are the set of matching strings to match values against
	Match []string
	// start is the start of the time window to perform the query
	Start *timestamppb.Timestamp
	// end is the end of the time window to perform the query
	End *timestamppb.Timestamp
	// profile_type is the type of profile to filter by
	ProfileType *string
	// contains filtered or unexported fields
}

func (ValuesRequest_builder) Build

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) GetLabelValues

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

func (*ValuesResponse) GetWarnings

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

func (*ValuesResponse) ProtoMessage

func (*ValuesResponse) ProtoMessage()

func (*ValuesResponse) ProtoReflect

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

func (*ValuesResponse) Reset

func (x *ValuesResponse) Reset()

func (*ValuesResponse) SetLabelValues

func (x *ValuesResponse) SetLabelValues(v []string)

func (*ValuesResponse) SetWarnings

func (x *ValuesResponse) SetWarnings(v []string)

func (*ValuesResponse) String

func (x *ValuesResponse) String() string

type ValuesResponse_builder

type ValuesResponse_builder struct {

	// label_values are the set of matching label values
	LabelValues []string
	// warnings is unimplemented
	Warnings []string
	// contains filtered or unexported fields
}

func (ValuesResponse_builder) Build

Source Files

  • query.pb.go

Jump to

Keyboard shortcuts

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