Documentation ¶
Overview ¶
Package queryv1alpha1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
- func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
- func RegisterQueryServiceServer(s grpc.ServiceRegistrar, srv QueryServiceServer)
- type AfterRule
- type Callgraph
- func (*Callgraph) Descriptor() ([]byte, []int)deprecated
- func (x *Callgraph) GetCumulative() int64deprecated
- func (x *Callgraph) GetEdges() []*CallgraphEdge
- func (x *Callgraph) GetNodes() []*CallgraphNode
- func (m *Callgraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Callgraph) MarshalToVT(dAtA []byte) (int, error)
- func (m *Callgraph) MarshalVT() (dAtA []byte, err error)
- func (*Callgraph) ProtoMessage()
- func (x *Callgraph) ProtoReflect() protoreflect.Message
- func (x *Callgraph) Reset()
- func (m *Callgraph) SizeVT() (n int)
- func (x *Callgraph) String() string
- func (m *Callgraph) UnmarshalVT(dAtA []byte) error
- type CallgraphEdge
- func (*CallgraphEdge) Descriptor() ([]byte, []int)deprecated
- 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 (m *CallgraphEdge) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CallgraphEdge) MarshalToVT(dAtA []byte) (int, error)
- func (m *CallgraphEdge) MarshalVT() (dAtA []byte, err error)
- func (*CallgraphEdge) ProtoMessage()
- func (x *CallgraphEdge) ProtoReflect() protoreflect.Message
- func (x *CallgraphEdge) Reset()
- func (m *CallgraphEdge) SizeVT() (n int)
- func (x *CallgraphEdge) String() string
- func (m *CallgraphEdge) UnmarshalVT(dAtA []byte) error
- type CallgraphNode
- func (*CallgraphNode) Descriptor() ([]byte, []int)deprecated
- func (x *CallgraphNode) GetCumulative() int64
- func (x *CallgraphNode) GetFlat() int64
- func (x *CallgraphNode) GetId() string
- func (x *CallgraphNode) GetMeta() *CallgraphNodeMeta
- func (m *CallgraphNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CallgraphNode) MarshalToVT(dAtA []byte) (int, error)
- func (m *CallgraphNode) MarshalVT() (dAtA []byte, err error)
- func (*CallgraphNode) ProtoMessage()
- func (x *CallgraphNode) ProtoReflect() protoreflect.Message
- func (x *CallgraphNode) Reset()
- func (m *CallgraphNode) SizeVT() (n int)
- func (x *CallgraphNode) String() string
- func (m *CallgraphNode) UnmarshalVT(dAtA []byte) error
- type CallgraphNodeMeta
- func (*CallgraphNodeMeta) Descriptor() ([]byte, []int)deprecated
- 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 (m *CallgraphNodeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CallgraphNodeMeta) MarshalToVT(dAtA []byte) (int, error)
- func (m *CallgraphNodeMeta) MarshalVT() (dAtA []byte, err error)
- func (*CallgraphNodeMeta) ProtoMessage()
- func (x *CallgraphNodeMeta) ProtoReflect() protoreflect.Message
- func (x *CallgraphNodeMeta) Reset()
- func (m *CallgraphNodeMeta) SizeVT() (n int)
- func (x *CallgraphNodeMeta) String() string
- func (m *CallgraphNodeMeta) UnmarshalVT(dAtA []byte) error
- type DiffProfile
- func (*DiffProfile) Descriptor() ([]byte, []int)deprecated
- func (x *DiffProfile) GetA() *ProfileDiffSelection
- func (x *DiffProfile) GetB() *ProfileDiffSelection
- func (m *DiffProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DiffProfile) MarshalToVT(dAtA []byte) (int, error)
- func (m *DiffProfile) MarshalVT() (dAtA []byte, err error)
- func (*DiffProfile) ProtoMessage()
- func (x *DiffProfile) ProtoReflect() protoreflect.Message
- func (x *DiffProfile) Reset()
- func (m *DiffProfile) SizeVT() (n int)
- func (x *DiffProfile) String() string
- func (m *DiffProfile) UnmarshalVT(dAtA []byte) error
- type DiffProfileSelectionOptionMatchesRule
- type DiffSelectionModeRule
- type Flamegraph
- func (*Flamegraph) Descriptor() ([]byte, []int)deprecated
- 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 (m *Flamegraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Flamegraph) MarshalToVT(dAtA []byte) (int, error)
- func (m *Flamegraph) MarshalVT() (dAtA []byte, err error)
- func (*Flamegraph) ProtoMessage()
- func (x *Flamegraph) ProtoReflect() protoreflect.Message
- func (x *Flamegraph) Reset()
- func (m *Flamegraph) SizeVT() (n int)
- func (x *Flamegraph) String() string
- func (m *Flamegraph) UnmarshalVT(dAtA []byte) error
- type FlamegraphArrow
- func (*FlamegraphArrow) Descriptor() ([]byte, []int)deprecated
- func (x *FlamegraphArrow) GetHeight() int32
- func (x *FlamegraphArrow) GetRecord() []byte
- func (x *FlamegraphArrow) GetTrimmed() int64
- func (x *FlamegraphArrow) GetUnit() string
- func (m *FlamegraphArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FlamegraphArrow) MarshalToVT(dAtA []byte) (int, error)
- func (m *FlamegraphArrow) MarshalVT() (dAtA []byte, err error)
- func (*FlamegraphArrow) ProtoMessage()
- func (x *FlamegraphArrow) ProtoReflect() protoreflect.Message
- func (x *FlamegraphArrow) Reset()
- func (m *FlamegraphArrow) SizeVT() (n int)
- func (x *FlamegraphArrow) String() string
- func (m *FlamegraphArrow) UnmarshalVT(dAtA []byte) error
- type FlamegraphNode
- func (*FlamegraphNode) Descriptor() ([]byte, []int)deprecated
- func (x *FlamegraphNode) GetChildren() []*FlamegraphNode
- func (x *FlamegraphNode) GetCumulative() int64
- func (x *FlamegraphNode) GetDiff() int64
- func (x *FlamegraphNode) GetMeta() *FlamegraphNodeMeta
- func (m *FlamegraphNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FlamegraphNode) MarshalToVT(dAtA []byte) (int, error)
- func (m *FlamegraphNode) MarshalVT() (dAtA []byte, err error)
- func (*FlamegraphNode) ProtoMessage()
- func (x *FlamegraphNode) ProtoReflect() protoreflect.Message
- func (x *FlamegraphNode) Reset()
- func (m *FlamegraphNode) SizeVT() (n int)
- func (x *FlamegraphNode) String() string
- func (m *FlamegraphNode) UnmarshalVT(dAtA []byte) error
- type FlamegraphNodeMeta
- func (*FlamegraphNodeMeta) Descriptor() ([]byte, []int)deprecated
- 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 (m *FlamegraphNodeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FlamegraphNodeMeta) MarshalToVT(dAtA []byte) (int, error)
- func (m *FlamegraphNodeMeta) MarshalVT() (dAtA []byte, err error)
- func (*FlamegraphNodeMeta) ProtoMessage()
- func (x *FlamegraphNodeMeta) ProtoReflect() protoreflect.Message
- func (x *FlamegraphNodeMeta) Reset()
- func (m *FlamegraphNodeMeta) SizeVT() (n int)
- func (x *FlamegraphNodeMeta) String() string
- func (m *FlamegraphNodeMeta) UnmarshalVT(dAtA []byte) error
- type FlamegraphRootNode
- func (*FlamegraphRootNode) Descriptor() ([]byte, []int)deprecated
- func (x *FlamegraphRootNode) GetChildren() []*FlamegraphNode
- func (x *FlamegraphRootNode) GetCumulative() int64
- func (x *FlamegraphRootNode) GetDiff() int64
- func (m *FlamegraphRootNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FlamegraphRootNode) MarshalToVT(dAtA []byte) (int, error)
- func (m *FlamegraphRootNode) MarshalVT() (dAtA []byte, err error)
- func (*FlamegraphRootNode) ProtoMessage()
- func (x *FlamegraphRootNode) ProtoReflect() protoreflect.Message
- func (x *FlamegraphRootNode) Reset()
- func (m *FlamegraphRootNode) SizeVT() (n int)
- func (x *FlamegraphRootNode) String() string
- func (m *FlamegraphRootNode) UnmarshalVT(dAtA []byte) error
- type GroupBy
- func (*GroupBy) Descriptor() ([]byte, []int)deprecated
- func (x *GroupBy) GetFields() []string
- func (m *GroupBy) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GroupBy) MarshalToVT(dAtA []byte) (int, error)
- func (m *GroupBy) MarshalVT() (dAtA []byte, err error)
- func (*GroupBy) ProtoMessage()
- func (x *GroupBy) ProtoReflect() protoreflect.Message
- func (x *GroupBy) Reset()
- func (m *GroupBy) SizeVT() (n int)
- func (x *GroupBy) String() string
- func (m *GroupBy) UnmarshalVT(dAtA []byte) error
- type LabelsRequest
- func (*LabelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LabelsRequest) GetEnd() *timestamppb.Timestamp
- func (x *LabelsRequest) GetMatch() []string
- func (x *LabelsRequest) GetStart() *timestamppb.Timestamp
- func (m *LabelsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LabelsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LabelsRequest) MarshalVT() (dAtA []byte, err error)
- func (*LabelsRequest) ProtoMessage()
- func (x *LabelsRequest) ProtoReflect() protoreflect.Message
- func (x *LabelsRequest) Reset()
- func (m *LabelsRequest) SizeVT() (n int)
- func (x *LabelsRequest) String() string
- func (m *LabelsRequest) UnmarshalVT(dAtA []byte) error
- type LabelsResponse
- func (*LabelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LabelsResponse) GetLabelNames() []string
- func (x *LabelsResponse) GetWarnings() []string
- func (m *LabelsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LabelsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *LabelsResponse) MarshalVT() (dAtA []byte, err error)
- func (*LabelsResponse) ProtoMessage()
- func (x *LabelsResponse) ProtoReflect() protoreflect.Message
- func (x *LabelsResponse) Reset()
- func (m *LabelsResponse) SizeVT() (n int)
- func (x *LabelsResponse) String() string
- func (m *LabelsResponse) UnmarshalVT(dAtA []byte) error
- type MergeProfile
- func (*MergeProfile) Descriptor() ([]byte, []int)deprecated
- func (x *MergeProfile) GetEnd() *timestamppb.Timestamp
- func (x *MergeProfile) GetQuery() string
- func (x *MergeProfile) GetStart() *timestamppb.Timestamp
- func (m *MergeProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MergeProfile) MarshalToVT(dAtA []byte) (int, error)
- func (m *MergeProfile) MarshalVT() (dAtA []byte, err error)
- func (*MergeProfile) ProtoMessage()
- func (x *MergeProfile) ProtoReflect() protoreflect.Message
- func (x *MergeProfile) Reset()
- func (m *MergeProfile) SizeVT() (n int)
- func (x *MergeProfile) String() string
- func (m *MergeProfile) UnmarshalVT(dAtA []byte) error
- type MetricsSample
- func (*MetricsSample) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsSample) GetDuration() int64
- func (x *MetricsSample) GetTimestamp() *timestamppb.Timestamp
- func (x *MetricsSample) GetValue() int64
- func (x *MetricsSample) GetValuePerSecond() float64
- func (m *MetricsSample) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MetricsSample) MarshalToVT(dAtA []byte) (int, error)
- func (m *MetricsSample) MarshalVT() (dAtA []byte, err error)
- func (*MetricsSample) ProtoMessage()
- func (x *MetricsSample) ProtoReflect() protoreflect.Message
- func (x *MetricsSample) Reset()
- func (m *MetricsSample) SizeVT() (n int)
- func (x *MetricsSample) String() string
- func (m *MetricsSample) UnmarshalVT(dAtA []byte) error
- type MetricsSeries
- func (*MetricsSeries) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsSeries) GetLabelset() *v1alpha1.LabelSet
- func (x *MetricsSeries) GetPeriodType() *ValueType
- func (x *MetricsSeries) GetSampleType() *ValueType
- func (x *MetricsSeries) GetSamples() []*MetricsSample
- func (m *MetricsSeries) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MetricsSeries) MarshalToVT(dAtA []byte) (int, error)
- func (m *MetricsSeries) MarshalVT() (dAtA []byte, err error)
- func (*MetricsSeries) ProtoMessage()
- func (x *MetricsSeries) ProtoReflect() protoreflect.Message
- func (x *MetricsSeries) Reset()
- func (m *MetricsSeries) SizeVT() (n int)
- func (x *MetricsSeries) String() string
- func (m *MetricsSeries) UnmarshalVT(dAtA []byte) error
- type ProfileDiffSelection
- func (*ProfileDiffSelection) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileDiffSelection) GetMerge() *MergeProfile
- func (x *ProfileDiffSelection) GetMode() ProfileDiffSelection_Mode
- func (m *ProfileDiffSelection) GetOptions() isProfileDiffSelection_Options
- func (x *ProfileDiffSelection) GetSingle() *SingleProfile
- func (m *ProfileDiffSelection) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ProfileDiffSelection) MarshalToVT(dAtA []byte) (int, error)
- func (m *ProfileDiffSelection) MarshalVT() (dAtA []byte, err error)
- func (*ProfileDiffSelection) ProtoMessage()
- func (x *ProfileDiffSelection) ProtoReflect() protoreflect.Message
- func (x *ProfileDiffSelection) Reset()
- func (m *ProfileDiffSelection) SizeVT() (n int)
- func (x *ProfileDiffSelection) String() string
- func (m *ProfileDiffSelection) UnmarshalVT(dAtA []byte) error
- type ProfileDiffSelection_Merge
- type ProfileDiffSelection_Mode
- func (ProfileDiffSelection_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x ProfileDiffSelection_Mode) Enum() *ProfileDiffSelection_Mode
- func (ProfileDiffSelection_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProfileDiffSelection_Mode) Number() protoreflect.EnumNumber
- func (x ProfileDiffSelection_Mode) String() string
- func (ProfileDiffSelection_Mode) Type() protoreflect.EnumType
- type ProfileDiffSelection_Single
- type ProfileOptionMatchesRule
- type ProfileType
- func (*ProfileType) Descriptor() ([]byte, []int)deprecated
- 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 (m *ProfileType) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ProfileType) MarshalToVT(dAtA []byte) (int, error)
- func (m *ProfileType) MarshalVT() (dAtA []byte, err error)
- func (*ProfileType) ProtoMessage()
- func (x *ProfileType) ProtoReflect() protoreflect.Message
- func (x *ProfileType) Reset()
- func (m *ProfileType) SizeVT() (n int)
- func (x *ProfileType) String() string
- func (m *ProfileType) UnmarshalVT(dAtA []byte) error
- type ProfileTypesRequest
- func (*ProfileTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ProfileTypesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ProfileTypesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ProfileTypesRequest) MarshalVT() (dAtA []byte, err error)
- func (*ProfileTypesRequest) ProtoMessage()
- func (x *ProfileTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ProfileTypesRequest) Reset()
- func (m *ProfileTypesRequest) SizeVT() (n int)
- func (x *ProfileTypesRequest) String() string
- func (m *ProfileTypesRequest) UnmarshalVT(dAtA []byte) error
- type ProfileTypesResponse
- func (*ProfileTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileTypesResponse) GetTypes() []*ProfileType
- func (m *ProfileTypesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ProfileTypesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ProfileTypesResponse) MarshalVT() (dAtA []byte, err error)
- func (*ProfileTypesResponse) ProtoMessage()
- func (x *ProfileTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ProfileTypesResponse) Reset()
- func (m *ProfileTypesResponse) SizeVT() (n int)
- func (x *ProfileTypesResponse) String() string
- func (m *ProfileTypesResponse) UnmarshalVT(dAtA []byte) error
- type QueryModeRule
- type QueryRangeRequest
- func (*QueryRangeRequest) Descriptor() ([]byte, []int)deprecated
- 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 (m *QueryRangeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryRangeRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryRangeRequest) MarshalVT() (dAtA []byte, err error)
- func (*QueryRangeRequest) ProtoMessage()
- func (x *QueryRangeRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRangeRequest) Reset()
- func (m *QueryRangeRequest) SizeVT() (n int)
- func (x *QueryRangeRequest) String() string
- func (m *QueryRangeRequest) UnmarshalVT(dAtA []byte) error
- func (r *QueryRangeRequest) Validate() error
- type QueryRangeResponse
- func (*QueryRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRangeResponse) GetSeries() []*MetricsSeries
- func (m *QueryRangeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryRangeResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryRangeResponse) MarshalVT() (dAtA []byte, err error)
- func (*QueryRangeResponse) ProtoMessage()
- func (x *QueryRangeResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRangeResponse) Reset()
- func (m *QueryRangeResponse) SizeVT() (n int)
- func (x *QueryRangeResponse) String() string
- func (m *QueryRangeResponse) UnmarshalVT(dAtA []byte) error
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetDiff() *DiffProfile
- func (x *QueryRequest) GetFilterQuery() string
- func (x *QueryRequest) GetGroupBy() *GroupBy
- func (x *QueryRequest) GetMerge() *MergeProfile
- func (x *QueryRequest) GetMode() QueryRequest_Mode
- func (x *QueryRequest) GetNodeTrimThreshold() float32
- func (m *QueryRequest) GetOptions() isQueryRequest_Options
- func (x *QueryRequest) GetReportType() QueryRequest_ReportType
- func (x *QueryRequest) GetRuntimeFilter() *RuntimeFilter
- func (x *QueryRequest) GetSingle() *SingleProfile
- func (x *QueryRequest) GetSourceReference() *SourceReference
- func (m *QueryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryRequest) MarshalVT() (dAtA []byte, err error)
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (m *QueryRequest) SizeVT() (n int)
- func (x *QueryRequest) String() string
- func (m *QueryRequest) UnmarshalVT(dAtA []byte) error
- func (r *QueryRequest) Validate() error
- type QueryRequest_Diff
- type QueryRequest_Merge
- type QueryRequest_Mode
- func (QueryRequest_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x QueryRequest_Mode) Enum() *QueryRequest_Mode
- func (QueryRequest_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x QueryRequest_Mode) Number() protoreflect.EnumNumber
- func (x QueryRequest_Mode) String() string
- func (QueryRequest_Mode) Type() protoreflect.EnumType
- type QueryRequest_ReportType
- func (QueryRequest_ReportType) Descriptor() protoreflect.EnumDescriptor
- func (x QueryRequest_ReportType) Enum() *QueryRequest_ReportType
- func (QueryRequest_ReportType) EnumDescriptor() ([]byte, []int)deprecated
- func (x QueryRequest_ReportType) Number() protoreflect.EnumNumber
- func (x QueryRequest_ReportType) String() string
- func (QueryRequest_ReportType) Type() protoreflect.EnumType
- type QueryRequest_Single
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- 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 (m *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 (m *QueryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryResponse) MarshalVT() (dAtA []byte, err error)
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (m *QueryResponse) SizeVT() (n int)
- func (x *QueryResponse) String() string
- func (m *QueryResponse) UnmarshalVT(dAtA []byte) error
- type QueryResponse_Callgraph
- type QueryResponse_Flamegraph
- type QueryResponse_FlamegraphArrow
- type QueryResponse_Pprof
- type QueryResponse_Source
- type QueryResponse_TableArrow
- type QueryResponse_Top
- type QueryServiceClient
- type QueryServiceServer
- type ReportTypeRule
- type RuntimeFilter
- func (*RuntimeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeFilter) GetShowInterpretedOnly() bool
- func (x *RuntimeFilter) GetShowPython() bool
- func (x *RuntimeFilter) GetShowRuby() bool
- func (m *RuntimeFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RuntimeFilter) MarshalToVT(dAtA []byte) (int, error)
- func (m *RuntimeFilter) MarshalVT() (dAtA []byte, err error)
- func (*RuntimeFilter) ProtoMessage()
- func (x *RuntimeFilter) ProtoReflect() protoreflect.Message
- func (x *RuntimeFilter) Reset()
- func (m *RuntimeFilter) SizeVT() (n int)
- func (x *RuntimeFilter) String() string
- func (m *RuntimeFilter) UnmarshalVT(dAtA []byte) error
- type SeriesRequest
- func (*SeriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SeriesRequest) GetEnd() *timestamppb.Timestamp
- func (x *SeriesRequest) GetMatch() []string
- func (x *SeriesRequest) GetStart() *timestamppb.Timestamp
- func (m *SeriesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SeriesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SeriesRequest) MarshalVT() (dAtA []byte, err error)
- func (*SeriesRequest) ProtoMessage()
- func (x *SeriesRequest) ProtoReflect() protoreflect.Message
- func (x *SeriesRequest) Reset()
- func (m *SeriesRequest) SizeVT() (n int)
- func (x *SeriesRequest) String() string
- func (m *SeriesRequest) UnmarshalVT(dAtA []byte) error
- type SeriesResponse
- func (*SeriesResponse) Descriptor() ([]byte, []int)deprecated
- func (m *SeriesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SeriesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SeriesResponse) MarshalVT() (dAtA []byte, err error)
- func (*SeriesResponse) ProtoMessage()
- func (x *SeriesResponse) ProtoReflect() protoreflect.Message
- func (x *SeriesResponse) Reset()
- func (m *SeriesResponse) SizeVT() (n int)
- func (x *SeriesResponse) String() string
- func (m *SeriesResponse) UnmarshalVT(dAtA []byte) error
- type ShareProfileRequest
- func (*ShareProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShareProfileRequest) GetDescription() string
- func (x *ShareProfileRequest) GetQueryRequest() *QueryRequest
- func (m *ShareProfileRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShareProfileRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShareProfileRequest) MarshalVT() (dAtA []byte, err error)
- func (*ShareProfileRequest) ProtoMessage()
- func (x *ShareProfileRequest) ProtoReflect() protoreflect.Message
- func (x *ShareProfileRequest) Reset()
- func (m *ShareProfileRequest) SizeVT() (n int)
- func (x *ShareProfileRequest) String() string
- func (m *ShareProfileRequest) UnmarshalVT(dAtA []byte) error
- type ShareProfileResponse
- func (*ShareProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShareProfileResponse) GetLink() string
- func (m *ShareProfileResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShareProfileResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShareProfileResponse) MarshalVT() (dAtA []byte, err error)
- func (*ShareProfileResponse) ProtoMessage()
- func (x *ShareProfileResponse) ProtoReflect() protoreflect.Message
- func (x *ShareProfileResponse) Reset()
- func (m *ShareProfileResponse) SizeVT() (n int)
- func (x *ShareProfileResponse) String() string
- func (m *ShareProfileResponse) UnmarshalVT(dAtA []byte) error
- type SingleProfile
- func (*SingleProfile) Descriptor() ([]byte, []int)deprecated
- func (x *SingleProfile) GetQuery() string
- func (x *SingleProfile) GetTime() *timestamppb.Timestamp
- func (m *SingleProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SingleProfile) MarshalToVT(dAtA []byte) (int, error)
- func (m *SingleProfile) MarshalVT() (dAtA []byte, err error)
- func (*SingleProfile) ProtoMessage()
- func (x *SingleProfile) ProtoReflect() protoreflect.Message
- func (x *SingleProfile) Reset()
- func (m *SingleProfile) SizeVT() (n int)
- func (x *SingleProfile) String() string
- func (m *SingleProfile) UnmarshalVT(dAtA []byte) error
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetRecord() []byte
- func (x *Source) GetSource() string
- func (x *Source) GetUnit() string
- func (m *Source) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Source) MarshalToVT(dAtA []byte) (int, error)
- func (m *Source) MarshalVT() (dAtA []byte, err error)
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (m *Source) SizeVT() (n int)
- func (x *Source) String() string
- func (m *Source) UnmarshalVT(dAtA []byte) error
- type SourceReference
- func (*SourceReference) Descriptor() ([]byte, []int)deprecated
- func (x *SourceReference) GetBuildId() string
- func (x *SourceReference) GetFilename() string
- func (x *SourceReference) GetSourceOnly() bool
- func (m *SourceReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SourceReference) MarshalToVT(dAtA []byte) (int, error)
- func (m *SourceReference) MarshalVT() (dAtA []byte, err error)
- func (*SourceReference) ProtoMessage()
- func (x *SourceReference) ProtoReflect() protoreflect.Message
- func (x *SourceReference) Reset()
- func (m *SourceReference) SizeVT() (n int)
- func (x *SourceReference) String() string
- func (m *SourceReference) UnmarshalVT(dAtA []byte) error
- type TableArrow
- func (*TableArrow) Descriptor() ([]byte, []int)deprecated
- func (x *TableArrow) GetRecord() []byte
- func (x *TableArrow) GetUnit() string
- func (m *TableArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TableArrow) MarshalToVT(dAtA []byte) (int, error)
- func (m *TableArrow) MarshalVT() (dAtA []byte, err error)
- func (*TableArrow) ProtoMessage()
- func (x *TableArrow) ProtoReflect() protoreflect.Message
- func (x *TableArrow) Reset()
- func (m *TableArrow) SizeVT() (n int)
- func (x *TableArrow) String() string
- func (m *TableArrow) UnmarshalVT(dAtA []byte) error
- type Top
- func (*Top) Descriptor() ([]byte, []int)deprecated
- func (x *Top) GetList() []*TopNode
- func (x *Top) GetReported() int32
- func (x *Top) GetTotal() int32deprecated
- func (x *Top) GetUnit() string
- func (m *Top) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Top) MarshalToVT(dAtA []byte) (int, error)
- func (m *Top) MarshalVT() (dAtA []byte, err error)
- func (*Top) ProtoMessage()
- func (x *Top) ProtoReflect() protoreflect.Message
- func (x *Top) Reset()
- func (m *Top) SizeVT() (n int)
- func (x *Top) String() string
- func (m *Top) UnmarshalVT(dAtA []byte) error
- type TopNode
- func (*TopNode) Descriptor() ([]byte, []int)deprecated
- func (x *TopNode) GetCumulative() int64
- func (x *TopNode) GetDiff() int64
- func (x *TopNode) GetFlat() int64
- func (x *TopNode) GetMeta() *TopNodeMeta
- func (m *TopNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TopNode) MarshalToVT(dAtA []byte) (int, error)
- func (m *TopNode) MarshalVT() (dAtA []byte, err error)
- func (*TopNode) ProtoMessage()
- func (x *TopNode) ProtoReflect() protoreflect.Message
- func (x *TopNode) Reset()
- func (m *TopNode) SizeVT() (n int)
- func (x *TopNode) String() string
- func (m *TopNode) UnmarshalVT(dAtA []byte) error
- type TopNodeMeta
- func (*TopNodeMeta) Descriptor() ([]byte, []int)deprecated
- 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 (m *TopNodeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TopNodeMeta) MarshalToVT(dAtA []byte) (int, error)
- func (m *TopNodeMeta) MarshalVT() (dAtA []byte, err error)
- func (*TopNodeMeta) ProtoMessage()
- func (x *TopNodeMeta) ProtoReflect() protoreflect.Message
- func (x *TopNodeMeta) Reset()
- func (m *TopNodeMeta) SizeVT() (n int)
- func (x *TopNodeMeta) String() string
- func (m *TopNodeMeta) UnmarshalVT(dAtA []byte) error
- type UnimplementedQueryServiceServer
- func (UnimplementedQueryServiceServer) Labels(context.Context, *LabelsRequest) (*LabelsResponse, error)
- func (UnimplementedQueryServiceServer) ProfileTypes(context.Context, *ProfileTypesRequest) (*ProfileTypesResponse, error)
- func (UnimplementedQueryServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
- func (UnimplementedQueryServiceServer) QueryRange(context.Context, *QueryRangeRequest) (*QueryRangeResponse, error)
- func (UnimplementedQueryServiceServer) Series(context.Context, *SeriesRequest) (*SeriesResponse, error)
- func (UnimplementedQueryServiceServer) ShareProfile(context.Context, *ShareProfileRequest) (*ShareProfileResponse, error)
- func (UnimplementedQueryServiceServer) Values(context.Context, *ValuesRequest) (*ValuesResponse, error)
- type UnsafeQueryServiceServer
- type ValueType
- func (*ValueType) Descriptor() ([]byte, []int)deprecated
- func (x *ValueType) GetType() string
- func (x *ValueType) GetUnit() string
- func (m *ValueType) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ValueType) MarshalToVT(dAtA []byte) (int, error)
- func (m *ValueType) MarshalVT() (dAtA []byte, err error)
- func (*ValueType) ProtoMessage()
- func (x *ValueType) ProtoReflect() protoreflect.Message
- func (x *ValueType) Reset()
- func (m *ValueType) SizeVT() (n int)
- func (x *ValueType) String() string
- func (m *ValueType) UnmarshalVT(dAtA []byte) error
- type ValuesRequest
- func (*ValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValuesRequest) GetEnd() *timestamppb.Timestamp
- func (x *ValuesRequest) GetLabelName() string
- func (x *ValuesRequest) GetMatch() []string
- func (x *ValuesRequest) GetStart() *timestamppb.Timestamp
- func (m *ValuesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ValuesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ValuesRequest) MarshalVT() (dAtA []byte, err error)
- func (*ValuesRequest) ProtoMessage()
- func (x *ValuesRequest) ProtoReflect() protoreflect.Message
- func (x *ValuesRequest) Reset()
- func (m *ValuesRequest) SizeVT() (n int)
- func (x *ValuesRequest) String() string
- func (m *ValuesRequest) UnmarshalVT(dAtA []byte) error
- type ValuesResponse
- func (*ValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValuesResponse) GetLabelValues() []string
- func (x *ValuesResponse) GetWarnings() []string
- func (m *ValuesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ValuesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ValuesResponse) MarshalVT() (dAtA []byte, err error)
- func (*ValuesResponse) ProtoMessage()
- func (x *ValuesResponse) ProtoReflect() protoreflect.Message
- func (x *ValuesResponse) Reset()
- func (m *ValuesResponse) SizeVT() (n int)
- func (x *ValuesResponse) String() string
- func (m *ValuesResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
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", } QueryRequest_ReportType_value = map[string]int32{ "REPORT_TYPE_FLAMEGRAPH_UNSPECIFIED": 0, "REPORT_TYPE_PPROF": 1, "REPORT_TYPE_TOP": 2, "REPORT_TYPE_CALLGRAPH": 3, "REPORT_TYPE_FLAMEGRAPH_TABLE": 4, "REPORT_TYPE_FLAMEGRAPH_ARROW": 5, "REPORT_TYPE_SOURCE": 6, "REPORT_TYPE_TABLE_ARROW": 7, } )
Enum value maps for QueryRequest_ReportType.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_parca_query_v1alpha1_query_proto protoreflect.FileDescriptor
var QueryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "parca.query.v1alpha1.QueryService", HandlerType: (*QueryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "QueryRange", Handler: _QueryService_QueryRange_Handler, }, { MethodName: "Query", Handler: _QueryService_Query_Handler, }, { MethodName: "Series", Handler: _QueryService_Series_Handler, }, { MethodName: "ProfileTypes", Handler: _QueryService_ProfileTypes_Handler, }, { MethodName: "Labels", Handler: _QueryService_Labels_Handler, }, { MethodName: "Values", Handler: _QueryService_Values_Handler, }, { MethodName: "ShareProfile", Handler: _QueryService_ShareProfile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "parca/query/v1alpha1/query.proto", }
QueryService_ServiceDesc is the grpc.ServiceDesc for QueryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterQueryServiceHandler ¶
func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterQueryServiceHandler registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryServiceHandlerClient ¶
func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
RegisterQueryServiceHandlerClient registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryServiceClient" to call the correct interceptors.
func RegisterQueryServiceHandlerFromEndpoint ¶
func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryServiceHandlerFromEndpoint is same as RegisterQueryServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryServiceHandlerServer ¶
func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". UnaryRPC :call QueryServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryServiceHandlerFromEndpoint instead.
func RegisterQueryServiceServer ¶
func RegisterQueryServiceServer(s grpc.ServiceRegistrar, srv QueryServiceServer)
Types ¶
type AfterRule ¶
type AfterRule struct {
Timestamp *timestamppb.Timestamp
}
AfterRule validates that the timestamp is after the given value.
type Callgraph ¶ added in v0.13.0
type Callgraph struct { // nodes are the nodes in the callgraph Nodes []*CallgraphNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // edges are the edges connecting nodes in the callgraph Edges []*CallgraphEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` // cumulative is the total cumulative value of the callgraph // Use total from the top level query response instead. // // Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto. Cumulative int64 `protobuf:"varint,3,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // contains filtered or unexported fields }
Callgraph is the callgraph report type
func (*Callgraph) Descriptor
deprecated
added in
v0.13.0
func (*Callgraph) GetCumulative
deprecated
added in
v0.13.0
func (*Callgraph) GetEdges ¶ added in v0.13.0
func (x *Callgraph) GetEdges() []*CallgraphEdge
func (*Callgraph) GetNodes ¶ added in v0.13.0
func (x *Callgraph) GetNodes() []*CallgraphNode
func (*Callgraph) MarshalToSizedBufferVT ¶ added in v0.13.0
func (*Callgraph) MarshalToVT ¶ added in v0.13.0
func (*Callgraph) ProtoMessage ¶ added in v0.13.0
func (*Callgraph) ProtoMessage()
func (*Callgraph) ProtoReflect ¶ added in v0.13.0
func (x *Callgraph) ProtoReflect() protoreflect.Message
func (*Callgraph) UnmarshalVT ¶ added in v0.13.0
type CallgraphEdge ¶ added in v0.13.0
type CallgraphEdge struct { // id is the unique id of the edge Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // source represents the id of the source node Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // target represents the id of the target node Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // cumulative is the cumulative value of the edge Cumulative int64 `protobuf:"varint,4,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // is_collapsed indicates if the edge is collapsed IsCollapsed bool `protobuf:"varint,5,opt,name=is_collapsed,json=isCollapsed,proto3" json:"is_collapsed,omitempty"` // contains filtered or unexported fields }
CallgraphEdge represents an edge in the graph
func (*CallgraphEdge) Descriptor
deprecated
added in
v0.13.0
func (*CallgraphEdge) Descriptor() ([]byte, []int)
Deprecated: Use CallgraphEdge.ProtoReflect.Descriptor instead.
func (*CallgraphEdge) GetCumulative ¶ added in v0.13.0
func (x *CallgraphEdge) GetCumulative() int64
func (*CallgraphEdge) GetId ¶ added in v0.13.0
func (x *CallgraphEdge) GetId() string
func (*CallgraphEdge) GetIsCollapsed ¶ added in v0.13.0
func (x *CallgraphEdge) GetIsCollapsed() bool
func (*CallgraphEdge) GetSource ¶ added in v0.13.0
func (x *CallgraphEdge) GetSource() string
func (*CallgraphEdge) GetTarget ¶ added in v0.13.0
func (x *CallgraphEdge) GetTarget() string
func (*CallgraphEdge) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *CallgraphEdge) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CallgraphEdge) MarshalToVT ¶ added in v0.13.0
func (m *CallgraphEdge) MarshalToVT(dAtA []byte) (int, error)
func (*CallgraphEdge) MarshalVT ¶ added in v0.13.0
func (m *CallgraphEdge) MarshalVT() (dAtA []byte, err error)
func (*CallgraphEdge) ProtoMessage ¶ added in v0.13.0
func (*CallgraphEdge) ProtoMessage()
func (*CallgraphEdge) ProtoReflect ¶ added in v0.13.0
func (x *CallgraphEdge) ProtoReflect() protoreflect.Message
func (*CallgraphEdge) Reset ¶ added in v0.13.0
func (x *CallgraphEdge) Reset()
func (*CallgraphEdge) SizeVT ¶ added in v0.13.0
func (m *CallgraphEdge) SizeVT() (n int)
func (*CallgraphEdge) String ¶ added in v0.13.0
func (x *CallgraphEdge) String() string
func (*CallgraphEdge) UnmarshalVT ¶ added in v0.13.0
func (m *CallgraphEdge) UnmarshalVT(dAtA []byte) error
type CallgraphNode ¶ added in v0.13.0
type CallgraphNode struct { // id is the unique id of the node Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // meta is the metadata about the node Meta *CallgraphNodeMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // cumulative is the cumulative value of the node Cumulative int64 `protobuf:"varint,3,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // flat is the flat value of the node Flat int64 `protobuf:"varint,4,opt,name=flat,proto3" json:"flat,omitempty"` // contains filtered or unexported fields }
CallgraphNode represents a node in the graph
func (*CallgraphNode) Descriptor
deprecated
added in
v0.13.0
func (*CallgraphNode) Descriptor() ([]byte, []int)
Deprecated: Use CallgraphNode.ProtoReflect.Descriptor instead.
func (*CallgraphNode) GetCumulative ¶ added in v0.13.0
func (x *CallgraphNode) GetCumulative() int64
func (*CallgraphNode) GetFlat ¶ added in v0.14.0
func (x *CallgraphNode) GetFlat() int64
func (*CallgraphNode) GetId ¶ added in v0.13.0
func (x *CallgraphNode) GetId() string
func (*CallgraphNode) GetMeta ¶ added in v0.13.0
func (x *CallgraphNode) GetMeta() *CallgraphNodeMeta
func (*CallgraphNode) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *CallgraphNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CallgraphNode) MarshalToVT ¶ added in v0.13.0
func (m *CallgraphNode) MarshalToVT(dAtA []byte) (int, error)
func (*CallgraphNode) MarshalVT ¶ added in v0.13.0
func (m *CallgraphNode) MarshalVT() (dAtA []byte, err error)
func (*CallgraphNode) ProtoMessage ¶ added in v0.13.0
func (*CallgraphNode) ProtoMessage()
func (*CallgraphNode) ProtoReflect ¶ added in v0.13.0
func (x *CallgraphNode) ProtoReflect() protoreflect.Message
func (*CallgraphNode) Reset ¶ added in v0.13.0
func (x *CallgraphNode) Reset()
func (*CallgraphNode) SizeVT ¶ added in v0.13.0
func (m *CallgraphNode) SizeVT() (n int)
func (*CallgraphNode) String ¶ added in v0.13.0
func (x *CallgraphNode) String() string
func (*CallgraphNode) UnmarshalVT ¶ added in v0.13.0
func (m *CallgraphNode) UnmarshalVT(dAtA []byte) error
type CallgraphNodeMeta ¶ added in v0.13.0
type CallgraphNodeMeta struct { // location is the location for the code Location *v1alpha11.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // mapping is the mapping into code Mapping *v1alpha11.Mapping `protobuf:"bytes,2,opt,name=mapping,proto3" json:"mapping,omitempty"` // function is the function information Function *v1alpha11.Function `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` // line is the line location Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"` // contains filtered or unexported fields }
TopNodeMeta is the metadata for a given node
func (*CallgraphNodeMeta) Descriptor
deprecated
added in
v0.13.0
func (*CallgraphNodeMeta) Descriptor() ([]byte, []int)
Deprecated: Use CallgraphNodeMeta.ProtoReflect.Descriptor instead.
func (*CallgraphNodeMeta) GetFunction ¶ added in v0.13.0
func (x *CallgraphNodeMeta) GetFunction() *v1alpha11.Function
func (*CallgraphNodeMeta) GetLine ¶ added in v0.13.0
func (x *CallgraphNodeMeta) GetLine() *v1alpha11.Line
func (*CallgraphNodeMeta) GetLocation ¶ added in v0.13.0
func (x *CallgraphNodeMeta) GetLocation() *v1alpha11.Location
func (*CallgraphNodeMeta) GetMapping ¶ added in v0.13.0
func (x *CallgraphNodeMeta) GetMapping() *v1alpha11.Mapping
func (*CallgraphNodeMeta) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *CallgraphNodeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CallgraphNodeMeta) MarshalToVT ¶ added in v0.13.0
func (m *CallgraphNodeMeta) MarshalToVT(dAtA []byte) (int, error)
func (*CallgraphNodeMeta) MarshalVT ¶ added in v0.13.0
func (m *CallgraphNodeMeta) MarshalVT() (dAtA []byte, err error)
func (*CallgraphNodeMeta) ProtoMessage ¶ added in v0.13.0
func (*CallgraphNodeMeta) ProtoMessage()
func (*CallgraphNodeMeta) ProtoReflect ¶ added in v0.13.0
func (x *CallgraphNodeMeta) ProtoReflect() protoreflect.Message
func (*CallgraphNodeMeta) Reset ¶ added in v0.13.0
func (x *CallgraphNodeMeta) Reset()
func (*CallgraphNodeMeta) SizeVT ¶ added in v0.13.0
func (m *CallgraphNodeMeta) SizeVT() (n int)
func (*CallgraphNodeMeta) String ¶ added in v0.13.0
func (x *CallgraphNodeMeta) String() string
func (*CallgraphNodeMeta) UnmarshalVT ¶ added in v0.13.0
func (m *CallgraphNodeMeta) UnmarshalVT(dAtA []byte) error
type DiffProfile ¶
type DiffProfile struct { // a is the first profile to diff A *ProfileDiffSelection `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // b is the second profile to diff B *ProfileDiffSelection `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
DiffProfile contains parameters for a profile diff request
func (*DiffProfile) Descriptor
deprecated
func (*DiffProfile) Descriptor() ([]byte, []int)
Deprecated: Use DiffProfile.ProtoReflect.Descriptor instead.
func (*DiffProfile) GetA ¶
func (x *DiffProfile) GetA() *ProfileDiffSelection
func (*DiffProfile) GetB ¶
func (x *DiffProfile) GetB() *ProfileDiffSelection
func (*DiffProfile) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *DiffProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DiffProfile) MarshalToVT ¶ added in v0.5.0
func (m *DiffProfile) MarshalToVT(dAtA []byte) (int, error)
func (*DiffProfile) MarshalVT ¶ added in v0.5.0
func (m *DiffProfile) MarshalVT() (dAtA []byte, err error)
func (*DiffProfile) ProtoMessage ¶
func (*DiffProfile) ProtoMessage()
func (*DiffProfile) ProtoReflect ¶
func (x *DiffProfile) ProtoReflect() protoreflect.Message
func (*DiffProfile) Reset ¶
func (x *DiffProfile) Reset()
func (*DiffProfile) SizeVT ¶ added in v0.5.0
func (m *DiffProfile) SizeVT() (n int)
func (*DiffProfile) String ¶
func (x *DiffProfile) String() string
func (*DiffProfile) UnmarshalVT ¶ added in v0.5.0
func (m *DiffProfile) UnmarshalVT(dAtA []byte) error
type DiffProfileSelectionOptionMatchesRule ¶
type DiffProfileSelectionOptionMatchesRule struct {
// contains filtered or unexported fields
}
DiffProfileSelectionOptionMatchesRule ensure the options match the requested mode.
func (DiffProfileSelectionOptionMatchesRule) Validate ¶
func (o DiffProfileSelectionOptionMatchesRule) Validate(v interface{}) error
Validate the option matches mode.
type DiffSelectionModeRule ¶
type DiffSelectionModeRule struct{}
func (DiffSelectionModeRule) Validate ¶
func (r DiffSelectionModeRule) Validate(v interface{}) error
type Flamegraph ¶
type Flamegraph struct { // root is the root of the flame graph Root *FlamegraphRootNode `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` // total is the total weight of the flame graph // Use total from the top level query response instead. // // Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto. Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // unit is the unit represented by the flame graph Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` // height is the max height of the graph Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // string_table holds all deduplicated strings used in the meta data. StringTable []string `protobuf:"bytes,5,rep,name=string_table,json=stringTable,proto3" json:"string_table,omitempty"` // locations deduplicated by their ID to be referenced by nodes. Locations []*v1alpha11.Location `protobuf:"bytes,6,rep,name=locations,proto3" json:"locations,omitempty"` // mapping deduplicated by their ID to be referenced by nodes. Mapping []*v1alpha11.Mapping `protobuf:"bytes,7,rep,name=mapping,proto3" json:"mapping,omitempty"` // function deduplicated by their ID to be referenced by nodes. Function []*v1alpha11.Function `protobuf:"bytes,8,rep,name=function,proto3" json:"function,omitempty"` // untrimmed_total is the total weight of the flame graph before trimming. // Use trimmed instead. // // Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto. UntrimmedTotal int64 `protobuf:"varint,9,opt,name=untrimmed_total,json=untrimmedTotal,proto3" json:"untrimmed_total,omitempty"` // trimmed is the amount of cumulative value trimmed from the flame graph. Trimmed int64 `protobuf:"varint,10,opt,name=trimmed,proto3" json:"trimmed,omitempty"` // contains filtered or unexported fields }
Flamegraph is the flame graph report type
func (*Flamegraph) Descriptor
deprecated
func (*Flamegraph) Descriptor() ([]byte, []int)
Deprecated: Use Flamegraph.ProtoReflect.Descriptor instead.
func (*Flamegraph) GetFunction ¶ added in v0.14.0
func (x *Flamegraph) GetFunction() []*v1alpha11.Function
func (*Flamegraph) GetHeight ¶
func (x *Flamegraph) GetHeight() int32
func (*Flamegraph) GetLocations ¶ added in v0.14.0
func (x *Flamegraph) GetLocations() []*v1alpha11.Location
func (*Flamegraph) GetMapping ¶ added in v0.14.0
func (x *Flamegraph) GetMapping() []*v1alpha11.Mapping
func (*Flamegraph) GetRoot ¶
func (x *Flamegraph) GetRoot() *FlamegraphRootNode
func (*Flamegraph) GetStringTable ¶ added in v0.14.0
func (x *Flamegraph) GetStringTable() []string
func (*Flamegraph) GetTotal
deprecated
func (x *Flamegraph) GetTotal() int64
Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
func (*Flamegraph) GetTrimmed ¶ added in v0.17.0
func (x *Flamegraph) GetTrimmed() int64
func (*Flamegraph) GetUnit ¶
func (x *Flamegraph) GetUnit() string
func (*Flamegraph) GetUntrimmedTotal
deprecated
added in
v0.16.0
func (x *Flamegraph) GetUntrimmedTotal() int64
Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto.
func (*Flamegraph) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *Flamegraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Flamegraph) MarshalToVT ¶ added in v0.5.0
func (m *Flamegraph) MarshalToVT(dAtA []byte) (int, error)
func (*Flamegraph) MarshalVT ¶ added in v0.5.0
func (m *Flamegraph) MarshalVT() (dAtA []byte, err error)
func (*Flamegraph) ProtoMessage ¶
func (*Flamegraph) ProtoMessage()
func (*Flamegraph) ProtoReflect ¶
func (x *Flamegraph) ProtoReflect() protoreflect.Message
func (*Flamegraph) Reset ¶
func (x *Flamegraph) Reset()
func (*Flamegraph) SizeVT ¶ added in v0.5.0
func (m *Flamegraph) SizeVT() (n int)
func (*Flamegraph) String ¶
func (x *Flamegraph) String() string
func (*Flamegraph) UnmarshalVT ¶ added in v0.5.0
func (m *Flamegraph) UnmarshalVT(dAtA []byte) error
type FlamegraphArrow ¶ added in v0.19.0
type FlamegraphArrow struct { // record is the arrow record containing the actual flamegraph data Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` // unit is the unit represented by the flame graph Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // height is the max height of the graph Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // trimmed is the amount of cumulative value trimmed from the flame graph. Trimmed int64 `protobuf:"varint,4,opt,name=trimmed,proto3" json:"trimmed,omitempty"` // contains filtered or unexported fields }
Flamegraph is the flame graph report type
func (*FlamegraphArrow) Descriptor
deprecated
added in
v0.19.0
func (*FlamegraphArrow) Descriptor() ([]byte, []int)
Deprecated: Use FlamegraphArrow.ProtoReflect.Descriptor instead.
func (*FlamegraphArrow) GetHeight ¶ added in v0.19.0
func (x *FlamegraphArrow) GetHeight() int32
func (*FlamegraphArrow) GetRecord ¶ added in v0.19.0
func (x *FlamegraphArrow) GetRecord() []byte
func (*FlamegraphArrow) GetTrimmed ¶ added in v0.19.0
func (x *FlamegraphArrow) GetTrimmed() int64
func (*FlamegraphArrow) GetUnit ¶ added in v0.19.0
func (x *FlamegraphArrow) GetUnit() string
func (*FlamegraphArrow) MarshalToSizedBufferVT ¶ added in v0.19.0
func (m *FlamegraphArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FlamegraphArrow) MarshalToVT ¶ added in v0.19.0
func (m *FlamegraphArrow) MarshalToVT(dAtA []byte) (int, error)
func (*FlamegraphArrow) MarshalVT ¶ added in v0.19.0
func (m *FlamegraphArrow) MarshalVT() (dAtA []byte, err error)
func (*FlamegraphArrow) ProtoMessage ¶ added in v0.19.0
func (*FlamegraphArrow) ProtoMessage()
func (*FlamegraphArrow) ProtoReflect ¶ added in v0.19.0
func (x *FlamegraphArrow) ProtoReflect() protoreflect.Message
func (*FlamegraphArrow) Reset ¶ added in v0.19.0
func (x *FlamegraphArrow) Reset()
func (*FlamegraphArrow) SizeVT ¶ added in v0.19.0
func (m *FlamegraphArrow) SizeVT() (n int)
func (*FlamegraphArrow) String ¶ added in v0.19.0
func (x *FlamegraphArrow) String() string
func (*FlamegraphArrow) UnmarshalVT ¶ added in v0.19.0
func (m *FlamegraphArrow) UnmarshalVT(dAtA []byte) error
type FlamegraphNode ¶
type FlamegraphNode struct { // meta is the metadata about the node Meta *FlamegraphNodeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // cumulative is the cumulative value of the node Cumulative int64 `protobuf:"varint,2,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // diff is the diff Diff int64 `protobuf:"varint,3,opt,name=diff,proto3" json:"diff,omitempty"` // children are the child nodes Children []*FlamegraphNode `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
FlamegraphNode represents a node in the graph
func (*FlamegraphNode) Descriptor
deprecated
func (*FlamegraphNode) Descriptor() ([]byte, []int)
Deprecated: Use FlamegraphNode.ProtoReflect.Descriptor instead.
func (*FlamegraphNode) GetChildren ¶
func (x *FlamegraphNode) GetChildren() []*FlamegraphNode
func (*FlamegraphNode) GetCumulative ¶
func (x *FlamegraphNode) GetCumulative() int64
func (*FlamegraphNode) GetDiff ¶
func (x *FlamegraphNode) GetDiff() int64
func (*FlamegraphNode) GetMeta ¶
func (x *FlamegraphNode) GetMeta() *FlamegraphNodeMeta
func (*FlamegraphNode) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *FlamegraphNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FlamegraphNode) MarshalToVT ¶ added in v0.5.0
func (m *FlamegraphNode) MarshalToVT(dAtA []byte) (int, error)
func (*FlamegraphNode) MarshalVT ¶ added in v0.5.0
func (m *FlamegraphNode) MarshalVT() (dAtA []byte, err error)
func (*FlamegraphNode) ProtoMessage ¶
func (*FlamegraphNode) ProtoMessage()
func (*FlamegraphNode) ProtoReflect ¶
func (x *FlamegraphNode) ProtoReflect() protoreflect.Message
func (*FlamegraphNode) Reset ¶
func (x *FlamegraphNode) Reset()
func (*FlamegraphNode) SizeVT ¶ added in v0.5.0
func (m *FlamegraphNode) SizeVT() (n int)
func (*FlamegraphNode) String ¶
func (x *FlamegraphNode) String() string
func (*FlamegraphNode) UnmarshalVT ¶ added in v0.5.0
func (m *FlamegraphNode) UnmarshalVT(dAtA []byte) error
type FlamegraphNodeMeta ¶
type FlamegraphNodeMeta struct { // location is the location for the code Location *v1alpha11.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // mapping is the mapping into code Mapping *v1alpha11.Mapping `protobuf:"bytes,2,opt,name=mapping,proto3" json:"mapping,omitempty"` // function is the function information Function *v1alpha11.Function `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` // line is the line location Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"` // location_index has the index to the deduplicated location in the location table. LocationIndex uint32 `protobuf:"varint,5,opt,name=location_index,json=locationIndex,proto3" json:"location_index,omitempty"` // line_index is the line index within the referenced location. LineIndex uint32 `protobuf:"varint,6,opt,name=line_index,json=lineIndex,proto3" json:"line_index,omitempty"` // contains filtered or unexported fields }
FlamegraphNodeMeta is the metadata for a given node
func (*FlamegraphNodeMeta) Descriptor
deprecated
func (*FlamegraphNodeMeta) Descriptor() ([]byte, []int)
Deprecated: Use FlamegraphNodeMeta.ProtoReflect.Descriptor instead.
func (*FlamegraphNodeMeta) GetFunction ¶
func (x *FlamegraphNodeMeta) GetFunction() *v1alpha11.Function
func (*FlamegraphNodeMeta) GetLine ¶
func (x *FlamegraphNodeMeta) GetLine() *v1alpha11.Line
func (*FlamegraphNodeMeta) GetLineIndex ¶ added in v0.14.0
func (x *FlamegraphNodeMeta) GetLineIndex() uint32
func (*FlamegraphNodeMeta) GetLocation ¶
func (x *FlamegraphNodeMeta) GetLocation() *v1alpha11.Location
func (*FlamegraphNodeMeta) GetLocationIndex ¶ added in v0.14.0
func (x *FlamegraphNodeMeta) GetLocationIndex() uint32
func (*FlamegraphNodeMeta) GetMapping ¶
func (x *FlamegraphNodeMeta) GetMapping() *v1alpha11.Mapping
func (*FlamegraphNodeMeta) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *FlamegraphNodeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FlamegraphNodeMeta) MarshalToVT ¶ added in v0.5.0
func (m *FlamegraphNodeMeta) MarshalToVT(dAtA []byte) (int, error)
func (*FlamegraphNodeMeta) MarshalVT ¶ added in v0.5.0
func (m *FlamegraphNodeMeta) MarshalVT() (dAtA []byte, err error)
func (*FlamegraphNodeMeta) ProtoMessage ¶
func (*FlamegraphNodeMeta) ProtoMessage()
func (*FlamegraphNodeMeta) ProtoReflect ¶
func (x *FlamegraphNodeMeta) ProtoReflect() protoreflect.Message
func (*FlamegraphNodeMeta) Reset ¶
func (x *FlamegraphNodeMeta) Reset()
func (*FlamegraphNodeMeta) SizeVT ¶ added in v0.5.0
func (m *FlamegraphNodeMeta) SizeVT() (n int)
func (*FlamegraphNodeMeta) String ¶
func (x *FlamegraphNodeMeta) String() string
func (*FlamegraphNodeMeta) UnmarshalVT ¶ added in v0.5.0
func (m *FlamegraphNodeMeta) UnmarshalVT(dAtA []byte) error
type FlamegraphRootNode ¶
type FlamegraphRootNode struct { // cumulative is the cumulative value of the graph Cumulative int64 `protobuf:"varint,1,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // diff is the diff Diff int64 `protobuf:"varint,2,opt,name=diff,proto3" json:"diff,omitempty"` // children are the list of the children of the root node Children []*FlamegraphNode `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
FlamegraphRootNode is a root node of a flame graph
func (*FlamegraphRootNode) Descriptor
deprecated
func (*FlamegraphRootNode) Descriptor() ([]byte, []int)
Deprecated: Use FlamegraphRootNode.ProtoReflect.Descriptor instead.
func (*FlamegraphRootNode) GetChildren ¶
func (x *FlamegraphRootNode) GetChildren() []*FlamegraphNode
func (*FlamegraphRootNode) GetCumulative ¶
func (x *FlamegraphRootNode) GetCumulative() int64
func (*FlamegraphRootNode) GetDiff ¶
func (x *FlamegraphRootNode) GetDiff() int64
func (*FlamegraphRootNode) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *FlamegraphRootNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FlamegraphRootNode) MarshalToVT ¶ added in v0.5.0
func (m *FlamegraphRootNode) MarshalToVT(dAtA []byte) (int, error)
func (*FlamegraphRootNode) MarshalVT ¶ added in v0.5.0
func (m *FlamegraphRootNode) MarshalVT() (dAtA []byte, err error)
func (*FlamegraphRootNode) ProtoMessage ¶
func (*FlamegraphRootNode) ProtoMessage()
func (*FlamegraphRootNode) ProtoReflect ¶
func (x *FlamegraphRootNode) ProtoReflect() protoreflect.Message
func (*FlamegraphRootNode) Reset ¶
func (x *FlamegraphRootNode) Reset()
func (*FlamegraphRootNode) SizeVT ¶ added in v0.5.0
func (m *FlamegraphRootNode) SizeVT() (n int)
func (*FlamegraphRootNode) String ¶
func (x *FlamegraphRootNode) String() string
func (*FlamegraphRootNode) UnmarshalVT ¶ added in v0.5.0
func (m *FlamegraphRootNode) UnmarshalVT(dAtA []byte) error
type GroupBy ¶ added in v0.19.0
type GroupBy struct { // the names of the fields to group by. // special fields are the ones prefixed with "labels." which are grouping by pprof labels. Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
GroupBy encapsulates the repeated fields to group by
func (*GroupBy) Descriptor
deprecated
added in
v0.19.0
func (*GroupBy) MarshalToSizedBufferVT ¶ added in v0.19.0
func (*GroupBy) MarshalToVT ¶ added in v0.19.0
func (*GroupBy) ProtoMessage ¶ added in v0.19.0
func (*GroupBy) ProtoMessage()
func (*GroupBy) ProtoReflect ¶ added in v0.19.0
func (x *GroupBy) ProtoReflect() protoreflect.Message
func (*GroupBy) UnmarshalVT ¶ added in v0.19.0
type LabelsRequest ¶
type LabelsRequest struct { // match are the set of matching strings Match []string `protobuf:"bytes,1,rep,name=match,proto3" json:"match,omitempty"` // start is the start of the time window to perform the query Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` // end is the end of the time window to perform the query End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
LabelsRequest are the request values for labels
func (*LabelsRequest) Descriptor
deprecated
func (*LabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LabelsRequest.ProtoReflect.Descriptor instead.
func (*LabelsRequest) GetEnd ¶
func (x *LabelsRequest) GetEnd() *timestamppb.Timestamp
func (*LabelsRequest) GetMatch ¶
func (x *LabelsRequest) GetMatch() []string
func (*LabelsRequest) GetStart ¶
func (x *LabelsRequest) GetStart() *timestamppb.Timestamp
func (*LabelsRequest) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *LabelsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LabelsRequest) MarshalToVT ¶ added in v0.5.0
func (m *LabelsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LabelsRequest) MarshalVT ¶ added in v0.5.0
func (m *LabelsRequest) MarshalVT() (dAtA []byte, err error)
func (*LabelsRequest) ProtoMessage ¶
func (*LabelsRequest) ProtoMessage()
func (*LabelsRequest) ProtoReflect ¶
func (x *LabelsRequest) ProtoReflect() protoreflect.Message
func (*LabelsRequest) Reset ¶
func (x *LabelsRequest) Reset()
func (*LabelsRequest) SizeVT ¶ added in v0.5.0
func (m *LabelsRequest) SizeVT() (n int)
func (*LabelsRequest) String ¶
func (x *LabelsRequest) String() string
func (*LabelsRequest) UnmarshalVT ¶ added in v0.5.0
func (m *LabelsRequest) UnmarshalVT(dAtA []byte) error
type LabelsResponse ¶
type LabelsResponse struct { // / label_names are the set of matching label names LabelNames []string `protobuf:"bytes,1,rep,name=label_names,json=labelNames,proto3" json:"label_names,omitempty"` // warnings is unimplemented Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"` // contains filtered or unexported fields }
LabelsResponse is the set of matching label names
func (*LabelsResponse) Descriptor
deprecated
func (*LabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use LabelsResponse.ProtoReflect.Descriptor instead.
func (*LabelsResponse) GetLabelNames ¶
func (x *LabelsResponse) GetLabelNames() []string
func (*LabelsResponse) GetWarnings ¶
func (x *LabelsResponse) GetWarnings() []string
func (*LabelsResponse) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *LabelsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LabelsResponse) MarshalToVT ¶ added in v0.5.0
func (m *LabelsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*LabelsResponse) MarshalVT ¶ added in v0.5.0
func (m *LabelsResponse) MarshalVT() (dAtA []byte, err error)
func (*LabelsResponse) ProtoMessage ¶
func (*LabelsResponse) ProtoMessage()
func (*LabelsResponse) ProtoReflect ¶
func (x *LabelsResponse) ProtoReflect() protoreflect.Message
func (*LabelsResponse) Reset ¶
func (x *LabelsResponse) Reset()
func (*LabelsResponse) SizeVT ¶ added in v0.5.0
func (m *LabelsResponse) SizeVT() (n int)
func (*LabelsResponse) String ¶
func (x *LabelsResponse) String() string
func (*LabelsResponse) UnmarshalVT ¶ added in v0.5.0
func (m *LabelsResponse) UnmarshalVT(dAtA []byte) error
type MergeProfile ¶
type MergeProfile struct { // query is the query string to match profiles for merge Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // start is the beginning of the evaluation time window Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` // end is the end of the evaluation time window End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
MergeProfile contains parameters for a merge request
func (*MergeProfile) Descriptor
deprecated
func (*MergeProfile) Descriptor() ([]byte, []int)
Deprecated: Use MergeProfile.ProtoReflect.Descriptor instead.
func (*MergeProfile) GetEnd ¶
func (x *MergeProfile) GetEnd() *timestamppb.Timestamp
func (*MergeProfile) GetQuery ¶
func (x *MergeProfile) GetQuery() string
func (*MergeProfile) GetStart ¶
func (x *MergeProfile) GetStart() *timestamppb.Timestamp
func (*MergeProfile) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *MergeProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MergeProfile) MarshalToVT ¶ added in v0.5.0
func (m *MergeProfile) MarshalToVT(dAtA []byte) (int, error)
func (*MergeProfile) MarshalVT ¶ added in v0.5.0
func (m *MergeProfile) MarshalVT() (dAtA []byte, err error)
func (*MergeProfile) ProtoMessage ¶
func (*MergeProfile) ProtoMessage()
func (*MergeProfile) ProtoReflect ¶
func (x *MergeProfile) ProtoReflect() protoreflect.Message
func (*MergeProfile) Reset ¶
func (x *MergeProfile) Reset()
func (*MergeProfile) SizeVT ¶ added in v0.5.0
func (m *MergeProfile) SizeVT() (n int)
func (*MergeProfile) String ¶
func (x *MergeProfile) String() string
func (*MergeProfile) UnmarshalVT ¶ added in v0.5.0
func (m *MergeProfile) UnmarshalVT(dAtA []byte) error
type MetricsSample ¶
type MetricsSample struct { // timestamp is the time the profile was ingested Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // value is the cumulative value for the profile Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // value_per_second is the calculated per second average in the steps duration ValuePerSecond float64 `protobuf:"fixed64,3,opt,name=value_per_second,json=valuePerSecond,proto3" json:"value_per_second,omitempty"` // duration is the normalized aggregated duration the metric samples has been observed over. Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
MetricsSample is a cumulative value and timestamp of a profile
func (*MetricsSample) Descriptor
deprecated
func (*MetricsSample) Descriptor() ([]byte, []int)
Deprecated: Use MetricsSample.ProtoReflect.Descriptor instead.
func (*MetricsSample) GetDuration ¶ added in v0.17.0
func (x *MetricsSample) GetDuration() int64
func (*MetricsSample) GetTimestamp ¶
func (x *MetricsSample) GetTimestamp() *timestamppb.Timestamp
func (*MetricsSample) GetValue ¶
func (x *MetricsSample) GetValue() int64
func (*MetricsSample) GetValuePerSecond ¶ added in v0.16.0
func (x *MetricsSample) GetValuePerSecond() float64
func (*MetricsSample) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *MetricsSample) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MetricsSample) MarshalToVT ¶ added in v0.5.0
func (m *MetricsSample) MarshalToVT(dAtA []byte) (int, error)
func (*MetricsSample) MarshalVT ¶ added in v0.5.0
func (m *MetricsSample) MarshalVT() (dAtA []byte, err error)
func (*MetricsSample) ProtoMessage ¶
func (*MetricsSample) ProtoMessage()
func (*MetricsSample) ProtoReflect ¶
func (x *MetricsSample) ProtoReflect() protoreflect.Message
func (*MetricsSample) Reset ¶
func (x *MetricsSample) Reset()
func (*MetricsSample) SizeVT ¶ added in v0.5.0
func (m *MetricsSample) SizeVT() (n int)
func (*MetricsSample) String ¶
func (x *MetricsSample) String() string
func (*MetricsSample) UnmarshalVT ¶ added in v0.5.0
func (m *MetricsSample) UnmarshalVT(dAtA []byte) error
type MetricsSeries ¶
type MetricsSeries struct { // labelset is the set of key value pairs Labelset *v1alpha1.LabelSet `protobuf:"bytes,1,opt,name=labelset,proto3" json:"labelset,omitempty"` // samples is the set of top-level cumulative values of the corresponding profiles Samples []*MetricsSample `protobuf:"bytes,2,rep,name=samples,proto3" json:"samples,omitempty"` // period_type is the value type of profile period PeriodType *ValueType `protobuf:"bytes,3,opt,name=period_type,json=periodType,proto3" json:"period_type,omitempty"` // sample_type is the value type of profile sample SampleType *ValueType `protobuf:"bytes,4,opt,name=sample_type,json=sampleType,proto3" json:"sample_type,omitempty"` // contains filtered or unexported fields }
MetricsSeries is a set of labels and corresponding sample values
func (*MetricsSeries) Descriptor
deprecated
func (*MetricsSeries) Descriptor() ([]byte, []int)
Deprecated: Use MetricsSeries.ProtoReflect.Descriptor instead.
func (*MetricsSeries) GetLabelset ¶
func (x *MetricsSeries) GetLabelset() *v1alpha1.LabelSet
func (*MetricsSeries) GetPeriodType ¶ added in v0.4.0
func (x *MetricsSeries) GetPeriodType() *ValueType
func (*MetricsSeries) GetSampleType ¶ added in v0.4.0
func (x *MetricsSeries) GetSampleType() *ValueType
func (*MetricsSeries) GetSamples ¶
func (x *MetricsSeries) GetSamples() []*MetricsSample
func (*MetricsSeries) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *MetricsSeries) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MetricsSeries) MarshalToVT ¶ added in v0.5.0
func (m *MetricsSeries) MarshalToVT(dAtA []byte) (int, error)
func (*MetricsSeries) MarshalVT ¶ added in v0.5.0
func (m *MetricsSeries) MarshalVT() (dAtA []byte, err error)
func (*MetricsSeries) ProtoMessage ¶
func (*MetricsSeries) ProtoMessage()
func (*MetricsSeries) ProtoReflect ¶
func (x *MetricsSeries) ProtoReflect() protoreflect.Message
func (*MetricsSeries) Reset ¶
func (x *MetricsSeries) Reset()
func (*MetricsSeries) SizeVT ¶ added in v0.5.0
func (m *MetricsSeries) SizeVT() (n int)
func (*MetricsSeries) String ¶
func (x *MetricsSeries) String() string
func (*MetricsSeries) UnmarshalVT ¶ added in v0.5.0
func (m *MetricsSeries) UnmarshalVT(dAtA []byte) error
type ProfileDiffSelection ¶
type ProfileDiffSelection struct { // mode is the selection of the diff mode Mode ProfileDiffSelection_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=parca.query.v1alpha1.ProfileDiffSelection_Mode" json:"mode,omitempty"` // options are the available options for a diff selection // // Types that are assignable to Options: // // *ProfileDiffSelection_Merge // *ProfileDiffSelection_Single Options isProfileDiffSelection_Options `protobuf_oneof:"options"` // contains filtered or unexported fields }
ProfileDiffSelection contains the parameters of a diff selection
func (*ProfileDiffSelection) Descriptor
deprecated
func (*ProfileDiffSelection) Descriptor() ([]byte, []int)
Deprecated: Use ProfileDiffSelection.ProtoReflect.Descriptor instead.
func (*ProfileDiffSelection) GetMerge ¶
func (x *ProfileDiffSelection) GetMerge() *MergeProfile
func (*ProfileDiffSelection) GetMode ¶
func (x *ProfileDiffSelection) GetMode() ProfileDiffSelection_Mode
func (*ProfileDiffSelection) GetOptions ¶
func (m *ProfileDiffSelection) GetOptions() isProfileDiffSelection_Options
func (*ProfileDiffSelection) GetSingle ¶
func (x *ProfileDiffSelection) GetSingle() *SingleProfile
func (*ProfileDiffSelection) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *ProfileDiffSelection) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ProfileDiffSelection) MarshalToVT ¶ added in v0.5.0
func (m *ProfileDiffSelection) MarshalToVT(dAtA []byte) (int, error)
func (*ProfileDiffSelection) MarshalVT ¶ added in v0.5.0
func (m *ProfileDiffSelection) MarshalVT() (dAtA []byte, err error)
func (*ProfileDiffSelection) ProtoMessage ¶
func (*ProfileDiffSelection) ProtoMessage()
func (*ProfileDiffSelection) ProtoReflect ¶
func (x *ProfileDiffSelection) ProtoReflect() protoreflect.Message
func (*ProfileDiffSelection) Reset ¶
func (x *ProfileDiffSelection) Reset()
func (*ProfileDiffSelection) SizeVT ¶ added in v0.5.0
func (m *ProfileDiffSelection) SizeVT() (n int)
func (*ProfileDiffSelection) String ¶
func (x *ProfileDiffSelection) String() string
func (*ProfileDiffSelection) UnmarshalVT ¶ added in v0.5.0
func (m *ProfileDiffSelection) UnmarshalVT(dAtA []byte) error
type ProfileDiffSelection_Merge ¶
type ProfileDiffSelection_Merge struct { // merge contains options for a merge request Merge *MergeProfile `protobuf:"bytes,2,opt,name=merge,proto3,oneof"` }
func (*ProfileDiffSelection_Merge) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *ProfileDiffSelection_Merge) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ProfileDiffSelection_Merge) MarshalToVT ¶ added in v0.5.0
func (m *ProfileDiffSelection_Merge) MarshalToVT(dAtA []byte) (int, error)
func (*ProfileDiffSelection_Merge) SizeVT ¶ added in v0.5.0
func (m *ProfileDiffSelection_Merge) SizeVT() (n int)
type ProfileDiffSelection_Mode ¶
type ProfileDiffSelection_Mode int32
Mode specifies the type of diff
const ( // MODE_SINGLE_UNSPECIFIED default unspecified ProfileDiffSelection_MODE_SINGLE_UNSPECIFIED ProfileDiffSelection_Mode = 0 // MODE_MERGE merge profile ProfileDiffSelection_MODE_MERGE ProfileDiffSelection_Mode = 1 )
func (ProfileDiffSelection_Mode) Descriptor ¶
func (ProfileDiffSelection_Mode) Descriptor() protoreflect.EnumDescriptor
func (ProfileDiffSelection_Mode) Enum ¶
func (x ProfileDiffSelection_Mode) Enum() *ProfileDiffSelection_Mode
func (ProfileDiffSelection_Mode) EnumDescriptor
deprecated
func (ProfileDiffSelection_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProfileDiffSelection_Mode.Descriptor instead.
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"` }
func (*ProfileDiffSelection_Single) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *ProfileDiffSelection_Single) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ProfileDiffSelection_Single) MarshalToVT ¶ added in v0.5.0
func (m *ProfileDiffSelection_Single) MarshalToVT(dAtA []byte) (int, error)
func (*ProfileDiffSelection_Single) SizeVT ¶ added in v0.5.0
func (m *ProfileDiffSelection_Single) SizeVT() (n int)
type ProfileOptionMatchesRule ¶
type ProfileOptionMatchesRule struct {
// contains filtered or unexported fields
}
ProfileOptionMatchesRule ensure the options match the requested mode.
func (ProfileOptionMatchesRule) Validate ¶
func (o ProfileOptionMatchesRule) Validate(v interface{}) error
Validate the option matches mode.
type ProfileType ¶ added in v0.11.0
type ProfileType struct { // name is the name of the profile type. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // sample_type is the type of the samples in the profile. SampleType string `protobuf:"bytes,2,opt,name=sample_type,json=sampleType,proto3" json:"sample_type,omitempty"` // sample_unit is the unit of the samples in the profile. SampleUnit string `protobuf:"bytes,3,opt,name=sample_unit,json=sampleUnit,proto3" json:"sample_unit,omitempty"` // period_type is the type of the periods in the profile. PeriodType string `protobuf:"bytes,4,opt,name=period_type,json=periodType,proto3" json:"period_type,omitempty"` // period_unit is the unit of the periods in the profile. PeriodUnit string `protobuf:"bytes,5,opt,name=period_unit,json=periodUnit,proto3" json:"period_unit,omitempty"` // delta describes whether the profile is a delta profile. Delta bool `protobuf:"varint,6,opt,name=delta,proto3" json:"delta,omitempty"` // contains filtered or unexported fields }
ProfileType is the type of a profile as well as the units the profile type is available in.
func (*ProfileType) Descriptor
deprecated
added in
v0.11.0
func (*ProfileType) Descriptor() ([]byte, []int)
Deprecated: Use ProfileType.ProtoReflect.Descriptor instead.
func (*ProfileType) GetDelta ¶ added in v0.11.0
func (x *ProfileType) GetDelta() bool
func (*ProfileType) GetName ¶ added in v0.11.0
func (x *ProfileType) GetName() string
func (*ProfileType) GetPeriodType ¶ added in v0.11.0
func (x *ProfileType) GetPeriodType() string
func (*ProfileType) GetPeriodUnit ¶ added in v0.11.0
func (x *ProfileType) GetPeriodUnit() string
func (*ProfileType) GetSampleType ¶ added in v0.11.0
func (x *ProfileType) GetSampleType() string
func (*ProfileType) GetSampleUnit ¶ added in v0.11.0
func (x *ProfileType) GetSampleUnit() string
func (*ProfileType) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ProfileType) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ProfileType) MarshalToVT ¶ added in v0.11.0
func (m *ProfileType) MarshalToVT(dAtA []byte) (int, error)
func (*ProfileType) MarshalVT ¶ added in v0.11.0
func (m *ProfileType) MarshalVT() (dAtA []byte, err error)
func (*ProfileType) ProtoMessage ¶ added in v0.11.0
func (*ProfileType) ProtoMessage()
func (*ProfileType) ProtoReflect ¶ added in v0.11.0
func (x *ProfileType) ProtoReflect() protoreflect.Message
func (*ProfileType) Reset ¶ added in v0.11.0
func (x *ProfileType) Reset()
func (*ProfileType) SizeVT ¶ added in v0.11.0
func (m *ProfileType) SizeVT() (n int)
func (*ProfileType) String ¶ added in v0.11.0
func (x *ProfileType) String() string
func (*ProfileType) UnmarshalVT ¶ added in v0.11.0
func (m *ProfileType) UnmarshalVT(dAtA []byte) error
type ProfileTypesRequest ¶ added in v0.11.0
type ProfileTypesRequest struct {
// contains filtered or unexported fields
}
ProfileTypesRequest is the request to retrieve the list of available profile types.
func (*ProfileTypesRequest) Descriptor
deprecated
added in
v0.11.0
func (*ProfileTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProfileTypesRequest.ProtoReflect.Descriptor instead.
func (*ProfileTypesRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ProfileTypesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ProfileTypesRequest) MarshalToVT ¶ added in v0.11.0
func (m *ProfileTypesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ProfileTypesRequest) MarshalVT ¶ added in v0.11.0
func (m *ProfileTypesRequest) MarshalVT() (dAtA []byte, err error)
func (*ProfileTypesRequest) ProtoMessage ¶ added in v0.11.0
func (*ProfileTypesRequest) ProtoMessage()
func (*ProfileTypesRequest) ProtoReflect ¶ added in v0.11.0
func (x *ProfileTypesRequest) ProtoReflect() protoreflect.Message
func (*ProfileTypesRequest) Reset ¶ added in v0.11.0
func (x *ProfileTypesRequest) Reset()
func (*ProfileTypesRequest) SizeVT ¶ added in v0.11.0
func (m *ProfileTypesRequest) SizeVT() (n int)
func (*ProfileTypesRequest) String ¶ added in v0.11.0
func (x *ProfileTypesRequest) String() string
func (*ProfileTypesRequest) UnmarshalVT ¶ added in v0.11.0
func (m *ProfileTypesRequest) UnmarshalVT(dAtA []byte) error
type ProfileTypesResponse ¶ added in v0.11.0
type ProfileTypesResponse struct { // types is the list of available profile types. Types []*ProfileType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"` // contains filtered or unexported fields }
ProfileTypesResponse is the response to retrieve the list of available profile types.
func (*ProfileTypesResponse) Descriptor
deprecated
added in
v0.11.0
func (*ProfileTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProfileTypesResponse.ProtoReflect.Descriptor instead.
func (*ProfileTypesResponse) GetTypes ¶ added in v0.11.0
func (x *ProfileTypesResponse) GetTypes() []*ProfileType
func (*ProfileTypesResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ProfileTypesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ProfileTypesResponse) MarshalToVT ¶ added in v0.11.0
func (m *ProfileTypesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ProfileTypesResponse) MarshalVT ¶ added in v0.11.0
func (m *ProfileTypesResponse) MarshalVT() (dAtA []byte, err error)
func (*ProfileTypesResponse) ProtoMessage ¶ added in v0.11.0
func (*ProfileTypesResponse) ProtoMessage()
func (*ProfileTypesResponse) ProtoReflect ¶ added in v0.11.0
func (x *ProfileTypesResponse) ProtoReflect() protoreflect.Message
func (*ProfileTypesResponse) Reset ¶ added in v0.11.0
func (x *ProfileTypesResponse) Reset()
func (*ProfileTypesResponse) SizeVT ¶ added in v0.11.0
func (m *ProfileTypesResponse) SizeVT() (n int)
func (*ProfileTypesResponse) String ¶ added in v0.11.0
func (x *ProfileTypesResponse) String() string
func (*ProfileTypesResponse) UnmarshalVT ¶ added in v0.11.0
func (m *ProfileTypesResponse) UnmarshalVT(dAtA []byte) error
type QueryModeRule ¶
type QueryModeRule struct{}
func (QueryModeRule) Validate ¶
func (r QueryModeRule) Validate(v interface{}) error
type QueryRangeRequest ¶
type QueryRangeRequest struct { // query is the query string to match profiles against Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // start is the start of the query time window Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` // end is the end of the query time window End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` // limit is the max number of profiles to include in the response Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // step is the duration of each sample returned. Step *durationpb.Duration `protobuf:"bytes,5,opt,name=step,proto3" json:"step,omitempty"` // contains filtered or unexported fields }
QueryRangeRequest is the request for a set of profiles matching a query over a time window
func (*QueryRangeRequest) Descriptor
deprecated
func (*QueryRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRangeRequest.ProtoReflect.Descriptor instead.
func (*QueryRangeRequest) GetEnd ¶
func (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 ¶ added in v0.16.0
func (x *QueryRangeRequest) GetStep() *durationpb.Duration
func (*QueryRangeRequest) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *QueryRangeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryRangeRequest) MarshalToVT ¶ added in v0.5.0
func (m *QueryRangeRequest) MarshalToVT(dAtA []byte) (int, error)
func (*QueryRangeRequest) MarshalVT ¶ added in v0.5.0
func (m *QueryRangeRequest) MarshalVT() (dAtA []byte, err error)
func (*QueryRangeRequest) ProtoMessage ¶
func (*QueryRangeRequest) ProtoMessage()
func (*QueryRangeRequest) ProtoReflect ¶
func (x *QueryRangeRequest) ProtoReflect() protoreflect.Message
func (*QueryRangeRequest) Reset ¶
func (x *QueryRangeRequest) Reset()
func (*QueryRangeRequest) SizeVT ¶ added in v0.5.0
func (m *QueryRangeRequest) SizeVT() (n int)
func (*QueryRangeRequest) String ¶
func (x *QueryRangeRequest) String() string
func (*QueryRangeRequest) UnmarshalVT ¶ added in v0.5.0
func (m *QueryRangeRequest) UnmarshalVT(dAtA []byte) error
func (*QueryRangeRequest) Validate ¶
func (r *QueryRangeRequest) Validate() error
Validate the QueryRangeRequest.
type QueryRangeResponse ¶
type QueryRangeResponse struct { // series is the set of metrics series that satisfy the query range request Series []*MetricsSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"` // contains filtered or unexported fields }
QueryRangeResponse is the set of matching profile values
func (*QueryRangeResponse) Descriptor
deprecated
func (*QueryRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRangeResponse.ProtoReflect.Descriptor instead.
func (*QueryRangeResponse) GetSeries ¶
func (x *QueryRangeResponse) GetSeries() []*MetricsSeries
func (*QueryRangeResponse) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *QueryRangeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryRangeResponse) MarshalToVT ¶ added in v0.5.0
func (m *QueryRangeResponse) MarshalToVT(dAtA []byte) (int, error)
func (*QueryRangeResponse) MarshalVT ¶ added in v0.5.0
func (m *QueryRangeResponse) MarshalVT() (dAtA []byte, err error)
func (*QueryRangeResponse) ProtoMessage ¶
func (*QueryRangeResponse) ProtoMessage()
func (*QueryRangeResponse) ProtoReflect ¶
func (x *QueryRangeResponse) ProtoReflect() protoreflect.Message
func (*QueryRangeResponse) Reset ¶
func (x *QueryRangeResponse) Reset()
func (*QueryRangeResponse) SizeVT ¶ added in v0.5.0
func (m *QueryRangeResponse) SizeVT() (n int)
func (*QueryRangeResponse) String ¶
func (x *QueryRangeResponse) String() string
func (*QueryRangeResponse) UnmarshalVT ¶ added in v0.5.0
func (m *QueryRangeResponse) UnmarshalVT(dAtA []byte) error
type QueryRequest ¶
type QueryRequest struct { // mode indicates the type of query performed Mode QueryRequest_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=parca.query.v1alpha1.QueryRequest_Mode" json:"mode,omitempty"` // options are the options corresponding to the mode // // Types that are assignable to Options: // // *QueryRequest_Diff // *QueryRequest_Merge // *QueryRequest_Single Options isQueryRequest_Options `protobuf_oneof:"options"` // report_type is the type of report to return ReportType QueryRequest_ReportType `` /* 142-byte string literal not displayed */ // filter_query is the query string to filter the profile samples FilterQuery *string `protobuf:"bytes,6,opt,name=filter_query,json=filterQuery,proto3,oneof" json:"filter_query,omitempty"` // node_trim_threshold is the threshold % where the nodes with Value less than this will be removed from the report NodeTrimThreshold *float32 `protobuf:"fixed32,7,opt,name=node_trim_threshold,json=nodeTrimThreshold,proto3,oneof" json:"node_trim_threshold,omitempty"` // group_by indicates the fields to group by GroupBy *GroupBy `protobuf:"bytes,8,opt,name=group_by,json=groupBy,proto3,oneof" json:"group_by,omitempty"` // source information about the source requested, required if source report is requested SourceReference *SourceReference `protobuf:"bytes,9,opt,name=source_reference,json=sourceReference,proto3,oneof" json:"source_reference,omitempty"` // which runtime frames to filter out, often interpreter frames like python or ruby are not super useful by default RuntimeFilter *RuntimeFilter `protobuf:"bytes,10,opt,name=runtime_filter,json=runtimeFilter,proto3,oneof" json:"runtime_filter,omitempty"` // contains filtered or unexported fields }
QueryRequest is a request for a profile query
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetDiff ¶
func (x *QueryRequest) GetDiff() *DiffProfile
func (*QueryRequest) GetFilterQuery ¶ added in v0.15.0
func (x *QueryRequest) GetFilterQuery() string
func (*QueryRequest) GetGroupBy ¶ added in v0.19.0
func (x *QueryRequest) GetGroupBy() *GroupBy
func (*QueryRequest) GetMerge ¶
func (x *QueryRequest) GetMerge() *MergeProfile
func (*QueryRequest) GetMode ¶
func (x *QueryRequest) GetMode() QueryRequest_Mode
func (*QueryRequest) GetNodeTrimThreshold ¶ added in v0.16.0
func (x *QueryRequest) GetNodeTrimThreshold() float32
func (*QueryRequest) GetOptions ¶
func (m *QueryRequest) GetOptions() isQueryRequest_Options
func (*QueryRequest) GetReportType ¶
func (x *QueryRequest) GetReportType() QueryRequest_ReportType
func (*QueryRequest) GetRuntimeFilter ¶ added in v0.21.0
func (x *QueryRequest) GetRuntimeFilter() *RuntimeFilter
func (*QueryRequest) GetSingle ¶
func (x *QueryRequest) GetSingle() *SingleProfile
func (*QueryRequest) GetSourceReference ¶ added in v0.19.0
func (x *QueryRequest) GetSourceReference() *SourceReference
func (*QueryRequest) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *QueryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryRequest) MarshalToVT ¶ added in v0.5.0
func (m *QueryRequest) MarshalToVT(dAtA []byte) (int, error)
func (*QueryRequest) MarshalVT ¶ added in v0.5.0
func (m *QueryRequest) MarshalVT() (dAtA []byte, err error)
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) SizeVT ¶ added in v0.5.0
func (m *QueryRequest) SizeVT() (n int)
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
func (*QueryRequest) UnmarshalVT ¶ added in v0.5.0
func (m *QueryRequest) UnmarshalVT(dAtA []byte) error
type QueryRequest_Diff ¶
type QueryRequest_Diff struct { // diff contains the diff query options Diff *DiffProfile `protobuf:"bytes,2,opt,name=diff,proto3,oneof"` }
func (*QueryRequest_Diff) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *QueryRequest_Diff) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryRequest_Diff) MarshalToVT ¶ added in v0.5.0
func (m *QueryRequest_Diff) MarshalToVT(dAtA []byte) (int, error)
func (*QueryRequest_Diff) SizeVT ¶ added in v0.5.0
func (m *QueryRequest_Diff) SizeVT() (n int)
type QueryRequest_Merge ¶
type QueryRequest_Merge struct { // merge contains the merge query options Merge *MergeProfile `protobuf:"bytes,3,opt,name=merge,proto3,oneof"` }
func (*QueryRequest_Merge) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *QueryRequest_Merge) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryRequest_Merge) MarshalToVT ¶ added in v0.5.0
func (m *QueryRequest_Merge) MarshalToVT(dAtA []byte) (int, error)
func (*QueryRequest_Merge) SizeVT ¶ added in v0.5.0
func (m *QueryRequest_Merge) SizeVT() (n int)
type QueryRequest_Mode ¶
type QueryRequest_Mode int32
Mode is the type of query request
const ( // MODE_SINGLE_UNSPECIFIED query unspecified QueryRequest_MODE_SINGLE_UNSPECIFIED QueryRequest_Mode = 0 // MODE_DIFF is a diff query QueryRequest_MODE_DIFF QueryRequest_Mode = 1 // MODE_MERGE is a merge query QueryRequest_MODE_MERGE QueryRequest_Mode = 2 )
func (QueryRequest_Mode) Descriptor ¶
func (QueryRequest_Mode) Descriptor() protoreflect.EnumDescriptor
func (QueryRequest_Mode) Enum ¶
func (x QueryRequest_Mode) Enum() *QueryRequest_Mode
func (QueryRequest_Mode) EnumDescriptor
deprecated
func (QueryRequest_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use QueryRequest_Mode.Descriptor instead.
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 )
func (QueryRequest_ReportType) Descriptor ¶
func (QueryRequest_ReportType) Descriptor() protoreflect.EnumDescriptor
func (QueryRequest_ReportType) Enum ¶
func (x QueryRequest_ReportType) Enum() *QueryRequest_ReportType
func (QueryRequest_ReportType) EnumDescriptor
deprecated
func (QueryRequest_ReportType) EnumDescriptor() ([]byte, []int)
Deprecated: Use QueryRequest_ReportType.Descriptor instead.
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"` }
func (*QueryRequest_Single) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *QueryRequest_Single) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryRequest_Single) MarshalToVT ¶ added in v0.5.0
func (m *QueryRequest_Single) MarshalToVT(dAtA []byte) (int, error)
func (*QueryRequest_Single) SizeVT ¶ added in v0.5.0
func (m *QueryRequest_Single) SizeVT() (n int)
type QueryResponse ¶
type QueryResponse struct { // report is the generated report // // Types that are assignable to Report: // // *QueryResponse_Flamegraph // *QueryResponse_Pprof // *QueryResponse_Top // *QueryResponse_Callgraph // *QueryResponse_FlamegraphArrow // *QueryResponse_Source // *QueryResponse_TableArrow Report isQueryResponse_Report `protobuf_oneof:"report"` // total is the total number of samples shown in the report. Total int64 `protobuf:"varint,9,opt,name=total,proto3" json:"total,omitempty"` // filtered is the number of samples filtered out of the report. Filtered int64 `protobuf:"varint,10,opt,name=filtered,proto3" json:"filtered,omitempty"` // contains filtered or unexported fields }
QueryResponse is the returned report for the given query
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetCallgraph ¶ added in v0.13.0
func (x *QueryResponse) GetCallgraph() *Callgraph
func (*QueryResponse) GetFiltered ¶ added in v0.17.0
func (x *QueryResponse) GetFiltered() int64
func (*QueryResponse) GetFlamegraph ¶
func (x *QueryResponse) GetFlamegraph() *Flamegraph
func (*QueryResponse) GetFlamegraphArrow ¶ added in v0.19.0
func (x *QueryResponse) GetFlamegraphArrow() *FlamegraphArrow
func (*QueryResponse) GetPprof ¶ added in v0.4.0
func (x *QueryResponse) GetPprof() []byte
func (*QueryResponse) GetReport ¶
func (m *QueryResponse) GetReport() isQueryResponse_Report
func (*QueryResponse) GetSource ¶ added in v0.19.0
func (x *QueryResponse) GetSource() *Source
func (*QueryResponse) GetTableArrow ¶ added in v0.19.0
func (x *QueryResponse) GetTableArrow() *TableArrow
func (*QueryResponse) GetTop ¶ added in v0.8.0
func (x *QueryResponse) GetTop() *Top
func (*QueryResponse) GetTotal ¶ added in v0.17.0
func (x *QueryResponse) GetTotal() int64
func (*QueryResponse) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *QueryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse) MarshalToVT ¶ added in v0.5.0
func (m *QueryResponse) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse) MarshalVT ¶ added in v0.5.0
func (m *QueryResponse) MarshalVT() (dAtA []byte, err error)
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) SizeVT ¶ added in v0.5.0
func (m *QueryResponse) SizeVT() (n int)
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
func (*QueryResponse) UnmarshalVT ¶ added in v0.5.0
func (m *QueryResponse) UnmarshalVT(dAtA []byte) error
type QueryResponse_Callgraph ¶ added in v0.13.0
type QueryResponse_Callgraph struct { // callgraph is a callgraph nodes and edges representation of the report Callgraph *Callgraph `protobuf:"bytes,8,opt,name=callgraph,proto3,oneof"` }
func (*QueryResponse_Callgraph) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *QueryResponse_Callgraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse_Callgraph) MarshalToVT ¶ added in v0.13.0
func (m *QueryResponse_Callgraph) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse_Callgraph) SizeVT ¶ added in v0.13.0
func (m *QueryResponse_Callgraph) SizeVT() (n int)
type QueryResponse_Flamegraph ¶
type QueryResponse_Flamegraph struct { // flamegraph is a flamegraph representation of the report Flamegraph *Flamegraph `protobuf:"bytes,5,opt,name=flamegraph,proto3,oneof"` }
func (*QueryResponse_Flamegraph) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *QueryResponse_Flamegraph) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse_Flamegraph) MarshalToVT ¶ added in v0.5.0
func (m *QueryResponse_Flamegraph) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse_Flamegraph) SizeVT ¶ added in v0.5.0
func (m *QueryResponse_Flamegraph) SizeVT() (n int)
type QueryResponse_FlamegraphArrow ¶ added in v0.19.0
type QueryResponse_FlamegraphArrow struct { // flamegraph_arrow is a flamegraph encoded as a arrow record FlamegraphArrow *FlamegraphArrow `protobuf:"bytes,11,opt,name=flamegraph_arrow,json=flamegraphArrow,proto3,oneof"` }
func (*QueryResponse_FlamegraphArrow) MarshalToSizedBufferVT ¶ added in v0.19.0
func (m *QueryResponse_FlamegraphArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse_FlamegraphArrow) MarshalToVT ¶ added in v0.19.0
func (m *QueryResponse_FlamegraphArrow) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse_FlamegraphArrow) SizeVT ¶ added in v0.19.0
func (m *QueryResponse_FlamegraphArrow) SizeVT() (n int)
type QueryResponse_Pprof ¶ added in v0.4.0
type QueryResponse_Pprof struct { // pprof is a pprof profile as compressed bytes Pprof []byte `protobuf:"bytes,6,opt,name=pprof,proto3,oneof"` }
func (*QueryResponse_Pprof) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *QueryResponse_Pprof) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse_Pprof) MarshalToVT ¶ added in v0.5.0
func (m *QueryResponse_Pprof) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse_Pprof) SizeVT ¶ added in v0.5.0
func (m *QueryResponse_Pprof) SizeVT() (n int)
type QueryResponse_Source ¶ added in v0.19.0
type QueryResponse_Source struct { // source is the source report type result Source *Source `protobuf:"bytes,12,opt,name=source,proto3,oneof"` }
func (*QueryResponse_Source) MarshalToSizedBufferVT ¶ added in v0.19.0
func (m *QueryResponse_Source) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse_Source) MarshalToVT ¶ added in v0.19.0
func (m *QueryResponse_Source) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse_Source) SizeVT ¶ added in v0.19.0
func (m *QueryResponse_Source) SizeVT() (n int)
type QueryResponse_TableArrow ¶ added in v0.19.0
type QueryResponse_TableArrow struct { // table_arrow is a table encoded as a arrow record TableArrow *TableArrow `protobuf:"bytes,13,opt,name=table_arrow,json=tableArrow,proto3,oneof"` }
func (*QueryResponse_TableArrow) MarshalToSizedBufferVT ¶ added in v0.19.0
func (m *QueryResponse_TableArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse_TableArrow) MarshalToVT ¶ added in v0.19.0
func (m *QueryResponse_TableArrow) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse_TableArrow) SizeVT ¶ added in v0.19.0
func (m *QueryResponse_TableArrow) SizeVT() (n int)
type QueryResponse_Top ¶ added in v0.8.0
type QueryResponse_Top struct { // top is a top list representation of the report Top *Top `protobuf:"bytes,7,opt,name=top,proto3,oneof"` }
func (*QueryResponse_Top) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *QueryResponse_Top) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse_Top) MarshalToVT ¶ added in v0.8.0
func (m *QueryResponse_Top) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse_Top) SizeVT ¶ added in v0.8.0
func (m *QueryResponse_Top) SizeVT() (n int)
type QueryServiceClient ¶
type QueryServiceClient interface { // QueryRange performs a profile query over a time range QueryRange(ctx context.Context, in *QueryRangeRequest, opts ...grpc.CallOption) (*QueryRangeResponse, error) // Query performs a profile query Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) // Series is unimplemented Series(ctx context.Context, in *SeriesRequest, opts ...grpc.CallOption) (*SeriesResponse, error) // ProfileTypes returns the list of available profile types. ProfileTypes(ctx context.Context, in *ProfileTypesRequest, opts ...grpc.CallOption) (*ProfileTypesResponse, error) // Labels returns the set of label names against a given matching string and time frame Labels(ctx context.Context, in *LabelsRequest, opts ...grpc.CallOption) (*LabelsResponse, error) // Values returns the set of values that match a given label and time frame Values(ctx context.Context, in *ValuesRequest, opts ...grpc.CallOption) (*ValuesResponse, error) ShareProfile(ctx context.Context, in *ShareProfileRequest, opts ...grpc.CallOption) (*ShareProfileResponse, error) }
QueryServiceClient is the client API for QueryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryServiceClient ¶
func NewQueryServiceClient(cc grpc.ClientConnInterface) QueryServiceClient
type QueryServiceServer ¶
type QueryServiceServer interface { // QueryRange performs a profile query over a time range QueryRange(context.Context, *QueryRangeRequest) (*QueryRangeResponse, error) // Query performs a profile query Query(context.Context, *QueryRequest) (*QueryResponse, error) // Series is unimplemented Series(context.Context, *SeriesRequest) (*SeriesResponse, error) // ProfileTypes returns the list of available profile types. ProfileTypes(context.Context, *ProfileTypesRequest) (*ProfileTypesResponse, error) // Labels returns the set of label names against a given matching string and time frame Labels(context.Context, *LabelsRequest) (*LabelsResponse, error) // Values returns the set of values that match a given label and time frame Values(context.Context, *ValuesRequest) (*ValuesResponse, error) ShareProfile(context.Context, *ShareProfileRequest) (*ShareProfileResponse, error) // contains filtered or unexported methods }
QueryServiceServer is the server API for QueryService service. All implementations must embed UnimplementedQueryServiceServer for forward compatibility
type ReportTypeRule ¶
type ReportTypeRule struct{}
func (ReportTypeRule) Validate ¶
func (r ReportTypeRule) Validate(v interface{}) error
type RuntimeFilter ¶ added in v0.21.0
type RuntimeFilter struct { // Whether to show frames of the python runtime. ShowPython bool `protobuf:"varint,1,opt,name=show_python,json=showPython,proto3" json:"show_python,omitempty"` // Whether to show frames of the ruby runtime. ShowRuby bool `protobuf:"varint,2,opt,name=show_ruby,json=showRuby,proto3" json:"show_ruby,omitempty"` // Whether to only show interpreted frames. ShowInterpretedOnly bool `protobuf:"varint,3,opt,name=show_interpreted_only,json=showInterpretedOnly,proto3" json:"show_interpreted_only,omitempty"` // contains filtered or unexported fields }
RuntimeFilter configures which runtimes to filter frames out for.
func (*RuntimeFilter) Descriptor
deprecated
added in
v0.21.0
func (*RuntimeFilter) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeFilter.ProtoReflect.Descriptor instead.
func (*RuntimeFilter) GetShowInterpretedOnly ¶ added in v0.21.0
func (x *RuntimeFilter) GetShowInterpretedOnly() bool
func (*RuntimeFilter) GetShowPython ¶ added in v0.21.0
func (x *RuntimeFilter) GetShowPython() bool
func (*RuntimeFilter) GetShowRuby ¶ added in v0.21.0
func (x *RuntimeFilter) GetShowRuby() bool
func (*RuntimeFilter) MarshalToSizedBufferVT ¶ added in v0.21.0
func (m *RuntimeFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RuntimeFilter) MarshalToVT ¶ added in v0.21.0
func (m *RuntimeFilter) MarshalToVT(dAtA []byte) (int, error)
func (*RuntimeFilter) MarshalVT ¶ added in v0.21.0
func (m *RuntimeFilter) MarshalVT() (dAtA []byte, err error)
func (*RuntimeFilter) ProtoMessage ¶ added in v0.21.0
func (*RuntimeFilter) ProtoMessage()
func (*RuntimeFilter) ProtoReflect ¶ added in v0.21.0
func (x *RuntimeFilter) ProtoReflect() protoreflect.Message
func (*RuntimeFilter) Reset ¶ added in v0.21.0
func (x *RuntimeFilter) Reset()
func (*RuntimeFilter) SizeVT ¶ added in v0.21.0
func (m *RuntimeFilter) SizeVT() (n int)
func (*RuntimeFilter) String ¶ added in v0.21.0
func (x *RuntimeFilter) String() string
func (*RuntimeFilter) UnmarshalVT ¶ added in v0.21.0
func (m *RuntimeFilter) UnmarshalVT(dAtA []byte) error
type SeriesRequest ¶
type SeriesRequest struct { // match ... Match []string `protobuf:"bytes,1,rep,name=match,proto3" json:"match,omitempty"` // start ... Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` // end ... End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
SeriesRequest is unimplemented
func (*SeriesRequest) Descriptor
deprecated
func (*SeriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SeriesRequest.ProtoReflect.Descriptor instead.
func (*SeriesRequest) GetEnd ¶
func (x *SeriesRequest) GetEnd() *timestamppb.Timestamp
func (*SeriesRequest) GetMatch ¶
func (x *SeriesRequest) GetMatch() []string
func (*SeriesRequest) GetStart ¶
func (x *SeriesRequest) GetStart() *timestamppb.Timestamp
func (*SeriesRequest) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *SeriesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SeriesRequest) MarshalToVT ¶ added in v0.5.0
func (m *SeriesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SeriesRequest) MarshalVT ¶ added in v0.5.0
func (m *SeriesRequest) MarshalVT() (dAtA []byte, err error)
func (*SeriesRequest) ProtoMessage ¶
func (*SeriesRequest) ProtoMessage()
func (*SeriesRequest) ProtoReflect ¶
func (x *SeriesRequest) ProtoReflect() protoreflect.Message
func (*SeriesRequest) Reset ¶
func (x *SeriesRequest) Reset()
func (*SeriesRequest) SizeVT ¶ added in v0.5.0
func (m *SeriesRequest) SizeVT() (n int)
func (*SeriesRequest) String ¶
func (x *SeriesRequest) String() string
func (*SeriesRequest) UnmarshalVT ¶ added in v0.5.0
func (m *SeriesRequest) UnmarshalVT(dAtA []byte) error
type SeriesResponse ¶
type SeriesResponse struct {
// contains filtered or unexported fields
}
SeriesResponse is unimplemented
func (*SeriesResponse) Descriptor
deprecated
func (*SeriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SeriesResponse.ProtoReflect.Descriptor instead.
func (*SeriesResponse) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *SeriesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SeriesResponse) MarshalToVT ¶ added in v0.5.0
func (m *SeriesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SeriesResponse) MarshalVT ¶ added in v0.5.0
func (m *SeriesResponse) MarshalVT() (dAtA []byte, err error)
func (*SeriesResponse) ProtoMessage ¶
func (*SeriesResponse) ProtoMessage()
func (*SeriesResponse) ProtoReflect ¶
func (x *SeriesResponse) ProtoReflect() protoreflect.Message
func (*SeriesResponse) Reset ¶
func (x *SeriesResponse) Reset()
func (*SeriesResponse) SizeVT ¶ added in v0.5.0
func (m *SeriesResponse) SizeVT() (n int)
func (*SeriesResponse) String ¶
func (x *SeriesResponse) String() string
func (*SeriesResponse) UnmarshalVT ¶ added in v0.5.0
func (m *SeriesResponse) UnmarshalVT(dAtA []byte) error
type ShareProfileRequest ¶ added in v0.12.0
type ShareProfileRequest struct { QueryRequest `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 }QueryRequest *
ShareProfileRequest represents the query denoting the profile and a description about the profile
func (*ShareProfileRequest) Descriptor
deprecated
added in
v0.12.0
func (*ShareProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareProfileRequest.ProtoReflect.Descriptor instead.
func (*ShareProfileRequest) GetDescription ¶ added in v0.12.0
func (x *ShareProfileRequest) GetDescription() string
func (*ShareProfileRequest) GetQueryRequest ¶ added in v0.12.0
func (x *ShareProfileRequest) GetQueryRequest() *QueryRequest
func (*ShareProfileRequest) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *ShareProfileRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShareProfileRequest) MarshalToVT ¶ added in v0.12.0
func (m *ShareProfileRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ShareProfileRequest) MarshalVT ¶ added in v0.12.0
func (m *ShareProfileRequest) MarshalVT() (dAtA []byte, err error)
func (*ShareProfileRequest) ProtoMessage ¶ added in v0.12.0
func (*ShareProfileRequest) ProtoMessage()
func (*ShareProfileRequest) ProtoReflect ¶ added in v0.12.0
func (x *ShareProfileRequest) ProtoReflect() protoreflect.Message
func (*ShareProfileRequest) Reset ¶ added in v0.12.0
func (x *ShareProfileRequest) Reset()
func (*ShareProfileRequest) SizeVT ¶ added in v0.12.0
func (m *ShareProfileRequest) SizeVT() (n int)
func (*ShareProfileRequest) String ¶ added in v0.12.0
func (x *ShareProfileRequest) String() string
func (*ShareProfileRequest) UnmarshalVT ¶ added in v0.12.0
func (m *ShareProfileRequest) UnmarshalVT(dAtA []byte) error
type ShareProfileResponse ¶ added in v0.12.0
type ShareProfileResponse struct { string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }Link
ShareProfileResponse represents the shared link of a profile
func (*ShareProfileResponse) Descriptor
deprecated
added in
v0.12.0
func (*ShareProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareProfileResponse.ProtoReflect.Descriptor instead.
func (*ShareProfileResponse) GetLink ¶ added in v0.12.0
func (x *ShareProfileResponse) GetLink() string
func (*ShareProfileResponse) MarshalToSizedBufferVT ¶ added in v0.12.0
func (m *ShareProfileResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ShareProfileResponse) MarshalToVT ¶ added in v0.12.0
func (m *ShareProfileResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ShareProfileResponse) MarshalVT ¶ added in v0.12.0
func (m *ShareProfileResponse) MarshalVT() (dAtA []byte, err error)
func (*ShareProfileResponse) ProtoMessage ¶ added in v0.12.0
func (*ShareProfileResponse) ProtoMessage()
func (*ShareProfileResponse) ProtoReflect ¶ added in v0.12.0
func (x *ShareProfileResponse) ProtoReflect() protoreflect.Message
func (*ShareProfileResponse) Reset ¶ added in v0.12.0
func (x *ShareProfileResponse) Reset()
func (*ShareProfileResponse) SizeVT ¶ added in v0.12.0
func (m *ShareProfileResponse) SizeVT() (n int)
func (*ShareProfileResponse) String ¶ added in v0.12.0
func (x *ShareProfileResponse) String() string
func (*ShareProfileResponse) UnmarshalVT ¶ added in v0.12.0
func (m *ShareProfileResponse) UnmarshalVT(dAtA []byte) error
type SingleProfile ¶
type SingleProfile struct { // time is the point in time to perform the profile request Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // query is the query string to retrieve the profile Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
SingleProfile contains parameters for a single profile query request
func (*SingleProfile) Descriptor
deprecated
func (*SingleProfile) Descriptor() ([]byte, []int)
Deprecated: Use SingleProfile.ProtoReflect.Descriptor instead.
func (*SingleProfile) GetQuery ¶
func (x *SingleProfile) GetQuery() string
func (*SingleProfile) GetTime ¶
func (x *SingleProfile) GetTime() *timestamppb.Timestamp
func (*SingleProfile) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *SingleProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SingleProfile) MarshalToVT ¶ added in v0.5.0
func (m *SingleProfile) MarshalToVT(dAtA []byte) (int, error)
func (*SingleProfile) MarshalVT ¶ added in v0.5.0
func (m *SingleProfile) MarshalVT() (dAtA []byte, err error)
func (*SingleProfile) ProtoMessage ¶
func (*SingleProfile) ProtoMessage()
func (*SingleProfile) ProtoReflect ¶
func (x *SingleProfile) ProtoReflect() protoreflect.Message
func (*SingleProfile) Reset ¶
func (x *SingleProfile) Reset()
func (*SingleProfile) SizeVT ¶ added in v0.5.0
func (m *SingleProfile) SizeVT() (n int)
func (*SingleProfile) String ¶
func (x *SingleProfile) String() string
func (*SingleProfile) UnmarshalVT ¶ added in v0.5.0
func (m *SingleProfile) UnmarshalVT(dAtA []byte) error
type Source ¶ added in v0.19.0
type Source struct { // An arrow record that contains a row per source code line with value and diff columns for flat and cumulative. Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` // The actual source file content. Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // The unit of the values in the record. Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
Source is the result of the source report type.
func (*Source) Descriptor
deprecated
added in
v0.19.0
func (*Source) MarshalToSizedBufferVT ¶ added in v0.19.0
func (*Source) MarshalToVT ¶ added in v0.19.0
func (*Source) ProtoMessage ¶ added in v0.19.0
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶ added in v0.19.0
func (x *Source) ProtoReflect() protoreflect.Message
func (*Source) UnmarshalVT ¶ added in v0.19.0
type SourceReference ¶ added in v0.19.0
type SourceReference struct { // The build ID to request the source of. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // The filename requested. Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` // Whether to perform a full query or just retrieve the source. SourceOnly bool `protobuf:"varint,3,opt,name=source_only,json=sourceOnly,proto3" json:"source_only,omitempty"` // contains filtered or unexported fields }
SourceReference contains a reference to source code.
func (*SourceReference) Descriptor
deprecated
added in
v0.19.0
func (*SourceReference) Descriptor() ([]byte, []int)
Deprecated: Use SourceReference.ProtoReflect.Descriptor instead.
func (*SourceReference) GetBuildId ¶ added in v0.19.0
func (x *SourceReference) GetBuildId() string
func (*SourceReference) GetFilename ¶ added in v0.19.0
func (x *SourceReference) GetFilename() string
func (*SourceReference) GetSourceOnly ¶ added in v0.19.0
func (x *SourceReference) GetSourceOnly() bool
func (*SourceReference) MarshalToSizedBufferVT ¶ added in v0.19.0
func (m *SourceReference) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SourceReference) MarshalToVT ¶ added in v0.19.0
func (m *SourceReference) MarshalToVT(dAtA []byte) (int, error)
func (*SourceReference) MarshalVT ¶ added in v0.19.0
func (m *SourceReference) MarshalVT() (dAtA []byte, err error)
func (*SourceReference) ProtoMessage ¶ added in v0.19.0
func (*SourceReference) ProtoMessage()
func (*SourceReference) ProtoReflect ¶ added in v0.19.0
func (x *SourceReference) ProtoReflect() protoreflect.Message
func (*SourceReference) Reset ¶ added in v0.19.0
func (x *SourceReference) Reset()
func (*SourceReference) SizeVT ¶ added in v0.19.0
func (m *SourceReference) SizeVT() (n int)
func (*SourceReference) String ¶ added in v0.19.0
func (x *SourceReference) String() string
func (*SourceReference) UnmarshalVT ¶ added in v0.19.0
func (m *SourceReference) UnmarshalVT(dAtA []byte) error
type TableArrow ¶ added in v0.19.0
type TableArrow struct { // record is the arrow record containing the actual table data Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` // unit is the unit represented by the flame graph Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
TableArrow has the table encoded as a arrow record
func (*TableArrow) Descriptor
deprecated
added in
v0.19.0
func (*TableArrow) Descriptor() ([]byte, []int)
Deprecated: Use TableArrow.ProtoReflect.Descriptor instead.
func (*TableArrow) GetRecord ¶ added in v0.19.0
func (x *TableArrow) GetRecord() []byte
func (*TableArrow) GetUnit ¶ added in v0.19.0
func (x *TableArrow) GetUnit() string
func (*TableArrow) MarshalToSizedBufferVT ¶ added in v0.19.0
func (m *TableArrow) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TableArrow) MarshalToVT ¶ added in v0.19.0
func (m *TableArrow) MarshalToVT(dAtA []byte) (int, error)
func (*TableArrow) MarshalVT ¶ added in v0.19.0
func (m *TableArrow) MarshalVT() (dAtA []byte, err error)
func (*TableArrow) ProtoMessage ¶ added in v0.19.0
func (*TableArrow) ProtoMessage()
func (*TableArrow) ProtoReflect ¶ added in v0.19.0
func (x *TableArrow) ProtoReflect() protoreflect.Message
func (*TableArrow) Reset ¶ added in v0.19.0
func (x *TableArrow) Reset()
func (*TableArrow) SizeVT ¶ added in v0.19.0
func (m *TableArrow) SizeVT() (n int)
func (*TableArrow) String ¶ added in v0.19.0
func (x *TableArrow) String() string
func (*TableArrow) UnmarshalVT ¶ added in v0.19.0
func (m *TableArrow) UnmarshalVT(dAtA []byte) error
type Top ¶ added in v0.8.0
type Top struct { // list are the list of ordered elements of the table List []*TopNode `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // reported is the number of lines reported Reported int32 `protobuf:"varint,2,opt,name=reported,proto3" json:"reported,omitempty"` // total is the number of lines that exist in the report // Use total from the top level query response instead. // // Deprecated: Marked as deprecated in parca/query/v1alpha1/query.proto. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // unit is the unit represented by top table Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
Top is the top report type
func (*Top) Descriptor
deprecated
added in
v0.8.0
func (*Top) GetReported ¶ added in v0.8.0
func (*Top) MarshalToSizedBufferVT ¶ added in v0.8.0
func (*Top) ProtoMessage ¶ added in v0.8.0
func (*Top) ProtoMessage()
func (*Top) ProtoReflect ¶ added in v0.8.0
func (x *Top) ProtoReflect() protoreflect.Message
func (*Top) UnmarshalVT ¶ added in v0.8.0
type TopNode ¶ added in v0.8.0
type TopNode struct { // meta is the metadata about the node Meta *TopNodeMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // cumulative is the cumulative value of the node Cumulative int64 `protobuf:"varint,2,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // flat is the flat value of the node Flat int64 `protobuf:"varint,3,opt,name=flat,proto3" json:"flat,omitempty"` // diff is the diff value between two profiles Diff int64 `protobuf:"varint,4,opt,name=diff,proto3" json:"diff,omitempty"` // contains filtered or unexported fields }
TopNode is a node entry in a top list
func (*TopNode) Descriptor
deprecated
added in
v0.8.0
func (*TopNode) GetCumulative ¶ added in v0.8.0
func (*TopNode) GetMeta ¶ added in v0.8.0
func (x *TopNode) GetMeta() *TopNodeMeta
func (*TopNode) MarshalToSizedBufferVT ¶ added in v0.8.0
func (*TopNode) MarshalToVT ¶ added in v0.8.0
func (*TopNode) ProtoMessage ¶ added in v0.8.0
func (*TopNode) ProtoMessage()
func (*TopNode) ProtoReflect ¶ added in v0.8.0
func (x *TopNode) ProtoReflect() protoreflect.Message
func (*TopNode) UnmarshalVT ¶ added in v0.8.0
type TopNodeMeta ¶ added in v0.8.0
type TopNodeMeta struct { // location is the location for the code Location *v1alpha11.Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // mapping is the mapping into code Mapping *v1alpha11.Mapping `protobuf:"bytes,2,opt,name=mapping,proto3" json:"mapping,omitempty"` // function is the function information Function *v1alpha11.Function `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"` // line is the line location Line *v1alpha11.Line `protobuf:"bytes,4,opt,name=line,proto3" json:"line,omitempty"` // contains filtered or unexported fields }
TopNodeMeta is the metadata for a given node
func (*TopNodeMeta) Descriptor
deprecated
added in
v0.8.0
func (*TopNodeMeta) Descriptor() ([]byte, []int)
Deprecated: Use TopNodeMeta.ProtoReflect.Descriptor instead.
func (*TopNodeMeta) GetFunction ¶ added in v0.8.0
func (x *TopNodeMeta) GetFunction() *v1alpha11.Function
func (*TopNodeMeta) GetLine ¶ added in v0.8.0
func (x *TopNodeMeta) GetLine() *v1alpha11.Line
func (*TopNodeMeta) GetLocation ¶ added in v0.8.0
func (x *TopNodeMeta) GetLocation() *v1alpha11.Location
func (*TopNodeMeta) GetMapping ¶ added in v0.8.0
func (x *TopNodeMeta) GetMapping() *v1alpha11.Mapping
func (*TopNodeMeta) MarshalToSizedBufferVT ¶ added in v0.8.0
func (m *TopNodeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TopNodeMeta) MarshalToVT ¶ added in v0.8.0
func (m *TopNodeMeta) MarshalToVT(dAtA []byte) (int, error)
func (*TopNodeMeta) MarshalVT ¶ added in v0.8.0
func (m *TopNodeMeta) MarshalVT() (dAtA []byte, err error)
func (*TopNodeMeta) ProtoMessage ¶ added in v0.8.0
func (*TopNodeMeta) ProtoMessage()
func (*TopNodeMeta) ProtoReflect ¶ added in v0.8.0
func (x *TopNodeMeta) ProtoReflect() protoreflect.Message
func (*TopNodeMeta) Reset ¶ added in v0.8.0
func (x *TopNodeMeta) Reset()
func (*TopNodeMeta) SizeVT ¶ added in v0.8.0
func (m *TopNodeMeta) SizeVT() (n int)
func (*TopNodeMeta) String ¶ added in v0.8.0
func (x *TopNodeMeta) String() string
func (*TopNodeMeta) UnmarshalVT ¶ added in v0.8.0
func (m *TopNodeMeta) UnmarshalVT(dAtA []byte) error
type UnimplementedQueryServiceServer ¶
type UnimplementedQueryServiceServer struct { }
UnimplementedQueryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServiceServer) Labels ¶
func (UnimplementedQueryServiceServer) Labels(context.Context, *LabelsRequest) (*LabelsResponse, error)
func (UnimplementedQueryServiceServer) ProfileTypes ¶ added in v0.11.0
func (UnimplementedQueryServiceServer) ProfileTypes(context.Context, *ProfileTypesRequest) (*ProfileTypesResponse, error)
func (UnimplementedQueryServiceServer) Query ¶
func (UnimplementedQueryServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
func (UnimplementedQueryServiceServer) QueryRange ¶
func (UnimplementedQueryServiceServer) QueryRange(context.Context, *QueryRangeRequest) (*QueryRangeResponse, error)
func (UnimplementedQueryServiceServer) Series ¶
func (UnimplementedQueryServiceServer) Series(context.Context, *SeriesRequest) (*SeriesResponse, error)
func (UnimplementedQueryServiceServer) ShareProfile ¶ added in v0.12.0
func (UnimplementedQueryServiceServer) ShareProfile(context.Context, *ShareProfileRequest) (*ShareProfileResponse, error)
func (UnimplementedQueryServiceServer) Values ¶
func (UnimplementedQueryServiceServer) Values(context.Context, *ValuesRequest) (*ValuesResponse, error)
type UnsafeQueryServiceServer ¶
type UnsafeQueryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServiceServer will result in compilation errors.
type ValueType ¶ added in v0.4.0
type ValueType struct { // type is the type of the value Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // unit is the unit of the value Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` // contains filtered or unexported fields }
ValueType represents a value, including its type and unit
func (*ValueType) Descriptor
deprecated
added in
v0.4.0
func (*ValueType) MarshalToSizedBufferVT ¶ added in v0.5.0
func (*ValueType) MarshalToVT ¶ added in v0.5.0
func (*ValueType) ProtoMessage ¶ added in v0.4.0
func (*ValueType) ProtoMessage()
func (*ValueType) ProtoReflect ¶ added in v0.4.0
func (x *ValueType) ProtoReflect() protoreflect.Message
func (*ValueType) UnmarshalVT ¶ added in v0.5.0
type ValuesRequest ¶
type ValuesRequest struct { // label_name is the label name to match values against LabelName string `protobuf:"bytes,1,opt,name=label_name,json=labelName,proto3" json:"label_name,omitempty"` // match are the set of matching strings to match values against Match []string `protobuf:"bytes,2,rep,name=match,proto3" json:"match,omitempty"` // start is the start of the time window to perform the query Start *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"` // end is the end of the time window to perform the query End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
ValuesRequest are the request values for a values request
func (*ValuesRequest) Descriptor
deprecated
func (*ValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValuesRequest.ProtoReflect.Descriptor instead.
func (*ValuesRequest) GetEnd ¶
func (x *ValuesRequest) GetEnd() *timestamppb.Timestamp
func (*ValuesRequest) GetLabelName ¶
func (x *ValuesRequest) GetLabelName() string
func (*ValuesRequest) GetMatch ¶
func (x *ValuesRequest) GetMatch() []string
func (*ValuesRequest) GetStart ¶
func (x *ValuesRequest) GetStart() *timestamppb.Timestamp
func (*ValuesRequest) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *ValuesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ValuesRequest) MarshalToVT ¶ added in v0.5.0
func (m *ValuesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ValuesRequest) MarshalVT ¶ added in v0.5.0
func (m *ValuesRequest) MarshalVT() (dAtA []byte, err error)
func (*ValuesRequest) ProtoMessage ¶
func (*ValuesRequest) ProtoMessage()
func (*ValuesRequest) ProtoReflect ¶
func (x *ValuesRequest) ProtoReflect() protoreflect.Message
func (*ValuesRequest) Reset ¶
func (x *ValuesRequest) Reset()
func (*ValuesRequest) SizeVT ¶ added in v0.5.0
func (m *ValuesRequest) SizeVT() (n int)
func (*ValuesRequest) String ¶
func (x *ValuesRequest) String() string
func (*ValuesRequest) UnmarshalVT ¶ added in v0.5.0
func (m *ValuesRequest) UnmarshalVT(dAtA []byte) error
type ValuesResponse ¶
type ValuesResponse struct { // label_values are the set of matching label values LabelValues []string `protobuf:"bytes,1,rep,name=label_values,json=labelValues,proto3" json:"label_values,omitempty"` // warnings is unimplemented Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"` // contains filtered or unexported fields }
ValuesResponse are the set of matching values
func (*ValuesResponse) Descriptor
deprecated
func (*ValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValuesResponse.ProtoReflect.Descriptor instead.
func (*ValuesResponse) GetLabelValues ¶
func (x *ValuesResponse) GetLabelValues() []string
func (*ValuesResponse) GetWarnings ¶
func (x *ValuesResponse) GetWarnings() []string
func (*ValuesResponse) MarshalToSizedBufferVT ¶ added in v0.5.0
func (m *ValuesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ValuesResponse) MarshalToVT ¶ added in v0.5.0
func (m *ValuesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ValuesResponse) MarshalVT ¶ added in v0.5.0
func (m *ValuesResponse) MarshalVT() (dAtA []byte, err error)
func (*ValuesResponse) ProtoMessage ¶
func (*ValuesResponse) ProtoMessage()
func (*ValuesResponse) ProtoReflect ¶
func (x *ValuesResponse) ProtoReflect() protoreflect.Message
func (*ValuesResponse) Reset ¶
func (x *ValuesResponse) Reset()
func (*ValuesResponse) SizeVT ¶ added in v0.5.0
func (m *ValuesResponse) SizeVT() (n int)
func (*ValuesResponse) String ¶
func (x *ValuesResponse) String() string
func (*ValuesResponse) UnmarshalVT ¶ added in v0.5.0
func (m *ValuesResponse) UnmarshalVT(dAtA []byte) error