Documentation
¶
Index ¶
- Constants
- Variables
- type BinaryFrameFilter
- func (x *BinaryFrameFilter) GetIncludeBinaries() []string
- func (*BinaryFrameFilter) ProtoMessage()
- func (x *BinaryFrameFilter) ProtoReflect() protoreflect.Message
- func (x *BinaryFrameFilter) Reset()
- func (x *BinaryFrameFilter) SetIncludeBinaries(v []string)
- func (x *BinaryFrameFilter) String() string
- type BinaryFrameFilter_builder
- type Callgraph
- func (x *Callgraph) GetCumulative() int64deprecated
- func (x *Callgraph) GetEdges() []*CallgraphEdge
- func (x *Callgraph) GetNodes() []*CallgraphNode
- func (*Callgraph) ProtoMessage()
- func (x *Callgraph) ProtoReflect() protoreflect.Message
- func (x *Callgraph) Reset()
- func (x *Callgraph) SetCumulative(v int64)deprecated
- func (x *Callgraph) SetEdges(v []*CallgraphEdge)
- func (x *Callgraph) SetNodes(v []*CallgraphNode)
- func (x *Callgraph) String() string
- type CallgraphEdge
- func (x *CallgraphEdge) GetCumulative() int64
- func (x *CallgraphEdge) GetId() string
- func (x *CallgraphEdge) GetIsCollapsed() bool
- func (x *CallgraphEdge) GetSource() string
- func (x *CallgraphEdge) GetTarget() string
- func (*CallgraphEdge) ProtoMessage()
- func (x *CallgraphEdge) ProtoReflect() protoreflect.Message
- func (x *CallgraphEdge) Reset()
- func (x *CallgraphEdge) SetCumulative(v int64)
- func (x *CallgraphEdge) SetId(v string)
- func (x *CallgraphEdge) SetIsCollapsed(v bool)
- func (x *CallgraphEdge) SetSource(v string)
- func (x *CallgraphEdge) SetTarget(v string)
- func (x *CallgraphEdge) String() string
- type CallgraphEdge_builder
- type CallgraphNode
- func (x *CallgraphNode) ClearMeta()
- func (x *CallgraphNode) GetCumulative() int64
- func (x *CallgraphNode) GetFlat() int64
- func (x *CallgraphNode) GetId() string
- func (x *CallgraphNode) GetMeta() *CallgraphNodeMeta
- func (x *CallgraphNode) HasMeta() bool
- func (*CallgraphNode) ProtoMessage()
- func (x *CallgraphNode) ProtoReflect() protoreflect.Message
- func (x *CallgraphNode) Reset()
- func (x *CallgraphNode) SetCumulative(v int64)
- func (x *CallgraphNode) SetFlat(v int64)
- func (x *CallgraphNode) SetId(v string)
- func (x *CallgraphNode) SetMeta(v *CallgraphNodeMeta)
- func (x *CallgraphNode) String() string
- type CallgraphNodeMeta
- func (x *CallgraphNodeMeta) ClearFunction()
- func (x *CallgraphNodeMeta) ClearLine()
- func (x *CallgraphNodeMeta) ClearLocation()
- func (x *CallgraphNodeMeta) ClearMapping()
- func (x *CallgraphNodeMeta) GetFunction() *v1alpha11.Function
- func (x *CallgraphNodeMeta) GetLine() *v1alpha11.Line
- func (x *CallgraphNodeMeta) GetLocation() *v1alpha11.Location
- func (x *CallgraphNodeMeta) GetMapping() *v1alpha11.Mapping
- func (x *CallgraphNodeMeta) HasFunction() bool
- func (x *CallgraphNodeMeta) HasLine() bool
- func (x *CallgraphNodeMeta) HasLocation() bool
- func (x *CallgraphNodeMeta) HasMapping() bool
- func (*CallgraphNodeMeta) ProtoMessage()
- func (x *CallgraphNodeMeta) ProtoReflect() protoreflect.Message
- func (x *CallgraphNodeMeta) Reset()
- func (x *CallgraphNodeMeta) SetFunction(v *v1alpha11.Function)
- func (x *CallgraphNodeMeta) SetLine(v *v1alpha11.Line)
- func (x *CallgraphNodeMeta) SetLocation(v *v1alpha11.Location)
- func (x *CallgraphNodeMeta) SetMapping(v *v1alpha11.Mapping)
- func (x *CallgraphNodeMeta) String() string
- type CallgraphNodeMeta_builder
- type CallgraphNode_builder
- type Callgraph_builder
- type DiffProfile
- func (x *DiffProfile) ClearA()
- func (x *DiffProfile) ClearAbsolute()
- func (x *DiffProfile) ClearB()
- func (x *DiffProfile) GetA() *ProfileDiffSelection
- func (x *DiffProfile) GetAbsolute() bool
- func (x *DiffProfile) GetB() *ProfileDiffSelection
- func (x *DiffProfile) HasA() bool
- func (x *DiffProfile) HasAbsolute() bool
- func (x *DiffProfile) HasB() bool
- func (*DiffProfile) ProtoMessage()
- func (x *DiffProfile) ProtoReflect() protoreflect.Message
- func (x *DiffProfile) Reset()
- func (x *DiffProfile) SetA(v *ProfileDiffSelection)
- func (x *DiffProfile) SetAbsolute(v bool)
- func (x *DiffProfile) SetB(v *ProfileDiffSelection)
- func (x *DiffProfile) String() string
- type DiffProfile_builder
- type Filter
- func (x *Filter) ClearFilter()
- func (x *Filter) ClearFrameFilter()
- func (x *Filter) ClearStackFilter()
- func (x *Filter) GetFilter() isFilter_Filter
- func (x *Filter) GetFrameFilter() *FrameFilter
- func (x *Filter) GetStackFilter() *StackFilter
- func (x *Filter) HasFilter() bool
- func (x *Filter) HasFrameFilter() bool
- func (x *Filter) HasStackFilter() bool
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) SetFrameFilter(v *FrameFilter)
- func (x *Filter) SetStackFilter(v *StackFilter)
- func (x *Filter) String() string
- func (x *Filter) WhichFilter() case_Filter_Filter
- type FilterCriteria
- func (x *FilterCriteria) ClearAddress()
- func (x *FilterCriteria) ClearBinary()
- func (x *FilterCriteria) ClearFilename()
- func (x *FilterCriteria) ClearFunctionName()
- func (x *FilterCriteria) ClearLineNumber()
- func (x *FilterCriteria) ClearSystemName()
- func (x *FilterCriteria) GetAddress() *NumberCondition
- func (x *FilterCriteria) GetBinary() *StringCondition
- func (x *FilterCriteria) GetFilename() *StringCondition
- func (x *FilterCriteria) GetFunctionName() *StringCondition
- func (x *FilterCriteria) GetLineNumber() *NumberCondition
- func (x *FilterCriteria) GetSystemName() *StringCondition
- func (x *FilterCriteria) HasAddress() bool
- func (x *FilterCriteria) HasBinary() bool
- func (x *FilterCriteria) HasFilename() bool
- func (x *FilterCriteria) HasFunctionName() bool
- func (x *FilterCriteria) HasLineNumber() bool
- func (x *FilterCriteria) HasSystemName() bool
- func (*FilterCriteria) ProtoMessage()
- func (x *FilterCriteria) ProtoReflect() protoreflect.Message
- func (x *FilterCriteria) Reset()
- func (x *FilterCriteria) SetAddress(v *NumberCondition)
- func (x *FilterCriteria) SetBinary(v *StringCondition)
- func (x *FilterCriteria) SetFilename(v *StringCondition)
- func (x *FilterCriteria) SetFunctionName(v *StringCondition)
- func (x *FilterCriteria) SetLineNumber(v *NumberCondition)
- func (x *FilterCriteria) SetSystemName(v *StringCondition)
- func (x *FilterCriteria) String() string
- type FilterCriteria_builder
- type Filter_FrameFilter
- type Filter_StackFilter
- type Filter_builder
- type Flamegraph
- func (x *Flamegraph) ClearRoot()
- func (x *Flamegraph) GetFunction() []*v1alpha11.Function
- func (x *Flamegraph) GetHeight() int32
- func (x *Flamegraph) GetLocations() []*v1alpha11.Location
- func (x *Flamegraph) GetMapping() []*v1alpha11.Mapping
- func (x *Flamegraph) GetRoot() *FlamegraphRootNode
- func (x *Flamegraph) GetStringTable() []string
- func (x *Flamegraph) GetTotal() int64deprecated
- func (x *Flamegraph) GetTrimmed() int64
- func (x *Flamegraph) GetUnit() string
- func (x *Flamegraph) GetUntrimmedTotal() int64deprecated
- func (x *Flamegraph) HasRoot() bool
- func (*Flamegraph) ProtoMessage()
- func (x *Flamegraph) ProtoReflect() protoreflect.Message
- func (x *Flamegraph) Reset()
- func (x *Flamegraph) SetFunction(v []*v1alpha11.Function)
- func (x *Flamegraph) SetHeight(v int32)
- func (x *Flamegraph) SetLocations(v []*v1alpha11.Location)
- func (x *Flamegraph) SetMapping(v []*v1alpha11.Mapping)
- func (x *Flamegraph) SetRoot(v *FlamegraphRootNode)
- func (x *Flamegraph) SetStringTable(v []string)
- func (x *Flamegraph) SetTotal(v int64)deprecated
- func (x *Flamegraph) SetTrimmed(v int64)
- func (x *Flamegraph) SetUnit(v string)
- func (x *Flamegraph) SetUntrimmedTotal(v int64)deprecated
- func (x *Flamegraph) String() string
- type FlamegraphArrow
- func (x *FlamegraphArrow) GetHeight() int32
- func (x *FlamegraphArrow) GetRecord() []byte
- func (x *FlamegraphArrow) GetTrimmed() int64
- func (x *FlamegraphArrow) GetUnit() string
- func (*FlamegraphArrow) ProtoMessage()
- func (x *FlamegraphArrow) ProtoReflect() protoreflect.Message
- func (x *FlamegraphArrow) Reset()
- func (x *FlamegraphArrow) SetHeight(v int32)
- func (x *FlamegraphArrow) SetRecord(v []byte)
- func (x *FlamegraphArrow) SetTrimmed(v int64)
- func (x *FlamegraphArrow) SetUnit(v string)
- func (x *FlamegraphArrow) String() string
- type FlamegraphArrow_builder
- type FlamegraphNode
- func (x *FlamegraphNode) ClearMeta()
- func (x *FlamegraphNode) GetChildren() []*FlamegraphNode
- func (x *FlamegraphNode) GetCumulative() int64
- func (x *FlamegraphNode) GetDiff() int64
- func (x *FlamegraphNode) GetMeta() *FlamegraphNodeMeta
- func (x *FlamegraphNode) HasMeta() bool
- func (*FlamegraphNode) ProtoMessage()
- func (x *FlamegraphNode) ProtoReflect() protoreflect.Message
- func (x *FlamegraphNode) Reset()
- func (x *FlamegraphNode) SetChildren(v []*FlamegraphNode)
- func (x *FlamegraphNode) SetCumulative(v int64)
- func (x *FlamegraphNode) SetDiff(v int64)
- func (x *FlamegraphNode) SetMeta(v *FlamegraphNodeMeta)
- func (x *FlamegraphNode) String() string
- type FlamegraphNodeMeta
- func (x *FlamegraphNodeMeta) ClearFunction()
- func (x *FlamegraphNodeMeta) ClearLine()
- func (x *FlamegraphNodeMeta) ClearLocation()
- func (x *FlamegraphNodeMeta) ClearMapping()
- func (x *FlamegraphNodeMeta) GetFunction() *v1alpha11.Function
- func (x *FlamegraphNodeMeta) GetLine() *v1alpha11.Line
- func (x *FlamegraphNodeMeta) GetLineIndex() uint32
- func (x *FlamegraphNodeMeta) GetLocation() *v1alpha11.Location
- func (x *FlamegraphNodeMeta) GetLocationIndex() uint32
- func (x *FlamegraphNodeMeta) GetMapping() *v1alpha11.Mapping
- func (x *FlamegraphNodeMeta) HasFunction() bool
- func (x *FlamegraphNodeMeta) HasLine() bool
- func (x *FlamegraphNodeMeta) HasLocation() bool
- func (x *FlamegraphNodeMeta) HasMapping() bool
- func (*FlamegraphNodeMeta) ProtoMessage()
- func (x *FlamegraphNodeMeta) ProtoReflect() protoreflect.Message
- func (x *FlamegraphNodeMeta) Reset()
- func (x *FlamegraphNodeMeta) SetFunction(v *v1alpha11.Function)
- func (x *FlamegraphNodeMeta) SetLine(v *v1alpha11.Line)
- func (x *FlamegraphNodeMeta) SetLineIndex(v uint32)
- func (x *FlamegraphNodeMeta) SetLocation(v *v1alpha11.Location)
- func (x *FlamegraphNodeMeta) SetLocationIndex(v uint32)
- func (x *FlamegraphNodeMeta) SetMapping(v *v1alpha11.Mapping)
- func (x *FlamegraphNodeMeta) String() string
- type FlamegraphNodeMeta_builder
- type FlamegraphNode_builder
- type FlamegraphRootNode
- func (x *FlamegraphRootNode) GetChildren() []*FlamegraphNode
- func (x *FlamegraphRootNode) GetCumulative() int64
- func (x *FlamegraphRootNode) GetDiff() int64
- func (*FlamegraphRootNode) ProtoMessage()
- func (x *FlamegraphRootNode) ProtoReflect() protoreflect.Message
- func (x *FlamegraphRootNode) Reset()
- func (x *FlamegraphRootNode) SetChildren(v []*FlamegraphNode)
- func (x *FlamegraphRootNode) SetCumulative(v int64)
- func (x *FlamegraphRootNode) SetDiff(v int64)
- func (x *FlamegraphRootNode) String() string
- type FlamegraphRootNode_builder
- type Flamegraph_builder
- type FrameFilter
- func (x *FrameFilter) ClearBinaryFrameFilter()deprecated
- func (x *FrameFilter) ClearCriteria()
- func (x *FrameFilter) ClearFilter()
- func (x *FrameFilter) GetBinaryFrameFilter() *BinaryFrameFilterdeprecated
- func (x *FrameFilter) GetCriteria() *FilterCriteria
- func (x *FrameFilter) GetFilter() isFrameFilter_Filter
- func (x *FrameFilter) HasBinaryFrameFilter() booldeprecated
- func (x *FrameFilter) HasCriteria() bool
- func (x *FrameFilter) HasFilter() bool
- func (*FrameFilter) ProtoMessage()
- func (x *FrameFilter) ProtoReflect() protoreflect.Message
- func (x *FrameFilter) Reset()
- func (x *FrameFilter) SetBinaryFrameFilter(v *BinaryFrameFilter)deprecated
- func (x *FrameFilter) SetCriteria(v *FilterCriteria)
- func (x *FrameFilter) String() string
- func (x *FrameFilter) WhichFilter() case_FrameFilter_Filter
- type FrameFilter_BinaryFrameFilter
- type FrameFilter_Criteria
- type FrameFilter_builder
- type FunctionNameStackFilter
- func (x *FunctionNameStackFilter) GetExclude() bool
- func (x *FunctionNameStackFilter) GetFunctionToFilter() string
- func (*FunctionNameStackFilter) ProtoMessage()
- func (x *FunctionNameStackFilter) ProtoReflect() protoreflect.Message
- func (x *FunctionNameStackFilter) Reset()
- func (x *FunctionNameStackFilter) SetExclude(v bool)
- func (x *FunctionNameStackFilter) SetFunctionToFilter(v string)
- func (x *FunctionNameStackFilter) String() string
- type FunctionNameStackFilter_builder
- type GroupBy
- type GroupBy_builder
- type HasProfileDataRequest
- type HasProfileDataRequest_builder
- type HasProfileDataResponse
- func (x *HasProfileDataResponse) GetHasData() bool
- func (*HasProfileDataResponse) ProtoMessage()
- func (x *HasProfileDataResponse) ProtoReflect() protoreflect.Message
- func (x *HasProfileDataResponse) Reset()
- func (x *HasProfileDataResponse) SetHasData(v bool)
- func (x *HasProfileDataResponse) String() string
- type HasProfileDataResponse_builder
- type LabelsRequest
- func (x *LabelsRequest) ClearEnd()
- func (x *LabelsRequest) ClearProfileType()
- func (x *LabelsRequest) ClearStart()
- func (x *LabelsRequest) GetEnd() *timestamppb.Timestamp
- func (x *LabelsRequest) GetMatch() []string
- func (x *LabelsRequest) GetProfileType() string
- func (x *LabelsRequest) GetStart() *timestamppb.Timestamp
- func (x *LabelsRequest) HasEnd() bool
- func (x *LabelsRequest) HasProfileType() bool
- func (x *LabelsRequest) HasStart() bool
- func (*LabelsRequest) ProtoMessage()
- func (x *LabelsRequest) ProtoReflect() protoreflect.Message
- func (x *LabelsRequest) Reset()
- func (x *LabelsRequest) SetEnd(v *timestamppb.Timestamp)
- func (x *LabelsRequest) SetMatch(v []string)
- func (x *LabelsRequest) SetProfileType(v string)
- func (x *LabelsRequest) SetStart(v *timestamppb.Timestamp)
- func (x *LabelsRequest) String() string
- type LabelsRequest_builder
- type LabelsResponse
- func (x *LabelsResponse) GetLabelNames() []string
- func (x *LabelsResponse) GetWarnings() []string
- func (*LabelsResponse) ProtoMessage()
- func (x *LabelsResponse) ProtoReflect() protoreflect.Message
- func (x *LabelsResponse) Reset()
- func (x *LabelsResponse) SetLabelNames(v []string)
- func (x *LabelsResponse) SetWarnings(v []string)
- func (x *LabelsResponse) String() string
- type LabelsResponse_builder
- type MergeProfile
- func (x *MergeProfile) ClearEnd()
- func (x *MergeProfile) ClearStart()
- func (x *MergeProfile) GetEnd() *timestamppb.Timestamp
- func (x *MergeProfile) GetQuery() string
- func (x *MergeProfile) GetStart() *timestamppb.Timestamp
- func (x *MergeProfile) HasEnd() bool
- func (x *MergeProfile) HasStart() bool
- func (*MergeProfile) ProtoMessage()
- func (x *MergeProfile) ProtoReflect() protoreflect.Message
- func (x *MergeProfile) Reset()
- func (x *MergeProfile) SetEnd(v *timestamppb.Timestamp)
- func (x *MergeProfile) SetQuery(v string)
- func (x *MergeProfile) SetStart(v *timestamppb.Timestamp)
- func (x *MergeProfile) String() string
- type MergeProfile_builder
- type MetricsSample
- func (x *MetricsSample) ClearTimestamp()
- func (x *MetricsSample) GetCount() int32
- func (x *MetricsSample) GetDuration() int64
- func (x *MetricsSample) GetTimestamp() *timestamppb.Timestamp
- func (x *MetricsSample) GetValue() int64
- func (x *MetricsSample) GetValuePerSecond() float64
- func (x *MetricsSample) HasTimestamp() bool
- func (*MetricsSample) ProtoMessage()
- func (x *MetricsSample) ProtoReflect() protoreflect.Message
- func (x *MetricsSample) Reset()
- func (x *MetricsSample) SetCount(v int32)
- func (x *MetricsSample) SetDuration(v int64)
- func (x *MetricsSample) SetTimestamp(v *timestamppb.Timestamp)
- func (x *MetricsSample) SetValue(v int64)
- func (x *MetricsSample) SetValuePerSecond(v float64)
- func (x *MetricsSample) String() string
- type MetricsSample_builder
- type MetricsSeries
- func (x *MetricsSeries) ClearLabelset()
- func (x *MetricsSeries) ClearPeriodType()
- func (x *MetricsSeries) ClearSampleType()
- func (x *MetricsSeries) GetLabelset() *v1alpha1.LabelSet
- func (x *MetricsSeries) GetPeriodType() *ValueType
- func (x *MetricsSeries) GetSampleType() *ValueType
- func (x *MetricsSeries) GetSamples() []*MetricsSample
- func (x *MetricsSeries) HasLabelset() bool
- func (x *MetricsSeries) HasPeriodType() bool
- func (x *MetricsSeries) HasSampleType() bool
- func (*MetricsSeries) ProtoMessage()
- func (x *MetricsSeries) ProtoReflect() protoreflect.Message
- func (x *MetricsSeries) Reset()
- func (x *MetricsSeries) SetLabelset(v *v1alpha1.LabelSet)
- func (x *MetricsSeries) SetPeriodType(v *ValueType)
- func (x *MetricsSeries) SetSampleType(v *ValueType)
- func (x *MetricsSeries) SetSamples(v []*MetricsSample)
- func (x *MetricsSeries) String() string
- type MetricsSeries_builder
- type NumberCondition
- func (x *NumberCondition) ClearCondition()
- func (x *NumberCondition) ClearEqual()
- func (x *NumberCondition) ClearNotEqual()
- func (x *NumberCondition) GetCondition() isNumberCondition_Condition
- func (x *NumberCondition) GetEqual() uint64
- func (x *NumberCondition) GetNotEqual() uint64
- func (x *NumberCondition) HasCondition() bool
- func (x *NumberCondition) HasEqual() bool
- func (x *NumberCondition) HasNotEqual() bool
- func (*NumberCondition) ProtoMessage()
- func (x *NumberCondition) ProtoReflect() protoreflect.Message
- func (x *NumberCondition) Reset()
- func (x *NumberCondition) SetEqual(v uint64)
- func (x *NumberCondition) SetNotEqual(v uint64)
- func (x *NumberCondition) String() string
- func (x *NumberCondition) WhichCondition() case_NumberCondition_Condition
- type NumberCondition_Equal
- type NumberCondition_NotEqual
- type NumberCondition_builder
- type ProfileDiffSelection
- func (x *ProfileDiffSelection) ClearMerge()
- func (x *ProfileDiffSelection) ClearOptions()
- func (x *ProfileDiffSelection) ClearSingle()
- func (x *ProfileDiffSelection) GetMerge() *MergeProfile
- func (x *ProfileDiffSelection) GetMode() ProfileDiffSelection_Mode
- func (x *ProfileDiffSelection) GetOptions() isProfileDiffSelection_Options
- func (x *ProfileDiffSelection) GetSingle() *SingleProfile
- func (x *ProfileDiffSelection) HasMerge() bool
- func (x *ProfileDiffSelection) HasOptions() bool
- func (x *ProfileDiffSelection) HasSingle() bool
- func (*ProfileDiffSelection) ProtoMessage()
- func (x *ProfileDiffSelection) ProtoReflect() protoreflect.Message
- func (x *ProfileDiffSelection) Reset()
- func (x *ProfileDiffSelection) SetMerge(v *MergeProfile)
- func (x *ProfileDiffSelection) SetMode(v ProfileDiffSelection_Mode)
- func (x *ProfileDiffSelection) SetSingle(v *SingleProfile)
- func (x *ProfileDiffSelection) String() string
- func (x *ProfileDiffSelection) WhichOptions() case_ProfileDiffSelection_Options
- type ProfileDiffSelection_Merge
- type ProfileDiffSelection_Mode
- func (ProfileDiffSelection_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x ProfileDiffSelection_Mode) Enum() *ProfileDiffSelection_Mode
- func (x ProfileDiffSelection_Mode) Number() protoreflect.EnumNumber
- func (x ProfileDiffSelection_Mode) String() string
- func (ProfileDiffSelection_Mode) Type() protoreflect.EnumType
- type ProfileDiffSelection_Single
- type ProfileDiffSelection_builder
- type ProfileMetadata
- func (x *ProfileMetadata) GetLabels() []string
- func (x *ProfileMetadata) GetMappingFiles() []string
- func (*ProfileMetadata) ProtoMessage()
- func (x *ProfileMetadata) ProtoReflect() protoreflect.Message
- func (x *ProfileMetadata) Reset()
- func (x *ProfileMetadata) SetLabels(v []string)
- func (x *ProfileMetadata) SetMappingFiles(v []string)
- func (x *ProfileMetadata) String() string
- type ProfileMetadata_builder
- type ProfileType
- func (x *ProfileType) GetDelta() bool
- func (x *ProfileType) GetName() string
- func (x *ProfileType) GetPeriodType() string
- func (x *ProfileType) GetPeriodUnit() string
- func (x *ProfileType) GetSampleType() string
- func (x *ProfileType) GetSampleUnit() string
- func (*ProfileType) ProtoMessage()
- func (x *ProfileType) ProtoReflect() protoreflect.Message
- func (x *ProfileType) Reset()
- func (x *ProfileType) SetDelta(v bool)
- func (x *ProfileType) SetName(v string)
- func (x *ProfileType) SetPeriodType(v string)
- func (x *ProfileType) SetPeriodUnit(v string)
- func (x *ProfileType) SetSampleType(v string)
- func (x *ProfileType) SetSampleUnit(v string)
- func (x *ProfileType) String() string
- type ProfileType_builder
- type ProfileTypesRequest
- func (x *ProfileTypesRequest) ClearEnd()
- func (x *ProfileTypesRequest) ClearStart()
- func (x *ProfileTypesRequest) GetEnd() *timestamppb.Timestamp
- func (x *ProfileTypesRequest) GetStart() *timestamppb.Timestamp
- func (x *ProfileTypesRequest) HasEnd() bool
- func (x *ProfileTypesRequest) HasStart() bool
- func (*ProfileTypesRequest) ProtoMessage()
- func (x *ProfileTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ProfileTypesRequest) Reset()
- func (x *ProfileTypesRequest) SetEnd(v *timestamppb.Timestamp)
- func (x *ProfileTypesRequest) SetStart(v *timestamppb.Timestamp)
- func (x *ProfileTypesRequest) String() string
- type ProfileTypesRequest_builder
- type ProfileTypesResponse
- func (x *ProfileTypesResponse) GetTypes() []*ProfileType
- func (*ProfileTypesResponse) ProtoMessage()
- func (x *ProfileTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ProfileTypesResponse) Reset()
- func (x *ProfileTypesResponse) SetTypes(v []*ProfileType)
- func (x *ProfileTypesResponse) String() string
- type ProfileTypesResponse_builder
- type QueryRangeRequest
- func (x *QueryRangeRequest) ClearEnd()
- func (x *QueryRangeRequest) ClearStart()
- func (x *QueryRangeRequest) ClearStep()
- func (x *QueryRangeRequest) GetEnd() *timestamppb.Timestamp
- func (x *QueryRangeRequest) GetLimit() uint32
- func (x *QueryRangeRequest) GetQuery() string
- func (x *QueryRangeRequest) GetStart() *timestamppb.Timestamp
- func (x *QueryRangeRequest) GetStep() *durationpb.Duration
- func (x *QueryRangeRequest) GetSumBy() []string
- func (x *QueryRangeRequest) HasEnd() bool
- func (x *QueryRangeRequest) HasStart() bool
- func (x *QueryRangeRequest) HasStep() bool
- func (*QueryRangeRequest) ProtoMessage()
- func (x *QueryRangeRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRangeRequest) Reset()
- func (x *QueryRangeRequest) SetEnd(v *timestamppb.Timestamp)
- func (x *QueryRangeRequest) SetLimit(v uint32)
- func (x *QueryRangeRequest) SetQuery(v string)
- func (x *QueryRangeRequest) SetStart(v *timestamppb.Timestamp)
- func (x *QueryRangeRequest) SetStep(v *durationpb.Duration)
- func (x *QueryRangeRequest) SetSumBy(v []string)
- func (x *QueryRangeRequest) String() string
- type QueryRangeRequest_builder
- type QueryRangeResponse
- func (x *QueryRangeResponse) GetSeries() []*MetricsSeries
- func (*QueryRangeResponse) ProtoMessage()
- func (x *QueryRangeResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRangeResponse) Reset()
- func (x *QueryRangeResponse) SetSeries(v []*MetricsSeries)
- func (x *QueryRangeResponse) String() string
- type QueryRangeResponse_builder
- type QueryRequest
- func (x *QueryRequest) ClearDiff()
- func (x *QueryRequest) ClearFilterQuery()deprecated
- func (x *QueryRequest) ClearGroupBy()
- func (x *QueryRequest) ClearInvertCallStack()
- func (x *QueryRequest) ClearMerge()
- func (x *QueryRequest) ClearNodeTrimThreshold()
- func (x *QueryRequest) ClearOptions()
- func (x *QueryRequest) ClearRuntimeFilter()deprecated
- func (x *QueryRequest) ClearSandwichByFunction()
- func (x *QueryRequest) ClearSingle()
- func (x *QueryRequest) ClearSourceReference()
- func (x *QueryRequest) GetDiff() *DiffProfile
- func (x *QueryRequest) GetFilter() []*Filter
- func (x *QueryRequest) GetFilterQuery() stringdeprecated
- func (x *QueryRequest) GetGroupBy() *GroupBy
- func (x *QueryRequest) GetInvertCallStack() bool
- func (x *QueryRequest) GetMerge() *MergeProfile
- func (x *QueryRequest) GetMode() QueryRequest_Mode
- func (x *QueryRequest) GetNodeTrimThreshold() float32
- func (x *QueryRequest) GetOptions() isQueryRequest_Options
- func (x *QueryRequest) GetReportType() QueryRequest_ReportType
- func (x *QueryRequest) GetRuntimeFilter() *RuntimeFilterdeprecated
- func (x *QueryRequest) GetSandwichByFunction() string
- func (x *QueryRequest) GetSingle() *SingleProfile
- func (x *QueryRequest) GetSourceReference() *SourceReference
- func (x *QueryRequest) HasDiff() bool
- func (x *QueryRequest) HasFilterQuery() booldeprecated
- func (x *QueryRequest) HasGroupBy() bool
- func (x *QueryRequest) HasInvertCallStack() bool
- func (x *QueryRequest) HasMerge() bool
- func (x *QueryRequest) HasNodeTrimThreshold() bool
- func (x *QueryRequest) HasOptions() bool
- func (x *QueryRequest) HasRuntimeFilter() booldeprecated
- func (x *QueryRequest) HasSandwichByFunction() bool
- func (x *QueryRequest) HasSingle() bool
- func (x *QueryRequest) HasSourceReference() bool
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) SetDiff(v *DiffProfile)
- func (x *QueryRequest) SetFilter(v []*Filter)
- func (x *QueryRequest) SetFilterQuery(v string)deprecated
- func (x *QueryRequest) SetGroupBy(v *GroupBy)
- func (x *QueryRequest) SetInvertCallStack(v bool)
- func (x *QueryRequest) SetMerge(v *MergeProfile)
- func (x *QueryRequest) SetMode(v QueryRequest_Mode)
- func (x *QueryRequest) SetNodeTrimThreshold(v float32)
- func (x *QueryRequest) SetReportType(v QueryRequest_ReportType)
- func (x *QueryRequest) SetRuntimeFilter(v *RuntimeFilter)deprecated
- func (x *QueryRequest) SetSandwichByFunction(v string)
- func (x *QueryRequest) SetSingle(v *SingleProfile)
- func (x *QueryRequest) SetSourceReference(v *SourceReference)
- func (x *QueryRequest) String() string
- func (x *QueryRequest) WhichOptions() case_QueryRequest_Options
- type QueryRequest_Diff
- type QueryRequest_Merge
- type QueryRequest_Mode
- type QueryRequest_ReportType
- func (QueryRequest_ReportType) Descriptor() protoreflect.EnumDescriptor
- func (x QueryRequest_ReportType) Enum() *QueryRequest_ReportType
- func (x QueryRequest_ReportType) Number() protoreflect.EnumNumber
- func (x QueryRequest_ReportType) String() string
- func (QueryRequest_ReportType) Type() protoreflect.EnumType
- type QueryRequest_Single
- type QueryRequest_builder
- type QueryResponse
- func (x *QueryResponse) ClearCallgraph()
- func (x *QueryResponse) ClearFlamegraph()
- func (x *QueryResponse) ClearFlamegraphArrow()
- func (x *QueryResponse) ClearPprof()
- func (x *QueryResponse) ClearProfileMetadata()
- func (x *QueryResponse) ClearReport()
- func (x *QueryResponse) ClearSource()
- func (x *QueryResponse) ClearTableArrow()
- func (x *QueryResponse) ClearTop()
- func (x *QueryResponse) GetCallgraph() *Callgraph
- func (x *QueryResponse) GetFiltered() int64
- func (x *QueryResponse) GetFlamegraph() *Flamegraph
- func (x *QueryResponse) GetFlamegraphArrow() *FlamegraphArrow
- func (x *QueryResponse) GetPprof() []byte
- func (x *QueryResponse) GetProfileMetadata() *ProfileMetadata
- func (x *QueryResponse) GetReport() isQueryResponse_Report
- func (x *QueryResponse) GetSource() *Source
- func (x *QueryResponse) GetTableArrow() *TableArrow
- func (x *QueryResponse) GetTop() *Top
- func (x *QueryResponse) GetTotal() int64
- func (x *QueryResponse) HasCallgraph() bool
- func (x *QueryResponse) HasFlamegraph() bool
- func (x *QueryResponse) HasFlamegraphArrow() bool
- func (x *QueryResponse) HasPprof() bool
- func (x *QueryResponse) HasProfileMetadata() bool
- func (x *QueryResponse) HasReport() bool
- func (x *QueryResponse) HasSource() bool
- func (x *QueryResponse) HasTableArrow() bool
- func (x *QueryResponse) HasTop() bool
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) SetCallgraph(v *Callgraph)
- func (x *QueryResponse) SetFiltered(v int64)
- func (x *QueryResponse) SetFlamegraph(v *Flamegraph)
- func (x *QueryResponse) SetFlamegraphArrow(v *FlamegraphArrow)
- func (x *QueryResponse) SetPprof(v []byte)
- func (x *QueryResponse) SetProfileMetadata(v *ProfileMetadata)
- func (x *QueryResponse) SetSource(v *Source)
- func (x *QueryResponse) SetTableArrow(v *TableArrow)
- func (x *QueryResponse) SetTop(v *Top)
- func (x *QueryResponse) SetTotal(v int64)
- func (x *QueryResponse) String() string
- func (x *QueryResponse) WhichReport() case_QueryResponse_Report
- type QueryResponse_Callgraph
- type QueryResponse_Flamegraph
- type QueryResponse_FlamegraphArrow
- type QueryResponse_Pprof
- type QueryResponse_ProfileMetadata
- type QueryResponse_Source
- type QueryResponse_TableArrow
- type QueryResponse_Top
- type QueryResponse_builder
- type RuntimeFilter
- func (x *RuntimeFilter) GetShowInterpretedOnly() bool
- func (x *RuntimeFilter) GetShowPython() bool
- func (x *RuntimeFilter) GetShowRuby() bool
- func (*RuntimeFilter) ProtoMessage()
- func (x *RuntimeFilter) ProtoReflect() protoreflect.Message
- func (x *RuntimeFilter) Reset()
- func (x *RuntimeFilter) SetShowInterpretedOnly(v bool)
- func (x *RuntimeFilter) SetShowPython(v bool)
- func (x *RuntimeFilter) SetShowRuby(v bool)
- func (x *RuntimeFilter) String() string
- type RuntimeFilter_builder
- type SeriesRequest
- func (x *SeriesRequest) ClearEnd()
- func (x *SeriesRequest) ClearStart()
- func (x *SeriesRequest) GetEnd() *timestamppb.Timestamp
- func (x *SeriesRequest) GetMatch() []string
- func (x *SeriesRequest) GetStart() *timestamppb.Timestamp
- func (x *SeriesRequest) HasEnd() bool
- func (x *SeriesRequest) HasStart() bool
- func (*SeriesRequest) ProtoMessage()
- func (x *SeriesRequest) ProtoReflect() protoreflect.Message
- func (x *SeriesRequest) Reset()
- func (x *SeriesRequest) SetEnd(v *timestamppb.Timestamp)
- func (x *SeriesRequest) SetMatch(v []string)
- func (x *SeriesRequest) SetStart(v *timestamppb.Timestamp)
- func (x *SeriesRequest) String() string
- type SeriesRequest_builder
- type SeriesResponse
- type SeriesResponse_builder
- type ShareProfileRequest
- func (x *ShareProfileRequest) ClearDescription()
- func (x *ShareProfileRequest) ClearQueryRequest()
- func (x *ShareProfileRequest) GetDescription() string
- func (x *ShareProfileRequest) GetQueryRequest() *QueryRequest
- func (x *ShareProfileRequest) HasDescription() bool
- func (x *ShareProfileRequest) HasQueryRequest() bool
- func (*ShareProfileRequest) ProtoMessage()
- func (x *ShareProfileRequest) ProtoReflect() protoreflect.Message
- func (x *ShareProfileRequest) Reset()
- func (x *ShareProfileRequest) SetDescription(v string)
- func (x *ShareProfileRequest) SetQueryRequest(v *QueryRequest)
- func (x *ShareProfileRequest) String() string
- type ShareProfileRequest_builder
- type ShareProfileResponse
- type ShareProfileResponse_builder
- type SingleProfile
- func (x *SingleProfile) ClearTime()
- func (x *SingleProfile) GetQuery() string
- func (x *SingleProfile) GetTime() *timestamppb.Timestamp
- func (x *SingleProfile) HasTime() bool
- func (*SingleProfile) ProtoMessage()
- func (x *SingleProfile) ProtoReflect() protoreflect.Message
- func (x *SingleProfile) Reset()
- func (x *SingleProfile) SetQuery(v string)
- func (x *SingleProfile) SetTime(v *timestamppb.Timestamp)
- func (x *SingleProfile) String() string
- type SingleProfile_builder
- type Source
- func (x *Source) GetRecord() []byte
- func (x *Source) GetSource() string
- func (x *Source) GetUnit() string
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) SetRecord(v []byte)
- func (x *Source) SetSource(v string)
- func (x *Source) SetUnit(v string)
- func (x *Source) String() string
- type SourceReference
- func (x *SourceReference) GetBuildId() string
- func (x *SourceReference) GetFilename() string
- func (x *SourceReference) GetSourceOnly() bool
- func (*SourceReference) ProtoMessage()
- func (x *SourceReference) ProtoReflect() protoreflect.Message
- func (x *SourceReference) Reset()
- func (x *SourceReference) SetBuildId(v string)
- func (x *SourceReference) SetFilename(v string)
- func (x *SourceReference) SetSourceOnly(v bool)
- func (x *SourceReference) String() string
- type SourceReference_builder
- type Source_builder
- type StackFilter
- func (x *StackFilter) ClearCriteria()
- func (x *StackFilter) ClearFilter()
- func (x *StackFilter) ClearFunctionNameStackFilter()deprecated
- func (x *StackFilter) GetCriteria() *FilterCriteria
- func (x *StackFilter) GetFilter() isStackFilter_Filter
- func (x *StackFilter) GetFunctionNameStackFilter() *FunctionNameStackFilterdeprecated
- func (x *StackFilter) HasCriteria() bool
- func (x *StackFilter) HasFilter() bool
- func (x *StackFilter) HasFunctionNameStackFilter() booldeprecated
- func (*StackFilter) ProtoMessage()
- func (x *StackFilter) ProtoReflect() protoreflect.Message
- func (x *StackFilter) Reset()
- func (x *StackFilter) SetCriteria(v *FilterCriteria)
- func (x *StackFilter) SetFunctionNameStackFilter(v *FunctionNameStackFilter)deprecated
- func (x *StackFilter) String() string
- func (x *StackFilter) WhichFilter() case_StackFilter_Filter
- type StackFilter_Criteria
- type StackFilter_FunctionNameStackFilter
- type StackFilter_builder
- type StringCondition
- func (x *StringCondition) ClearCondition()
- func (x *StringCondition) ClearContains()
- func (x *StringCondition) ClearEqual()
- func (x *StringCondition) ClearNotContains()
- func (x *StringCondition) ClearNotEqual()
- func (x *StringCondition) ClearNotStartsWith()
- func (x *StringCondition) ClearStartsWith()
- func (x *StringCondition) GetCondition() isStringCondition_Condition
- func (x *StringCondition) GetContains() string
- func (x *StringCondition) GetEqual() string
- func (x *StringCondition) GetNotContains() string
- func (x *StringCondition) GetNotEqual() string
- func (x *StringCondition) GetNotStartsWith() string
- func (x *StringCondition) GetStartsWith() string
- func (x *StringCondition) HasCondition() bool
- func (x *StringCondition) HasContains() bool
- func (x *StringCondition) HasEqual() bool
- func (x *StringCondition) HasNotContains() bool
- func (x *StringCondition) HasNotEqual() bool
- func (x *StringCondition) HasNotStartsWith() bool
- func (x *StringCondition) HasStartsWith() bool
- func (*StringCondition) ProtoMessage()
- func (x *StringCondition) ProtoReflect() protoreflect.Message
- func (x *StringCondition) Reset()
- func (x *StringCondition) SetContains(v string)
- func (x *StringCondition) SetEqual(v string)
- func (x *StringCondition) SetNotContains(v string)
- func (x *StringCondition) SetNotEqual(v string)
- func (x *StringCondition) SetNotStartsWith(v string)
- func (x *StringCondition) SetStartsWith(v string)
- func (x *StringCondition) String() string
- func (x *StringCondition) WhichCondition() case_StringCondition_Condition
- type StringCondition_Contains
- type StringCondition_Equal
- type StringCondition_NotContains
- type StringCondition_NotEqual
- type StringCondition_NotStartsWith
- type StringCondition_StartsWith
- type StringCondition_builder
- type TableArrow
- func (x *TableArrow) GetRecord() []byte
- func (x *TableArrow) GetUnit() string
- func (*TableArrow) ProtoMessage()
- func (x *TableArrow) ProtoReflect() protoreflect.Message
- func (x *TableArrow) Reset()
- func (x *TableArrow) SetRecord(v []byte)
- func (x *TableArrow) SetUnit(v string)
- func (x *TableArrow) String() string
- type TableArrow_builder
- type Top
- func (x *Top) GetList() []*TopNode
- func (x *Top) GetReported() int32
- func (x *Top) GetTotal() int32deprecated
- func (x *Top) GetUnit() string
- func (*Top) ProtoMessage()
- func (x *Top) ProtoReflect() protoreflect.Message
- func (x *Top) Reset()
- func (x *Top) SetList(v []*TopNode)
- func (x *Top) SetReported(v int32)
- func (x *Top) SetTotal(v int32)deprecated
- func (x *Top) SetUnit(v string)
- func (x *Top) String() string
- type TopNode
- func (x *TopNode) ClearMeta()
- func (x *TopNode) GetCumulative() int64
- func (x *TopNode) GetDiff() int64
- func (x *TopNode) GetFlat() int64
- func (x *TopNode) GetMeta() *TopNodeMeta
- func (x *TopNode) HasMeta() bool
- func (*TopNode) ProtoMessage()
- func (x *TopNode) ProtoReflect() protoreflect.Message
- func (x *TopNode) Reset()
- func (x *TopNode) SetCumulative(v int64)
- func (x *TopNode) SetDiff(v int64)
- func (x *TopNode) SetFlat(v int64)
- func (x *TopNode) SetMeta(v *TopNodeMeta)
- func (x *TopNode) String() string
- type TopNodeMeta
- func (x *TopNodeMeta) ClearFunction()
- func (x *TopNodeMeta) ClearLine()
- func (x *TopNodeMeta) ClearLocation()
- func (x *TopNodeMeta) ClearMapping()
- func (x *TopNodeMeta) GetFunction() *v1alpha11.Function
- func (x *TopNodeMeta) GetLine() *v1alpha11.Line
- func (x *TopNodeMeta) GetLocation() *v1alpha11.Location
- func (x *TopNodeMeta) GetMapping() *v1alpha11.Mapping
- func (x *TopNodeMeta) HasFunction() bool
- func (x *TopNodeMeta) HasLine() bool
- func (x *TopNodeMeta) HasLocation() bool
- func (x *TopNodeMeta) HasMapping() bool
- func (*TopNodeMeta) ProtoMessage()
- func (x *TopNodeMeta) ProtoReflect() protoreflect.Message
- func (x *TopNodeMeta) Reset()
- func (x *TopNodeMeta) SetFunction(v *v1alpha11.Function)
- func (x *TopNodeMeta) SetLine(v *v1alpha11.Line)
- func (x *TopNodeMeta) SetLocation(v *v1alpha11.Location)
- func (x *TopNodeMeta) SetMapping(v *v1alpha11.Mapping)
- func (x *TopNodeMeta) String() string
- type TopNodeMeta_builder
- type TopNode_builder
- type Top_builder
- type ValueType
- func (x *ValueType) GetType() string
- func (x *ValueType) GetUnit() string
- func (*ValueType) ProtoMessage()
- func (x *ValueType) ProtoReflect() protoreflect.Message
- func (x *ValueType) Reset()
- func (x *ValueType) SetType(v string)
- func (x *ValueType) SetUnit(v string)
- func (x *ValueType) String() string
- type ValueType_builder
- type ValuesRequest
- func (x *ValuesRequest) ClearEnd()
- func (x *ValuesRequest) ClearProfileType()
- func (x *ValuesRequest) ClearStart()
- func (x *ValuesRequest) GetEnd() *timestamppb.Timestamp
- func (x *ValuesRequest) GetLabelName() string
- func (x *ValuesRequest) GetMatch() []string
- func (x *ValuesRequest) GetProfileType() string
- func (x *ValuesRequest) GetStart() *timestamppb.Timestamp
- func (x *ValuesRequest) HasEnd() bool
- func (x *ValuesRequest) HasProfileType() bool
- func (x *ValuesRequest) HasStart() bool
- func (*ValuesRequest) ProtoMessage()
- func (x *ValuesRequest) ProtoReflect() protoreflect.Message
- func (x *ValuesRequest) Reset()
- func (x *ValuesRequest) SetEnd(v *timestamppb.Timestamp)
- func (x *ValuesRequest) SetLabelName(v string)
- func (x *ValuesRequest) SetMatch(v []string)
- func (x *ValuesRequest) SetProfileType(v string)
- func (x *ValuesRequest) SetStart(v *timestamppb.Timestamp)
- func (x *ValuesRequest) String() string
- type ValuesRequest_builder
- type ValuesResponse
- func (x *ValuesResponse) GetLabelValues() []string
- func (x *ValuesResponse) GetWarnings() []string
- func (*ValuesResponse) ProtoMessage()
- func (x *ValuesResponse) ProtoReflect() protoreflect.Message
- func (x *ValuesResponse) Reset()
- func (x *ValuesResponse) SetLabelValues(v []string)
- func (x *ValuesResponse) SetWarnings(v []string)
- func (x *ValuesResponse) String() string
- type ValuesResponse_builder
Constants ¶
const Filter_Filter_not_set_case case_Filter_Filter = 0
const Filter_FrameFilter_case case_Filter_Filter = 2
const Filter_StackFilter_case case_Filter_Filter = 1
const FrameFilter_BinaryFrameFilter_case case_FrameFilter_Filter = 1
const FrameFilter_Criteria_case case_FrameFilter_Filter = 2
const FrameFilter_Filter_not_set_case case_FrameFilter_Filter = 0
const NumberCondition_Condition_not_set_case case_NumberCondition_Condition = 0
const NumberCondition_Equal_case case_NumberCondition_Condition = 1
const NumberCondition_NotEqual_case case_NumberCondition_Condition = 2
const ProfileDiffSelection_Merge_case case_ProfileDiffSelection_Options = 2
const ProfileDiffSelection_Options_not_set_case case_ProfileDiffSelection_Options = 0
const ProfileDiffSelection_Single_case case_ProfileDiffSelection_Options = 3
const QueryRequest_Diff_case case_QueryRequest_Options = 2
const QueryRequest_Merge_case case_QueryRequest_Options = 3
const QueryRequest_Options_not_set_case case_QueryRequest_Options = 0
const QueryRequest_Single_case case_QueryRequest_Options = 4
const QueryResponse_Callgraph_case case_QueryResponse_Report = 8
const QueryResponse_FlamegraphArrow_case case_QueryResponse_Report = 11
const QueryResponse_Flamegraph_case case_QueryResponse_Report = 5
const QueryResponse_Pprof_case case_QueryResponse_Report = 6
const QueryResponse_ProfileMetadata_case case_QueryResponse_Report = 14
const QueryResponse_Report_not_set_case case_QueryResponse_Report = 0
const QueryResponse_Source_case case_QueryResponse_Report = 12
const QueryResponse_TableArrow_case case_QueryResponse_Report = 13
const QueryResponse_Top_case case_QueryResponse_Report = 7
const StackFilter_Criteria_case case_StackFilter_Filter = 2
const StackFilter_Filter_not_set_case case_StackFilter_Filter = 0
const StackFilter_FunctionNameStackFilter_case case_StackFilter_Filter = 1
const StringCondition_Condition_not_set_case case_StringCondition_Condition = 0
const StringCondition_Contains_case case_StringCondition_Condition = 3
const StringCondition_Equal_case case_StringCondition_Condition = 1
const StringCondition_NotContains_case case_StringCondition_Condition = 4
const StringCondition_NotEqual_case case_StringCondition_Condition = 2
const StringCondition_NotStartsWith_case case_StringCondition_Condition = 6
const StringCondition_StartsWith_case case_StringCondition_Condition = 5
Variables ¶
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.
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.
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.
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 ¶
func (b0 BinaryFrameFilter_builder) Build() *BinaryFrameFilter
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) GetEdges ¶
func (x *Callgraph) GetEdges() []*CallgraphEdge
func (*Callgraph) GetNodes ¶
func (x *Callgraph) GetNodes() []*CallgraphNode
func (*Callgraph) ProtoReflect ¶
func (x *Callgraph) ProtoReflect() protoreflect.Message
func (*Callgraph) SetEdges ¶
func (x *Callgraph) SetEdges(v []*CallgraphEdge)
func (*Callgraph) SetNodes ¶
func (x *Callgraph) SetNodes(v []*CallgraphNode)
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 ¶
func (b0 CallgraphEdge_builder) Build() *CallgraphEdge
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 ¶
func (b0 CallgraphNodeMeta_builder) Build() *CallgraphNodeMeta
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 ¶
func (b0 CallgraphNode_builder) Build() *CallgraphNode
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) GetFrameFilter ¶
func (x *Filter) GetFrameFilter() *FrameFilter
func (*Filter) GetStackFilter ¶
func (x *Filter) GetStackFilter() *StackFilter
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) SetFrameFilter ¶
func (x *Filter) SetFrameFilter(v *FrameFilter)
func (*Filter) SetStackFilter ¶
func (x *Filter) SetStackFilter(v *StackFilter)
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 ¶
func (b0 FilterCriteria_builder) Build() *FilterCriteria
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 ¶
func (b0 FlamegraphArrow_builder) Build() *FlamegraphArrow
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 ¶
func (b0 FlamegraphNodeMeta_builder) Build() *FlamegraphNodeMeta
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 ¶
func (b0 FlamegraphNode_builder) Build() *FlamegraphNode
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 ¶
func (b0 FlamegraphRootNode_builder) Build() *FlamegraphRootNode
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 ¶
func (b0 FunctionNameStackFilter_builder) Build() *FunctionNameStackFilter
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) ProtoReflect ¶
func (x *GroupBy) ProtoReflect() protoreflect.Message
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 ¶
func (b0 HasProfileDataRequest_builder) Build() *HasProfileDataRequest
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 ¶
func (b0 HasProfileDataResponse_builder) Build() *HasProfileDataResponse
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 ¶
func (b0 LabelsRequest_builder) Build() *LabelsRequest
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 ¶
func (b0 LabelsResponse_builder) Build() *LabelsResponse
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 ¶
func (b0 MetricsSample_builder) Build() *MetricsSample
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 ¶
func (b0 MetricsSeries_builder) Build() *MetricsSeries
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 ¶
func (b0 NumberCondition_builder) Build() *NumberCondition
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 (x *ProfileDiffSelection) GetMode() ProfileDiffSelection_Mode
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 (x *ProfileDiffSelection) SetMode(v ProfileDiffSelection_Mode)
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) Descriptor() protoreflect.EnumDescriptor
func (ProfileDiffSelection_Mode) Enum ¶
func (x ProfileDiffSelection_Mode) Enum() *ProfileDiffSelection_Mode
func (ProfileDiffSelection_Mode) Number ¶
func (x ProfileDiffSelection_Mode) Number() protoreflect.EnumNumber
func (ProfileDiffSelection_Mode) String ¶
func (x ProfileDiffSelection_Mode) String() string
func (ProfileDiffSelection_Mode) Type ¶
func (ProfileDiffSelection_Mode) Type() protoreflect.EnumType
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 ¶
func (b0 ProfileDiffSelection_builder) Build() *ProfileDiffSelection
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 ¶
func (b0 ProfileMetadata_builder) Build() *ProfileMetadata
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 (x *ProfileTypesRequest) GetEnd() *timestamppb.Timestamp
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 (x *ProfileTypesRequest) SetEnd(v *timestamppb.Timestamp)
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 ¶
func (b0 ProfileTypesRequest_builder) Build() *ProfileTypesRequest
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 ¶
func (b0 ProfileTypesResponse_builder) Build() *ProfileTypesResponse
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 (x *QueryRangeRequest) GetEnd() *timestamppb.Timestamp
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 ¶
func (b0 QueryRangeRequest_builder) Build() *QueryRangeRequest
type QueryRangeResponse ¶
type QueryRangeResponse struct {
// series is the set of metrics series that satisfy the query range request
Series []*MetricsSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"`
// contains filtered or unexported fields
}
QueryRangeResponse is the set of matching profile values
func (*QueryRangeResponse) 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 ¶
func (b0 QueryRangeResponse_builder) Build() *QueryRangeResponse
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) Descriptor() protoreflect.EnumDescriptor
func (QueryRequest_Mode) Enum ¶
func (x QueryRequest_Mode) Enum() *QueryRequest_Mode
func (QueryRequest_Mode) Number ¶
func (x QueryRequest_Mode) Number() protoreflect.EnumNumber
func (QueryRequest_Mode) String ¶
func (x QueryRequest_Mode) String() string
func (QueryRequest_Mode) Type ¶
func (QueryRequest_Mode) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (QueryRequest_ReportType) Enum ¶
func (x QueryRequest_ReportType) Enum() *QueryRequest_ReportType
func (QueryRequest_ReportType) Number ¶
func (x QueryRequest_ReportType) Number() protoreflect.EnumNumber
func (QueryRequest_ReportType) String ¶
func (x QueryRequest_ReportType) String() string
func (QueryRequest_ReportType) Type ¶
func (QueryRequest_ReportType) Type() protoreflect.EnumType
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 ¶
func (b0 QueryResponse_builder) Build() *QueryResponse
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 ¶
func (b0 RuntimeFilter_builder) Build() *RuntimeFilter
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 ¶
func (b0 SeriesRequest_builder) Build() *SeriesRequest
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 ¶
func (b0 SeriesResponse_builder) Build() *SeriesResponse
type ShareProfileRequest ¶
type ShareProfileRequest struct {
QueryRequest *QueryRequest `protobuf:"bytes,1,opt,name=query_request,json=queryRequest,proto3" json:"query_request,omitempty"`
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 *QueryRequest
Description *string
// contains filtered or unexported fields
}
func (ShareProfileRequest_builder) Build ¶
func (b0 ShareProfileRequest_builder) Build() *ShareProfileRequest
type ShareProfileResponse ¶
type ShareProfileResponse struct {
Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
// contains filtered or unexported fields
}
ShareProfileResponse represents the shared link of a profile
func (*ShareProfileResponse) GetLink ¶
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 (*ShareProfileResponse) SetLink ¶
func (x *ShareProfileResponse) SetLink(v string)
func (*ShareProfileResponse) String ¶
func (x *ShareProfileResponse) String() string
type ShareProfileResponse_builder ¶
type ShareProfileResponse_builder struct {
Link string
// contains filtered or unexported fields
}
func (ShareProfileResponse_builder) Build ¶
func (b0 ShareProfileResponse_builder) Build() *ShareProfileResponse
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 ¶
func (b0 SingleProfile_builder) Build() *SingleProfile
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) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
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 ¶
func (b0 SourceReference_builder) Build() *SourceReference
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 ¶
func (b0 StringCondition_builder) Build() *StringCondition
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) ProtoReflect ¶
func (x *Top) ProtoReflect() protoreflect.Message
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) GetMeta ¶
func (x *TopNode) GetMeta() *TopNodeMeta
func (*TopNode) ProtoReflect ¶
func (x *TopNode) ProtoReflect() protoreflect.Message
func (*TopNode) SetMeta ¶
func (x *TopNode) SetMeta(v *TopNodeMeta)
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) ProtoReflect ¶
func (x *ValueType) ProtoReflect() protoreflect.Message
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 ¶
func (b0 ValuesRequest_builder) Build() *ValuesRequest
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 ¶
func (b0 ValuesResponse_builder) Build() *ValuesResponse
Source Files
¶
- query.pb.go