querierv1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 18 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProfileFormat_name = map[int32]string{
		0: "PROFILE_FORMAT_UNSPECIFIED",
		1: "PROFILE_FORMAT_FLAMEGRAPH",
		2: "PROFILE_FORMAT_TREE",
		3: "PROFILE_FORMAT_DOT",
		4: "PROFILE_FORMAT_PPROF",
	}
	ProfileFormat_value = map[string]int32{
		"PROFILE_FORMAT_UNSPECIFIED": 0,
		"PROFILE_FORMAT_FLAMEGRAPH":  1,
		"PROFILE_FORMAT_TREE":        2,
		"PROFILE_FORMAT_DOT":         3,
		"PROFILE_FORMAT_PPROF":       4,
	}
)

Enum value maps for ProfileFormat.

View Source
var (
	AsyncQueryType_name = map[int32]string{
		0: "ASYNC_QUERY_TYPE_DISABLED",
		1: "ASYNC_QUERY_TYPE_FORCE",
	}
	AsyncQueryType_value = map[string]int32{
		"ASYNC_QUERY_TYPE_DISABLED": 0,
		"ASYNC_QUERY_TYPE_FORCE":    1,
	}
)

Enum value maps for AsyncQueryType.

View Source
var (
	AsyncQueryStatus_name = map[int32]string{
		0: "ASYNC_QUERY_STATUS_UNKNOWN",
		1: "ASYNC_QUERY_STATUS_IN_PROGRESS",
		2: "ASYNC_QUERY_STATUS_SUCCESS",
		3: "ASYNC_QUERY_STATUS_FAILURE",
	}
	AsyncQueryStatus_value = map[string]int32{
		"ASYNC_QUERY_STATUS_UNKNOWN":     0,
		"ASYNC_QUERY_STATUS_IN_PROGRESS": 1,
		"ASYNC_QUERY_STATUS_SUCCESS":     2,
		"ASYNC_QUERY_STATUS_FAILURE":     3,
	}
)

Enum value maps for AsyncQueryStatus.

View Source
var (
	HeatmapQueryType_name = map[int32]string{
		0: "HEATMAP_QUERY_TYPE_UNSPECIFIED",
		1: "HEATMAP_QUERY_TYPE_INDIVIDUAL",
		2: "HEATMAP_QUERY_TYPE_SPAN",
	}
	HeatmapQueryType_value = map[string]int32{
		"HEATMAP_QUERY_TYPE_UNSPECIFIED": 0,
		"HEATMAP_QUERY_TYPE_INDIVIDUAL":  1,
		"HEATMAP_QUERY_TYPE_SPAN":        2,
	}
)

Enum value maps for HeatmapQueryType.

View Source
var File_querier_v1_querier_proto protoreflect.FileDescriptor
View Source
var QuerierService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "querier.v1.QuerierService",
	HandlerType: (*QuerierServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ProfileTypes",
			Handler:    _QuerierService_ProfileTypes_Handler,
		},
		{
			MethodName: "LabelValues",
			Handler:    _QuerierService_LabelValues_Handler,
		},
		{
			MethodName: "LabelNames",
			Handler:    _QuerierService_LabelNames_Handler,
		},
		{
			MethodName: "Series",
			Handler:    _QuerierService_Series_Handler,
		},
		{
			MethodName: "SelectMergeStacktraces",
			Handler:    _QuerierService_SelectMergeStacktraces_Handler,
		},
		{
			MethodName: "SelectMergeSpanProfile",
			Handler:    _QuerierService_SelectMergeSpanProfile_Handler,
		},
		{
			MethodName: "SelectMergeProfile",
			Handler:    _QuerierService_SelectMergeProfile_Handler,
		},
		{
			MethodName: "SelectSeries",
			Handler:    _QuerierService_SelectSeries_Handler,
		},
		{
			MethodName: "SelectHeatmap",
			Handler:    _QuerierService_SelectHeatmap_Handler,
		},
		{
			MethodName: "Diff",
			Handler:    _QuerierService_Diff_Handler,
		},
		{
			MethodName: "GetProfileStats",
			Handler:    _QuerierService_GetProfileStats_Handler,
		},
		{
			MethodName: "AnalyzeQuery",
			Handler:    _QuerierService_AnalyzeQuery_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "querier/v1/querier.proto",
}

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

Functions

func RegisterQuerierServiceServer

func RegisterQuerierServiceServer(s grpc.ServiceRegistrar, srv QuerierServiceServer)

Types

type AnalyzeQueryRequest added in v1.0.0

type AnalyzeQueryRequest struct {
	Start int64  `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	End   int64  `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
	Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalyzeQueryRequest) CloneMessageVT added in v1.0.0

func (m *AnalyzeQueryRequest) CloneMessageVT() proto.Message

func (*AnalyzeQueryRequest) CloneVT added in v1.0.0

func (*AnalyzeQueryRequest) Descriptor deprecated added in v1.0.0

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

Deprecated: Use AnalyzeQueryRequest.ProtoReflect.Descriptor instead.

func (*AnalyzeQueryRequest) EqualMessageVT added in v1.0.0

func (this *AnalyzeQueryRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*AnalyzeQueryRequest) EqualVT added in v1.0.0

func (this *AnalyzeQueryRequest) EqualVT(that *AnalyzeQueryRequest) bool

func (*AnalyzeQueryRequest) GetEnd added in v1.0.0

func (x *AnalyzeQueryRequest) GetEnd() int64

func (*AnalyzeQueryRequest) GetQuery added in v1.0.0

func (x *AnalyzeQueryRequest) GetQuery() string

func (*AnalyzeQueryRequest) GetStart added in v1.0.0

func (x *AnalyzeQueryRequest) GetStart() int64

func (*AnalyzeQueryRequest) MarshalToSizedBufferVT added in v1.0.0

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

func (*AnalyzeQueryRequest) MarshalToVT added in v1.0.0

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

func (*AnalyzeQueryRequest) MarshalVT added in v1.0.0

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

func (*AnalyzeQueryRequest) ProtoMessage added in v1.0.0

func (*AnalyzeQueryRequest) ProtoMessage()

func (*AnalyzeQueryRequest) ProtoReflect added in v1.0.0

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

func (*AnalyzeQueryRequest) Reset added in v1.0.0

func (x *AnalyzeQueryRequest) Reset()

func (*AnalyzeQueryRequest) SizeVT added in v1.0.0

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

func (*AnalyzeQueryRequest) String added in v1.0.0

func (x *AnalyzeQueryRequest) String() string

func (*AnalyzeQueryRequest) UnmarshalVT added in v1.0.0

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

type AnalyzeQueryResponse added in v1.0.0

type AnalyzeQueryResponse struct {
	QueryScopes []*QueryScope `protobuf:"bytes,1,rep,name=query_scopes,json=queryScopes,proto3" json:"query_scopes,omitempty"` // detailed view of what the query will require
	QueryImpact *QueryImpact  `protobuf:"bytes,2,opt,name=query_impact,json=queryImpact,proto3" json:"query_impact,omitempty"` // summary of the query impact / performance
	// contains filtered or unexported fields
}

func (*AnalyzeQueryResponse) CloneMessageVT added in v1.0.0

func (m *AnalyzeQueryResponse) CloneMessageVT() proto.Message

func (*AnalyzeQueryResponse) CloneVT added in v1.0.0

func (*AnalyzeQueryResponse) Descriptor deprecated added in v1.0.0

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

Deprecated: Use AnalyzeQueryResponse.ProtoReflect.Descriptor instead.

func (*AnalyzeQueryResponse) EqualMessageVT added in v1.0.0

func (this *AnalyzeQueryResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*AnalyzeQueryResponse) EqualVT added in v1.0.0

func (this *AnalyzeQueryResponse) EqualVT(that *AnalyzeQueryResponse) bool

func (*AnalyzeQueryResponse) GetQueryImpact added in v1.0.0

func (x *AnalyzeQueryResponse) GetQueryImpact() *QueryImpact

func (*AnalyzeQueryResponse) GetQueryScopes added in v1.0.0

func (x *AnalyzeQueryResponse) GetQueryScopes() []*QueryScope

func (*AnalyzeQueryResponse) MarshalToSizedBufferVT added in v1.0.0

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

func (*AnalyzeQueryResponse) MarshalToVT added in v1.0.0

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

func (*AnalyzeQueryResponse) MarshalVT added in v1.0.0

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

func (*AnalyzeQueryResponse) ProtoMessage added in v1.0.0

func (*AnalyzeQueryResponse) ProtoMessage()

func (*AnalyzeQueryResponse) ProtoReflect added in v1.0.0

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

func (*AnalyzeQueryResponse) Reset added in v1.0.0

func (x *AnalyzeQueryResponse) Reset()

func (*AnalyzeQueryResponse) SizeVT added in v1.0.0

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

func (*AnalyzeQueryResponse) String added in v1.0.0

func (x *AnalyzeQueryResponse) String() string

func (*AnalyzeQueryResponse) UnmarshalVT added in v1.0.0

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

type AsyncQueryRequest added in v1.6.0

type AsyncQueryRequest struct {

	// If set, this is a polling request.
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Sets the kind of async query.
	Type AsyncQueryType `protobuf:"varint,2,opt,name=type,proto3,enum=querier.v1.AsyncQueryType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*AsyncQueryRequest) CloneMessageVT added in v1.6.0

func (m *AsyncQueryRequest) CloneMessageVT() proto.Message

func (*AsyncQueryRequest) CloneVT added in v1.6.0

func (m *AsyncQueryRequest) CloneVT() *AsyncQueryRequest

func (*AsyncQueryRequest) Descriptor deprecated added in v1.6.0

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

Deprecated: Use AsyncQueryRequest.ProtoReflect.Descriptor instead.

func (*AsyncQueryRequest) EqualMessageVT added in v1.6.0

func (this *AsyncQueryRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*AsyncQueryRequest) EqualVT added in v1.6.0

func (this *AsyncQueryRequest) EqualVT(that *AsyncQueryRequest) bool

func (*AsyncQueryRequest) GetRequestId added in v1.6.0

func (x *AsyncQueryRequest) GetRequestId() string

func (*AsyncQueryRequest) GetType added in v1.6.0

func (x *AsyncQueryRequest) GetType() AsyncQueryType

func (*AsyncQueryRequest) MarshalToSizedBufferVT added in v1.6.0

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

func (*AsyncQueryRequest) MarshalToVT added in v1.6.0

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

func (*AsyncQueryRequest) MarshalVT added in v1.6.0

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

func (*AsyncQueryRequest) ProtoMessage added in v1.6.0

func (*AsyncQueryRequest) ProtoMessage()

func (*AsyncQueryRequest) ProtoReflect added in v1.6.0

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

func (*AsyncQueryRequest) Reset added in v1.6.0

func (x *AsyncQueryRequest) Reset()

func (*AsyncQueryRequest) SizeVT added in v1.6.0

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

func (*AsyncQueryRequest) String added in v1.6.0

func (x *AsyncQueryRequest) String() string

func (*AsyncQueryRequest) UnmarshalVT added in v1.6.0

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

type AsyncQueryResponse added in v1.6.0

type AsyncQueryResponse struct {

	// Id of the async query.
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Status of the query: unknown, in_progress, success, failed
	Status AsyncQueryStatus `protobuf:"varint,2,opt,name=status,proto3,enum=querier.v1.AsyncQueryStatus" json:"status,omitempty"`
	// Populated on FAILURE.
	ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*AsyncQueryResponse) CloneMessageVT added in v1.6.0

func (m *AsyncQueryResponse) CloneMessageVT() proto.Message

func (*AsyncQueryResponse) CloneVT added in v1.6.0

func (m *AsyncQueryResponse) CloneVT() *AsyncQueryResponse

func (*AsyncQueryResponse) Descriptor deprecated added in v1.6.0

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

Deprecated: Use AsyncQueryResponse.ProtoReflect.Descriptor instead.

func (*AsyncQueryResponse) EqualMessageVT added in v1.6.0

func (this *AsyncQueryResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*AsyncQueryResponse) EqualVT added in v1.6.0

func (this *AsyncQueryResponse) EqualVT(that *AsyncQueryResponse) bool

func (*AsyncQueryResponse) GetErrorMessage added in v1.6.0

func (x *AsyncQueryResponse) GetErrorMessage() string

func (*AsyncQueryResponse) GetRequestId added in v1.6.0

func (x *AsyncQueryResponse) GetRequestId() string

func (*AsyncQueryResponse) GetStatus added in v1.6.0

func (x *AsyncQueryResponse) GetStatus() AsyncQueryStatus

func (*AsyncQueryResponse) MarshalToSizedBufferVT added in v1.6.0

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

func (*AsyncQueryResponse) MarshalToVT added in v1.6.0

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

func (*AsyncQueryResponse) MarshalVT added in v1.6.0

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

func (*AsyncQueryResponse) ProtoMessage added in v1.6.0

func (*AsyncQueryResponse) ProtoMessage()

func (*AsyncQueryResponse) ProtoReflect added in v1.6.0

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

func (*AsyncQueryResponse) Reset added in v1.6.0

func (x *AsyncQueryResponse) Reset()

func (*AsyncQueryResponse) SizeVT added in v1.6.0

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

func (*AsyncQueryResponse) String added in v1.6.0

func (x *AsyncQueryResponse) String() string

func (*AsyncQueryResponse) UnmarshalVT added in v1.6.0

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

type AsyncQueryStatus added in v1.6.0

type AsyncQueryStatus int32
const (
	AsyncQueryStatus_ASYNC_QUERY_STATUS_UNKNOWN     AsyncQueryStatus = 0
	AsyncQueryStatus_ASYNC_QUERY_STATUS_IN_PROGRESS AsyncQueryStatus = 1
	AsyncQueryStatus_ASYNC_QUERY_STATUS_SUCCESS     AsyncQueryStatus = 2
	AsyncQueryStatus_ASYNC_QUERY_STATUS_FAILURE     AsyncQueryStatus = 3
)

func (AsyncQueryStatus) Descriptor added in v1.6.0

func (AsyncQueryStatus) Enum added in v1.6.0

func (AsyncQueryStatus) EnumDescriptor deprecated added in v1.6.0

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

Deprecated: Use AsyncQueryStatus.Descriptor instead.

func (AsyncQueryStatus) Number added in v1.6.0

func (AsyncQueryStatus) String added in v1.6.0

func (x AsyncQueryStatus) String() string

func (AsyncQueryStatus) Type added in v1.6.0

type AsyncQueryType added in v1.6.0

type AsyncQueryType int32
const (
	// The query should not be async.
	AsyncQueryType_ASYNC_QUERY_TYPE_DISABLED AsyncQueryType = 0
	// The query must be async.
	AsyncQueryType_ASYNC_QUERY_TYPE_FORCE AsyncQueryType = 1
)

func (AsyncQueryType) Descriptor added in v1.6.0

func (AsyncQueryType) Enum added in v1.6.0

func (x AsyncQueryType) Enum() *AsyncQueryType

func (AsyncQueryType) EnumDescriptor deprecated added in v1.6.0

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

Deprecated: Use AsyncQueryType.Descriptor instead.

func (AsyncQueryType) Number added in v1.6.0

func (AsyncQueryType) String added in v1.6.0

func (x AsyncQueryType) String() string

func (AsyncQueryType) Type added in v1.6.0

type DiffRequest

type DiffRequest struct {

	// The format of each request is ignored; diff queries always compare trees.
	Left  *SelectMergeStacktracesRequest `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
	Right *SelectMergeStacktracesRequest `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"`
	// contains filtered or unexported fields
}

func (*DiffRequest) CloneMessageVT

func (m *DiffRequest) CloneMessageVT() proto.Message

func (*DiffRequest) CloneVT

func (m *DiffRequest) CloneVT() *DiffRequest

func (*DiffRequest) Descriptor deprecated

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

Deprecated: Use DiffRequest.ProtoReflect.Descriptor instead.

func (*DiffRequest) EqualMessageVT added in v0.4.0

func (this *DiffRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*DiffRequest) EqualVT added in v0.4.0

func (this *DiffRequest) EqualVT(that *DiffRequest) bool

func (*DiffRequest) GetLeft

func (*DiffRequest) GetRight

func (*DiffRequest) MarshalToSizedBufferVT

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

func (*DiffRequest) MarshalToVT

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

func (*DiffRequest) MarshalVT

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

func (*DiffRequest) ProtoMessage

func (*DiffRequest) ProtoMessage()

func (*DiffRequest) ProtoReflect

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

func (*DiffRequest) Reset

func (x *DiffRequest) Reset()

func (*DiffRequest) SizeVT

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

func (*DiffRequest) String

func (x *DiffRequest) String() string

func (*DiffRequest) UnmarshalVT

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

type DiffResponse

type DiffResponse struct {
	Flamegraph *FlameGraphDiff `protobuf:"bytes,1,opt,name=flamegraph,proto3" json:"flamegraph,omitempty"`
	// contains filtered or unexported fields
}

func (*DiffResponse) CloneMessageVT

func (m *DiffResponse) CloneMessageVT() proto.Message

func (*DiffResponse) CloneVT

func (m *DiffResponse) CloneVT() *DiffResponse

func (*DiffResponse) Descriptor deprecated

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

Deprecated: Use DiffResponse.ProtoReflect.Descriptor instead.

func (*DiffResponse) EqualMessageVT added in v0.4.0

func (this *DiffResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*DiffResponse) EqualVT added in v0.4.0

func (this *DiffResponse) EqualVT(that *DiffResponse) bool

func (*DiffResponse) GetFlamegraph

func (x *DiffResponse) GetFlamegraph() *FlameGraphDiff

func (*DiffResponse) MarshalToSizedBufferVT

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

func (*DiffResponse) MarshalToVT

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

func (*DiffResponse) MarshalVT

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

func (*DiffResponse) ProtoMessage

func (*DiffResponse) ProtoMessage()

func (*DiffResponse) ProtoReflect

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

func (*DiffResponse) Reset

func (x *DiffResponse) Reset()

func (*DiffResponse) SizeVT

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

func (*DiffResponse) String

func (x *DiffResponse) String() string

func (*DiffResponse) UnmarshalVT

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

type FlameGraph

type FlameGraph struct {
	Names   []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	Levels  []*Level `protobuf:"bytes,2,rep,name=levels,proto3" json:"levels,omitempty"`
	Total   int64    `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	MaxSelf int64    `protobuf:"varint,4,opt,name=max_self,json=maxSelf,proto3" json:"max_self,omitempty"`
	// contains filtered or unexported fields
}

func (*FlameGraph) CloneMessageVT

func (m *FlameGraph) CloneMessageVT() proto.Message

func (*FlameGraph) CloneVT

func (m *FlameGraph) CloneVT() *FlameGraph

func (*FlameGraph) Descriptor deprecated

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

Deprecated: Use FlameGraph.ProtoReflect.Descriptor instead.

func (*FlameGraph) EqualMessageVT added in v0.4.0

func (this *FlameGraph) EqualMessageVT(thatMsg proto.Message) bool

func (*FlameGraph) EqualVT added in v0.4.0

func (this *FlameGraph) EqualVT(that *FlameGraph) bool

func (*FlameGraph) GetLevels

func (x *FlameGraph) GetLevels() []*Level

func (*FlameGraph) GetMaxSelf

func (x *FlameGraph) GetMaxSelf() int64

func (*FlameGraph) GetNames

func (x *FlameGraph) GetNames() []string

func (*FlameGraph) GetTotal

func (x *FlameGraph) GetTotal() int64

func (*FlameGraph) MarshalToSizedBufferVT

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

func (*FlameGraph) MarshalToVT

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

func (*FlameGraph) MarshalVT

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

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

func (*FlameGraph) String

func (x *FlameGraph) String() string

func (*FlameGraph) UnmarshalVT

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

type FlameGraphDiff

type FlameGraphDiff struct {
	Names      []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	Levels     []*Level `protobuf:"bytes,2,rep,name=levels,proto3" json:"levels,omitempty"`
	Total      int64    `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	MaxSelf    int64    `protobuf:"varint,4,opt,name=max_self,json=maxSelf,proto3" json:"max_self,omitempty"`
	LeftTicks  int64    `protobuf:"varint,5,opt,name=leftTicks,proto3" json:"leftTicks,omitempty"`
	RightTicks int64    `protobuf:"varint,6,opt,name=rightTicks,proto3" json:"rightTicks,omitempty"`
	// contains filtered or unexported fields
}

func (*FlameGraphDiff) CloneMessageVT

func (m *FlameGraphDiff) CloneMessageVT() proto.Message

func (*FlameGraphDiff) CloneVT

func (m *FlameGraphDiff) CloneVT() *FlameGraphDiff

func (*FlameGraphDiff) Descriptor deprecated

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

Deprecated: Use FlameGraphDiff.ProtoReflect.Descriptor instead.

func (*FlameGraphDiff) EqualMessageVT added in v0.4.0

func (this *FlameGraphDiff) EqualMessageVT(thatMsg proto.Message) bool

func (*FlameGraphDiff) EqualVT added in v0.4.0

func (this *FlameGraphDiff) EqualVT(that *FlameGraphDiff) bool

func (*FlameGraphDiff) GetLeftTicks

func (x *FlameGraphDiff) GetLeftTicks() int64

func (*FlameGraphDiff) GetLevels

func (x *FlameGraphDiff) GetLevels() []*Level

func (*FlameGraphDiff) GetMaxSelf

func (x *FlameGraphDiff) GetMaxSelf() int64

func (*FlameGraphDiff) GetNames

func (x *FlameGraphDiff) GetNames() []string

func (*FlameGraphDiff) GetRightTicks

func (x *FlameGraphDiff) GetRightTicks() int64

func (*FlameGraphDiff) GetTotal

func (x *FlameGraphDiff) GetTotal() int64

func (*FlameGraphDiff) MarshalToSizedBufferVT

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

func (*FlameGraphDiff) MarshalToVT

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

func (*FlameGraphDiff) MarshalVT

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

func (*FlameGraphDiff) ProtoMessage

func (*FlameGraphDiff) ProtoMessage()

func (*FlameGraphDiff) ProtoReflect

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

func (*FlameGraphDiff) Reset

func (x *FlameGraphDiff) Reset()

func (*FlameGraphDiff) SizeVT

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

func (*FlameGraphDiff) String

func (x *FlameGraphDiff) String() string

func (*FlameGraphDiff) UnmarshalVT

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

type HeatmapQueryType added in v1.3.0

type HeatmapQueryType int32
const (
	HeatmapQueryType_HEATMAP_QUERY_TYPE_UNSPECIFIED HeatmapQueryType = 0
	HeatmapQueryType_HEATMAP_QUERY_TYPE_INDIVIDUAL  HeatmapQueryType = 1
	HeatmapQueryType_HEATMAP_QUERY_TYPE_SPAN        HeatmapQueryType = 2
)

func (HeatmapQueryType) Descriptor added in v1.3.0

func (HeatmapQueryType) Enum added in v1.3.0

func (HeatmapQueryType) EnumDescriptor deprecated added in v1.3.0

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

Deprecated: Use HeatmapQueryType.Descriptor instead.

func (HeatmapQueryType) Number added in v1.3.0

func (HeatmapQueryType) String added in v1.3.0

func (x HeatmapQueryType) String() string

func (HeatmapQueryType) Type added in v1.3.0

type Level

type Level struct {
	Values []int64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Level) CloneMessageVT

func (m *Level) CloneMessageVT() proto.Message

func (*Level) CloneVT

func (m *Level) CloneVT() *Level

func (*Level) Descriptor deprecated

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

Deprecated: Use Level.ProtoReflect.Descriptor instead.

func (*Level) EqualMessageVT added in v0.4.0

func (this *Level) EqualMessageVT(thatMsg proto.Message) bool

func (*Level) EqualVT added in v0.4.0

func (this *Level) EqualVT(that *Level) bool

func (*Level) GetValues

func (x *Level) GetValues() []int64

func (*Level) MarshalToSizedBufferVT

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

func (*Level) MarshalToVT

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

func (*Level) MarshalVT

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

func (*Level) ProtoMessage

func (*Level) ProtoMessage()

func (*Level) ProtoReflect

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

func (*Level) Reset

func (x *Level) Reset()

func (*Level) SizeVT

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

func (*Level) String

func (x *Level) String() string

func (*Level) UnmarshalVT

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

type PprofProfile added in v1.6.0

type PprofProfile struct {
	Profile *v11.Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

PprofProfile contains pprof output and related response metadata.

func (*PprofProfile) CloneMessageVT added in v1.6.0

func (m *PprofProfile) CloneMessageVT() proto.Message

func (*PprofProfile) CloneVT added in v1.6.0

func (m *PprofProfile) CloneVT() *PprofProfile

func (*PprofProfile) Descriptor deprecated added in v1.6.0

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

Deprecated: Use PprofProfile.ProtoReflect.Descriptor instead.

func (*PprofProfile) EqualMessageVT added in v1.6.0

func (this *PprofProfile) EqualMessageVT(thatMsg proto.Message) bool

func (*PprofProfile) EqualVT added in v1.6.0

func (this *PprofProfile) EqualVT(that *PprofProfile) bool

func (*PprofProfile) GetProfile added in v1.6.0

func (x *PprofProfile) GetProfile() *v11.Profile

func (*PprofProfile) MarshalToSizedBufferVT added in v1.6.0

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

func (*PprofProfile) MarshalToVT added in v1.6.0

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

func (*PprofProfile) MarshalVT added in v1.6.0

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

func (*PprofProfile) ProtoMessage added in v1.6.0

func (*PprofProfile) ProtoMessage()

func (*PprofProfile) ProtoReflect added in v1.6.0

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

func (*PprofProfile) Reset added in v1.6.0

func (x *PprofProfile) Reset()

func (*PprofProfile) SizeVT added in v1.6.0

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

func (*PprofProfile) String added in v1.6.0

func (x *PprofProfile) String() string

func (*PprofProfile) UnmarshalVT added in v1.6.0

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

type ProfileFormat added in v1.0.0

type ProfileFormat int32
const (
	// Equivalent to PROFILE_FORMAT_FLAMEGRAPH. Preserved for backward
	// compatibility.
	ProfileFormat_PROFILE_FORMAT_UNSPECIFIED ProfileFormat = 0
	// Return a Flamebearer-compatible, single-profile flame graph. Samples
	// sharing the same function-name call stack are aggregated into the names
	// and levels representation used by the Pyroscope flame graph renderer.
	// Format: https://github.com/grafana/pyroscope/blob/main/pkg/og/structs/flamebearer/flamebearer.go
	ProfileFormat_PROFILE_FORMAT_FLAMEGRAPH ProfileFormat = 1
	// Return a compact, function-name-only Pyroscope tree serialization in
	// SelectMergeStacktracesResponse.tree.
	ProfileFormat_PROFILE_FORMAT_TREE ProfileFormat = 2
	// Return a Graphviz DOT directed graph. Nodes represent functions and edges
	// represent caller-callee relationships, annotated with aggregated sample
	// values. The resulting text can be rendered by Graphviz-compatible tools.
	ProfileFormat_PROFILE_FORMAT_DOT ProfileFormat = 3
	// Return a pprof profile, including available mappings, locations, filenames,
	// and line numbers, in SelectMergeStacktracesResponse.pprof.
	ProfileFormat_PROFILE_FORMAT_PPROF ProfileFormat = 4
)

func (ProfileFormat) Descriptor added in v1.0.0

func (ProfileFormat) Enum added in v1.0.0

func (x ProfileFormat) Enum() *ProfileFormat

func (ProfileFormat) EnumDescriptor deprecated added in v1.0.0

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

Deprecated: Use ProfileFormat.Descriptor instead.

func (ProfileFormat) Number added in v1.0.0

func (ProfileFormat) String added in v1.0.0

func (x ProfileFormat) String() string

func (ProfileFormat) Type added in v1.0.0

type ProfileTypesRequest

type ProfileTypesRequest struct {

	// Milliseconds since epoch. If missing or zero, only the ingesters will be
	// queried.
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// Milliseconds since epoch. If missing or zero, only the ingesters will be
	// queried.
	End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileTypesRequest) CloneMessageVT

func (m *ProfileTypesRequest) CloneMessageVT() proto.Message

func (*ProfileTypesRequest) CloneVT

func (*ProfileTypesRequest) Descriptor deprecated

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

Deprecated: Use ProfileTypesRequest.ProtoReflect.Descriptor instead.

func (*ProfileTypesRequest) EqualMessageVT added in v0.4.0

func (this *ProfileTypesRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*ProfileTypesRequest) EqualVT added in v0.4.0

func (this *ProfileTypesRequest) EqualVT(that *ProfileTypesRequest) bool

func (*ProfileTypesRequest) GetEnd added in v0.3.0

func (x *ProfileTypesRequest) GetEnd() int64

func (*ProfileTypesRequest) GetStart added in v0.3.0

func (x *ProfileTypesRequest) GetStart() int64

func (*ProfileTypesRequest) MarshalToSizedBufferVT

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

func (*ProfileTypesRequest) MarshalToVT

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

func (*ProfileTypesRequest) MarshalVT

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

func (*ProfileTypesRequest) ProtoMessage

func (*ProfileTypesRequest) ProtoMessage()

func (*ProfileTypesRequest) ProtoReflect

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

func (*ProfileTypesRequest) Reset

func (x *ProfileTypesRequest) Reset()

func (*ProfileTypesRequest) SizeVT

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

func (*ProfileTypesRequest) String

func (x *ProfileTypesRequest) String() string

func (*ProfileTypesRequest) UnmarshalVT

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

type ProfileTypesResponse

type ProfileTypesResponse struct {
	ProfileTypes []*v1.ProfileType `protobuf:"bytes,1,rep,name=profile_types,json=profileTypes,proto3" json:"profile_types,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileTypesResponse) CloneMessageVT

func (m *ProfileTypesResponse) CloneMessageVT() proto.Message

func (*ProfileTypesResponse) CloneVT

func (*ProfileTypesResponse) Descriptor deprecated

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

Deprecated: Use ProfileTypesResponse.ProtoReflect.Descriptor instead.

func (*ProfileTypesResponse) EqualMessageVT added in v0.4.0

func (this *ProfileTypesResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*ProfileTypesResponse) EqualVT added in v0.4.0

func (this *ProfileTypesResponse) EqualVT(that *ProfileTypesResponse) bool

func (*ProfileTypesResponse) GetProfileTypes

func (x *ProfileTypesResponse) GetProfileTypes() []*v1.ProfileType

func (*ProfileTypesResponse) MarshalToSizedBufferVT

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

func (*ProfileTypesResponse) MarshalToVT

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

func (*ProfileTypesResponse) MarshalVT

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

func (*ProfileTypesResponse) ProtoMessage

func (*ProfileTypesResponse) ProtoMessage()

func (*ProfileTypesResponse) ProtoReflect

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

func (*ProfileTypesResponse) Reset

func (x *ProfileTypesResponse) Reset()

func (*ProfileTypesResponse) SizeVT

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

func (*ProfileTypesResponse) String

func (x *ProfileTypesResponse) String() string

func (*ProfileTypesResponse) UnmarshalVT

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

type QuerierServiceClient

type QuerierServiceClient interface {
	// ProfileType returns a list of the existing profile types.
	ProfileTypes(ctx context.Context, in *ProfileTypesRequest, opts ...grpc.CallOption) (*ProfileTypesResponse, error)
	// LabelValues returns the existing label values for the provided label names.
	LabelValues(ctx context.Context, in *v1.LabelValuesRequest, opts ...grpc.CallOption) (*v1.LabelValuesResponse, error)
	// LabelNames returns a list of the existing label names.
	LabelNames(ctx context.Context, in *v1.LabelNamesRequest, opts ...grpc.CallOption) (*v1.LabelNamesResponse, error)
	// Series returns profiles series matching the request. A series is a unique
	// label set.
	Series(ctx context.Context, in *SeriesRequest, opts ...grpc.CallOption) (*SeriesResponse, error)
	// SelectMergeStacktraces returns matching profiles aggregated in a flamegraph
	// format. It will combine samples from within the same callstack, with each
	// element being grouped by its function name.
	SelectMergeStacktraces(ctx context.Context, in *SelectMergeStacktracesRequest, opts ...grpc.CallOption) (*SelectMergeStacktracesResponse, error)
	// Deprecated: Use SelectMergeStacktraces with span_selector instead.
	// This RPC will remain supported in querier.v1 for backward compatibility;
	// future breaking API changes may be introduced in querier.v2.
	// SelectMergeSpanProfile returns matching profiles aggregated in a flamegraph
	// format. It will combine samples from within the same callstack, with each
	// element being grouped by its function name.
	SelectMergeSpanProfile(ctx context.Context, in *SelectMergeSpanProfileRequest, opts ...grpc.CallOption) (*SelectMergeSpanProfileResponse, error)
	// Deprecated: Use SelectMergeStacktraces with PROFILE_FORMAT_PPROF instead.
	// This RPC will remain supported in querier.v1 for backward compatibility;
	// future breaking API changes may be introduced in querier.v2.
	// SelectMergeProfile returns matching profiles aggregated in pprof format. It
	// will contain all information stored (so including filenames and line
	// number, if ingested).
	SelectMergeProfile(ctx context.Context, in *SelectMergeProfileRequest, opts ...grpc.CallOption) (*v11.Profile, error)
	// SelectSeries returns a time series for the total sum of the requested
	// profiles.
	SelectSeries(ctx context.Context, in *SelectSeriesRequest, opts ...grpc.CallOption) (*SelectSeriesResponse, error)
	// SelectHeatmap returns a heatmap visualization for the requested profiles.
	// Note: This endpoint is only available in the v2 storage layer
	SelectHeatmap(ctx context.Context, in *SelectHeatmapRequest, opts ...grpc.CallOption) (*SelectHeatmapResponse, error)
	// Diff returns a diff of two profiles
	Diff(ctx context.Context, in *DiffRequest, opts ...grpc.CallOption) (*DiffResponse, error)
	// GetProfileStats returns profile stats for the current tenant.
	GetProfileStats(ctx context.Context, in *v1.GetProfileStatsRequest, opts ...grpc.CallOption) (*v1.GetProfileStatsResponse, error)
	AnalyzeQuery(ctx context.Context, in *AnalyzeQueryRequest, opts ...grpc.CallOption) (*AnalyzeQueryResponse, error)
}

QuerierServiceClient is the client API for QuerierService service.

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

type QuerierServiceServer

type QuerierServiceServer interface {
	// ProfileType returns a list of the existing profile types.
	ProfileTypes(context.Context, *ProfileTypesRequest) (*ProfileTypesResponse, error)
	// LabelValues returns the existing label values for the provided label names.
	LabelValues(context.Context, *v1.LabelValuesRequest) (*v1.LabelValuesResponse, error)
	// LabelNames returns a list of the existing label names.
	LabelNames(context.Context, *v1.LabelNamesRequest) (*v1.LabelNamesResponse, error)
	// Series returns profiles series matching the request. A series is a unique
	// label set.
	Series(context.Context, *SeriesRequest) (*SeriesResponse, error)
	// SelectMergeStacktraces returns matching profiles aggregated in a flamegraph
	// format. It will combine samples from within the same callstack, with each
	// element being grouped by its function name.
	SelectMergeStacktraces(context.Context, *SelectMergeStacktracesRequest) (*SelectMergeStacktracesResponse, error)
	// Deprecated: Use SelectMergeStacktraces with span_selector instead.
	// This RPC will remain supported in querier.v1 for backward compatibility;
	// future breaking API changes may be introduced in querier.v2.
	// SelectMergeSpanProfile returns matching profiles aggregated in a flamegraph
	// format. It will combine samples from within the same callstack, with each
	// element being grouped by its function name.
	SelectMergeSpanProfile(context.Context, *SelectMergeSpanProfileRequest) (*SelectMergeSpanProfileResponse, error)
	// Deprecated: Use SelectMergeStacktraces with PROFILE_FORMAT_PPROF instead.
	// This RPC will remain supported in querier.v1 for backward compatibility;
	// future breaking API changes may be introduced in querier.v2.
	// SelectMergeProfile returns matching profiles aggregated in pprof format. It
	// will contain all information stored (so including filenames and line
	// number, if ingested).
	SelectMergeProfile(context.Context, *SelectMergeProfileRequest) (*v11.Profile, error)
	// SelectSeries returns a time series for the total sum of the requested
	// profiles.
	SelectSeries(context.Context, *SelectSeriesRequest) (*SelectSeriesResponse, error)
	// SelectHeatmap returns a heatmap visualization for the requested profiles.
	// Note: This endpoint is only available in the v2 storage layer
	SelectHeatmap(context.Context, *SelectHeatmapRequest) (*SelectHeatmapResponse, error)
	// Diff returns a diff of two profiles
	Diff(context.Context, *DiffRequest) (*DiffResponse, error)
	// GetProfileStats returns profile stats for the current tenant.
	GetProfileStats(context.Context, *v1.GetProfileStatsRequest) (*v1.GetProfileStatsResponse, error)
	AnalyzeQuery(context.Context, *AnalyzeQueryRequest) (*AnalyzeQueryResponse, error)
	// contains filtered or unexported methods
}

QuerierServiceServer is the server API for QuerierService service. All implementations must embed UnimplementedQuerierServiceServer for forward compatibility

type QueryImpact added in v1.0.0

type QueryImpact struct {
	TotalBytesInTimeRange uint64 `` /* 131-byte string literal not displayed */
	TotalQueriedSeries    uint64 `protobuf:"varint,3,opt,name=total_queried_series,json=totalQueriedSeries,proto3" json:"total_queried_series,omitempty"`
	DeduplicationNeeded   bool   `protobuf:"varint,4,opt,name=deduplication_needed,json=deduplicationNeeded,proto3" json:"deduplication_needed,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryImpact) CloneMessageVT added in v1.0.0

func (m *QueryImpact) CloneMessageVT() proto.Message

func (*QueryImpact) CloneVT added in v1.0.0

func (m *QueryImpact) CloneVT() *QueryImpact

func (*QueryImpact) Descriptor deprecated added in v1.0.0

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

Deprecated: Use QueryImpact.ProtoReflect.Descriptor instead.

func (*QueryImpact) EqualMessageVT added in v1.0.0

func (this *QueryImpact) EqualMessageVT(thatMsg proto.Message) bool

func (*QueryImpact) EqualVT added in v1.0.0

func (this *QueryImpact) EqualVT(that *QueryImpact) bool

func (*QueryImpact) GetDeduplicationNeeded added in v1.0.0

func (x *QueryImpact) GetDeduplicationNeeded() bool

func (*QueryImpact) GetTotalBytesInTimeRange added in v1.0.0

func (x *QueryImpact) GetTotalBytesInTimeRange() uint64

func (*QueryImpact) GetTotalQueriedSeries added in v1.0.0

func (x *QueryImpact) GetTotalQueriedSeries() uint64

func (*QueryImpact) MarshalToSizedBufferVT added in v1.0.0

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

func (*QueryImpact) MarshalToVT added in v1.0.0

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

func (*QueryImpact) MarshalVT added in v1.0.0

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

func (*QueryImpact) ProtoMessage added in v1.0.0

func (*QueryImpact) ProtoMessage()

func (*QueryImpact) ProtoReflect added in v1.0.0

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

func (*QueryImpact) Reset added in v1.0.0

func (x *QueryImpact) Reset()

func (*QueryImpact) SizeVT added in v1.0.0

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

func (*QueryImpact) String added in v1.0.0

func (x *QueryImpact) String() string

func (*QueryImpact) UnmarshalVT added in v1.0.0

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

type QueryScope added in v1.0.0

type QueryScope struct {
	ComponentType string `protobuf:"bytes,1,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"` // a descriptive high level name of the component processing one part
	// of the query (e.g., "short term storage")
	ComponentCount uint64 `protobuf:"varint,2,opt,name=component_count,json=componentCount,proto3" json:"component_count,omitempty"` // how many components of this type will process
	BlockCount     uint64 `protobuf:"varint,3,opt,name=block_count,json=blockCount,proto3" json:"block_count,omitempty"`
	SeriesCount    uint64 `protobuf:"varint,4,opt,name=series_count,json=seriesCount,proto3" json:"series_count,omitempty"`
	ProfileCount   uint64 `protobuf:"varint,5,opt,name=profile_count,json=profileCount,proto3" json:"profile_count,omitempty"`
	SampleCount    uint64 `protobuf:"varint,6,opt,name=sample_count,json=sampleCount,proto3" json:"sample_count,omitempty"`
	IndexBytes     uint64 `protobuf:"varint,7,opt,name=index_bytes,json=indexBytes,proto3" json:"index_bytes,omitempty"`
	ProfileBytes   uint64 `protobuf:"varint,8,opt,name=profile_bytes,json=profileBytes,proto3" json:"profile_bytes,omitempty"`
	SymbolBytes    uint64 `protobuf:"varint,9,opt,name=symbol_bytes,json=symbolBytes,proto3" json:"symbol_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryScope) CloneMessageVT added in v1.0.0

func (m *QueryScope) CloneMessageVT() proto.Message

func (*QueryScope) CloneVT added in v1.0.0

func (m *QueryScope) CloneVT() *QueryScope

func (*QueryScope) Descriptor deprecated added in v1.0.0

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

Deprecated: Use QueryScope.ProtoReflect.Descriptor instead.

func (*QueryScope) EqualMessageVT added in v1.0.0

func (this *QueryScope) EqualMessageVT(thatMsg proto.Message) bool

func (*QueryScope) EqualVT added in v1.0.0

func (this *QueryScope) EqualVT(that *QueryScope) bool

func (*QueryScope) GetBlockCount added in v1.0.0

func (x *QueryScope) GetBlockCount() uint64

func (*QueryScope) GetComponentCount added in v1.0.0

func (x *QueryScope) GetComponentCount() uint64

func (*QueryScope) GetComponentType added in v1.0.0

func (x *QueryScope) GetComponentType() string

func (*QueryScope) GetIndexBytes added in v1.0.0

func (x *QueryScope) GetIndexBytes() uint64

func (*QueryScope) GetProfileBytes added in v1.0.0

func (x *QueryScope) GetProfileBytes() uint64

func (*QueryScope) GetProfileCount added in v1.0.0

func (x *QueryScope) GetProfileCount() uint64

func (*QueryScope) GetSampleCount added in v1.0.0

func (x *QueryScope) GetSampleCount() uint64

func (*QueryScope) GetSeriesCount added in v1.0.0

func (x *QueryScope) GetSeriesCount() uint64

func (*QueryScope) GetSymbolBytes added in v1.0.0

func (x *QueryScope) GetSymbolBytes() uint64

func (*QueryScope) MarshalToSizedBufferVT added in v1.0.0

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

func (*QueryScope) MarshalToVT added in v1.0.0

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

func (*QueryScope) MarshalVT added in v1.0.0

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

func (*QueryScope) ProtoMessage added in v1.0.0

func (*QueryScope) ProtoMessage()

func (*QueryScope) ProtoReflect added in v1.0.0

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

func (*QueryScope) Reset added in v1.0.0

func (x *QueryScope) Reset()

func (*QueryScope) SizeVT added in v1.0.0

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

func (*QueryScope) String added in v1.0.0

func (x *QueryScope) String() string

func (*QueryScope) UnmarshalVT added in v1.0.0

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

type SelectHeatmapRequest added in v1.3.0

type SelectHeatmapRequest struct {

	// Profile Type ID string in the form
	// <name>:<type>:<unit>:<period_type>:<period_unit>.
	ProfileTypeID string `protobuf:"bytes,1,opt,name=profile_typeID,json=profileTypeID,proto3" json:"profile_typeID,omitempty"`
	// Label selector string
	LabelSelector string `protobuf:"bytes,2,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"`
	// Milliseconds since epoch.
	Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	// Milliseconds since epoch.
	End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// Query resolution step width in seconds
	Step float64 `protobuf:"fixed64,5,opt,name=step,proto3" json:"step,omitempty"`
	// Group by labels
	GroupBy []string `protobuf:"bytes,6,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
	// Query type: individual profiles or span profiles
	QueryType HeatmapQueryType `protobuf:"varint,7,opt,name=query_type,json=queryType,proto3,enum=querier.v1.HeatmapQueryType" json:"query_type,omitempty"`
	// Type of exemplars to include in the response. Needs to matching query_type or be NONE
	ExemplarType v1.ExemplarType `protobuf:"varint,8,opt,name=exemplar_type,json=exemplarType,proto3,enum=types.v1.ExemplarType" json:"exemplar_type,omitempty"`
	// Select the top N series by total value.
	Limit *int64 `protobuf:"varint,9,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectHeatmapRequest) CloneMessageVT added in v1.3.0

func (m *SelectHeatmapRequest) CloneMessageVT() proto.Message

func (*SelectHeatmapRequest) CloneVT added in v1.3.0

func (*SelectHeatmapRequest) Descriptor deprecated added in v1.3.0

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

Deprecated: Use SelectHeatmapRequest.ProtoReflect.Descriptor instead.

func (*SelectHeatmapRequest) EqualMessageVT added in v1.3.0

func (this *SelectHeatmapRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SelectHeatmapRequest) EqualVT added in v1.3.0

func (this *SelectHeatmapRequest) EqualVT(that *SelectHeatmapRequest) bool

func (*SelectHeatmapRequest) GetEnd added in v1.3.0

func (x *SelectHeatmapRequest) GetEnd() int64

func (*SelectHeatmapRequest) GetExemplarType added in v1.3.0

func (x *SelectHeatmapRequest) GetExemplarType() v1.ExemplarType

func (*SelectHeatmapRequest) GetGroupBy added in v1.3.0

func (x *SelectHeatmapRequest) GetGroupBy() []string

func (*SelectHeatmapRequest) GetLabelSelector added in v1.3.0

func (x *SelectHeatmapRequest) GetLabelSelector() string

func (*SelectHeatmapRequest) GetLimit added in v1.3.0

func (x *SelectHeatmapRequest) GetLimit() int64

func (*SelectHeatmapRequest) GetProfileTypeID added in v1.3.0

func (x *SelectHeatmapRequest) GetProfileTypeID() string

func (*SelectHeatmapRequest) GetQueryType added in v1.3.0

func (x *SelectHeatmapRequest) GetQueryType() HeatmapQueryType

func (*SelectHeatmapRequest) GetStart added in v1.3.0

func (x *SelectHeatmapRequest) GetStart() int64

func (*SelectHeatmapRequest) GetStep added in v1.3.0

func (x *SelectHeatmapRequest) GetStep() float64

func (*SelectHeatmapRequest) MarshalToSizedBufferVT added in v1.3.0

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

func (*SelectHeatmapRequest) MarshalToVT added in v1.3.0

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

func (*SelectHeatmapRequest) MarshalVT added in v1.3.0

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

func (*SelectHeatmapRequest) ProtoMessage added in v1.3.0

func (*SelectHeatmapRequest) ProtoMessage()

func (*SelectHeatmapRequest) ProtoReflect added in v1.3.0

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

func (*SelectHeatmapRequest) Reset added in v1.3.0

func (x *SelectHeatmapRequest) Reset()

func (*SelectHeatmapRequest) SizeVT added in v1.3.0

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

func (*SelectHeatmapRequest) String added in v1.3.0

func (x *SelectHeatmapRequest) String() string

func (*SelectHeatmapRequest) UnmarshalVT added in v1.3.0

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

type SelectHeatmapResponse added in v1.3.0

type SelectHeatmapResponse struct {
	Series []*v1.HeatmapSeries `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectHeatmapResponse) CloneMessageVT added in v1.3.0

func (m *SelectHeatmapResponse) CloneMessageVT() proto.Message

func (*SelectHeatmapResponse) CloneVT added in v1.3.0

func (*SelectHeatmapResponse) Descriptor deprecated added in v1.3.0

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

Deprecated: Use SelectHeatmapResponse.ProtoReflect.Descriptor instead.

func (*SelectHeatmapResponse) EqualMessageVT added in v1.3.0

func (this *SelectHeatmapResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SelectHeatmapResponse) EqualVT added in v1.3.0

func (this *SelectHeatmapResponse) EqualVT(that *SelectHeatmapResponse) bool

func (*SelectHeatmapResponse) GetSeries added in v1.3.0

func (x *SelectHeatmapResponse) GetSeries() []*v1.HeatmapSeries

func (*SelectHeatmapResponse) MarshalToSizedBufferVT added in v1.3.0

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

func (*SelectHeatmapResponse) MarshalToVT added in v1.3.0

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

func (*SelectHeatmapResponse) MarshalVT added in v1.3.0

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

func (*SelectHeatmapResponse) ProtoMessage added in v1.3.0

func (*SelectHeatmapResponse) ProtoMessage()

func (*SelectHeatmapResponse) ProtoReflect added in v1.3.0

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

func (*SelectHeatmapResponse) Reset added in v1.3.0

func (x *SelectHeatmapResponse) Reset()

func (*SelectHeatmapResponse) SizeVT added in v1.3.0

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

func (*SelectHeatmapResponse) String added in v1.3.0

func (x *SelectHeatmapResponse) String() string

func (*SelectHeatmapResponse) UnmarshalVT added in v1.3.0

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

type SelectMergeProfileRequest

type SelectMergeProfileRequest struct {

	// Profile Type ID string in the form
	// <name>:<type>:<unit>:<period_type>:<period_unit>.
	ProfileTypeID string `protobuf:"bytes,1,opt,name=profile_typeID,json=profileTypeID,proto3" json:"profile_typeID,omitempty"`
	// Label selector string
	LabelSelector string `protobuf:"bytes,2,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"`
	// Milliseconds since epoch.
	Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	// Milliseconds since epoch.
	End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// Limit the nodes returned to only show the node with the max_node's biggest
	// total
	MaxNodes *int64 `protobuf:"varint,5,opt,name=max_nodes,json=maxNodes,proto3,oneof" json:"max_nodes,omitempty"`
	// Select stack traces that match the provided selector.
	StackTraceSelector *v1.StackTraceSelector `protobuf:"bytes,6,opt,name=stack_trace_selector,json=stackTraceSelector,proto3,oneof" json:"stack_trace_selector,omitempty"`
	// List of Profile UUIDs to query
	ProfileIdSelector []string `protobuf:"bytes,7,rep,name=profile_id_selector,json=profileIdSelector,proto3" json:"profile_id_selector,omitempty"`
	// List of trace IDs (32 hex characters, 128-bit) to filter samples by.
	TraceIdSelector []string `protobuf:"bytes,8,rep,name=trace_id_selector,json=traceIdSelector,proto3" json:"trace_id_selector,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectMergeProfileRequest) CloneMessageVT

func (m *SelectMergeProfileRequest) CloneMessageVT() proto.Message

func (*SelectMergeProfileRequest) CloneVT

func (*SelectMergeProfileRequest) Descriptor deprecated

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

Deprecated: Use SelectMergeProfileRequest.ProtoReflect.Descriptor instead.

func (*SelectMergeProfileRequest) EqualMessageVT added in v0.4.0

func (this *SelectMergeProfileRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SelectMergeProfileRequest) EqualVT added in v0.4.0

func (*SelectMergeProfileRequest) GetEnd

func (x *SelectMergeProfileRequest) GetEnd() int64

func (*SelectMergeProfileRequest) GetLabelSelector

func (x *SelectMergeProfileRequest) GetLabelSelector() string

func (*SelectMergeProfileRequest) GetMaxNodes added in v0.4.0

func (x *SelectMergeProfileRequest) GetMaxNodes() int64

func (*SelectMergeProfileRequest) GetProfileIdSelector added in v1.3.0

func (x *SelectMergeProfileRequest) GetProfileIdSelector() []string

func (*SelectMergeProfileRequest) GetProfileTypeID

func (x *SelectMergeProfileRequest) GetProfileTypeID() string

func (*SelectMergeProfileRequest) GetStackTraceSelector added in v0.4.0

func (x *SelectMergeProfileRequest) GetStackTraceSelector() *v1.StackTraceSelector

func (*SelectMergeProfileRequest) GetStart

func (x *SelectMergeProfileRequest) GetStart() int64

func (*SelectMergeProfileRequest) GetTraceIdSelector added in v1.6.0

func (x *SelectMergeProfileRequest) GetTraceIdSelector() []string

func (*SelectMergeProfileRequest) MarshalToSizedBufferVT

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

func (*SelectMergeProfileRequest) MarshalToVT

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

func (*SelectMergeProfileRequest) MarshalVT

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

func (*SelectMergeProfileRequest) ProtoMessage

func (*SelectMergeProfileRequest) ProtoMessage()

func (*SelectMergeProfileRequest) ProtoReflect

func (*SelectMergeProfileRequest) Reset

func (x *SelectMergeProfileRequest) Reset()

func (*SelectMergeProfileRequest) SizeVT

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

func (*SelectMergeProfileRequest) String

func (x *SelectMergeProfileRequest) String() string

func (*SelectMergeProfileRequest) UnmarshalVT

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

type SelectMergeSpanProfileRequest added in v0.2.1

type SelectMergeSpanProfileRequest struct {

	// Profile Type ID string in the form
	// <name>:<type>:<unit>:<period_type>:<period_unit>.
	ProfileTypeID string `protobuf:"bytes,1,opt,name=profile_typeID,json=profileTypeID,proto3" json:"profile_typeID,omitempty"`
	// Label selector string
	LabelSelector string `protobuf:"bytes,2,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"`
	// List of Span IDs to query
	SpanSelector []string `protobuf:"bytes,3,rep,name=span_selector,json=spanSelector,proto3" json:"span_selector,omitempty"`
	// Milliseconds since epoch.
	Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"`
	// Milliseconds since epoch.
	End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end,omitempty"`
	// Limit the nodes returned to only show the node with the max_node's biggest
	// total
	MaxNodes *int64 `protobuf:"varint,6,opt,name=max_nodes,json=maxNodes,proto3,oneof" json:"max_nodes,omitempty"`
	// Profile format specifies the format of profile to be returned.
	// If not specified, the profile will be returned in flame graph format.
	Format ProfileFormat `protobuf:"varint,7,opt,name=format,proto3,enum=querier.v1.ProfileFormat" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectMergeSpanProfileRequest) CloneMessageVT added in v0.2.1

func (m *SelectMergeSpanProfileRequest) CloneMessageVT() proto.Message

func (*SelectMergeSpanProfileRequest) CloneVT added in v0.2.1

func (*SelectMergeSpanProfileRequest) Descriptor deprecated added in v0.2.1

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

Deprecated: Use SelectMergeSpanProfileRequest.ProtoReflect.Descriptor instead.

func (*SelectMergeSpanProfileRequest) EqualMessageVT added in v0.4.0

func (this *SelectMergeSpanProfileRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SelectMergeSpanProfileRequest) EqualVT added in v0.4.0

func (*SelectMergeSpanProfileRequest) GetEnd added in v0.2.1

func (*SelectMergeSpanProfileRequest) GetFormat added in v1.0.0

func (*SelectMergeSpanProfileRequest) GetLabelSelector added in v0.2.1

func (x *SelectMergeSpanProfileRequest) GetLabelSelector() string

func (*SelectMergeSpanProfileRequest) GetMaxNodes added in v0.2.1

func (x *SelectMergeSpanProfileRequest) GetMaxNodes() int64

func (*SelectMergeSpanProfileRequest) GetProfileTypeID added in v0.2.1

func (x *SelectMergeSpanProfileRequest) GetProfileTypeID() string

func (*SelectMergeSpanProfileRequest) GetSpanSelector added in v0.2.1

func (x *SelectMergeSpanProfileRequest) GetSpanSelector() []string

func (*SelectMergeSpanProfileRequest) GetStart added in v0.2.1

func (x *SelectMergeSpanProfileRequest) GetStart() int64

func (*SelectMergeSpanProfileRequest) MarshalToSizedBufferVT added in v0.2.1

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

func (*SelectMergeSpanProfileRequest) MarshalToVT added in v0.2.1

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

func (*SelectMergeSpanProfileRequest) MarshalVT added in v0.2.1

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

func (*SelectMergeSpanProfileRequest) ProtoMessage added in v0.2.1

func (*SelectMergeSpanProfileRequest) ProtoMessage()

func (*SelectMergeSpanProfileRequest) ProtoReflect added in v0.2.1

func (*SelectMergeSpanProfileRequest) Reset added in v0.2.1

func (x *SelectMergeSpanProfileRequest) Reset()

func (*SelectMergeSpanProfileRequest) SizeVT added in v0.2.1

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

func (*SelectMergeSpanProfileRequest) String added in v0.2.1

func (*SelectMergeSpanProfileRequest) UnmarshalVT added in v0.2.1

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

type SelectMergeSpanProfileResponse added in v0.2.1

type SelectMergeSpanProfileResponse struct {
	Flamegraph *FlameGraph `protobuf:"bytes,1,opt,name=flamegraph,proto3" json:"flamegraph,omitempty"`
	// Pyroscope tree bytes.
	Tree []byte `protobuf:"bytes,2,opt,name=tree,proto3" json:"tree,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectMergeSpanProfileResponse) CloneMessageVT added in v0.2.1

func (m *SelectMergeSpanProfileResponse) CloneMessageVT() proto.Message

func (*SelectMergeSpanProfileResponse) CloneVT added in v0.2.1

func (*SelectMergeSpanProfileResponse) Descriptor deprecated added in v0.2.1

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

Deprecated: Use SelectMergeSpanProfileResponse.ProtoReflect.Descriptor instead.

func (*SelectMergeSpanProfileResponse) EqualMessageVT added in v0.4.0

func (this *SelectMergeSpanProfileResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SelectMergeSpanProfileResponse) EqualVT added in v0.4.0

func (*SelectMergeSpanProfileResponse) GetFlamegraph added in v0.2.1

func (x *SelectMergeSpanProfileResponse) GetFlamegraph() *FlameGraph

func (*SelectMergeSpanProfileResponse) GetTree added in v1.0.0

func (x *SelectMergeSpanProfileResponse) GetTree() []byte

func (*SelectMergeSpanProfileResponse) MarshalToSizedBufferVT added in v0.2.1

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

func (*SelectMergeSpanProfileResponse) MarshalToVT added in v0.2.1

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

func (*SelectMergeSpanProfileResponse) MarshalVT added in v0.2.1

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

func (*SelectMergeSpanProfileResponse) ProtoMessage added in v0.2.1

func (*SelectMergeSpanProfileResponse) ProtoMessage()

func (*SelectMergeSpanProfileResponse) ProtoReflect added in v0.2.1

func (*SelectMergeSpanProfileResponse) Reset added in v0.2.1

func (x *SelectMergeSpanProfileResponse) Reset()

func (*SelectMergeSpanProfileResponse) SizeVT added in v0.2.1

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

func (*SelectMergeSpanProfileResponse) String added in v0.2.1

func (*SelectMergeSpanProfileResponse) UnmarshalVT added in v0.2.1

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

type SelectMergeStacktracesRequest

type SelectMergeStacktracesRequest struct {

	// Profile Type ID string in the form
	// <name>:<type>:<unit>:<period_type>:<period_unit>.
	ProfileTypeID string `protobuf:"bytes,1,opt,name=profile_typeID,json=profileTypeID,proto3" json:"profile_typeID,omitempty"`
	// Label selector string
	LabelSelector string `protobuf:"bytes,2,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"`
	// Milliseconds since epoch.
	Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	// Milliseconds since epoch.
	End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// Limit the nodes returned to only show the node with the max_node's biggest
	// total
	MaxNodes *int64 `protobuf:"varint,5,opt,name=max_nodes,json=maxNodes,proto3,oneof" json:"max_nodes,omitempty"`
	// Profile format specifies the format of profile to be returned.
	// If not specified, the profile will be returned in flame graph format.
	Format ProfileFormat `protobuf:"varint,6,opt,name=format,proto3,enum=querier.v1.ProfileFormat" json:"format,omitempty"`
	// Select stack traces that match the provided selector.
	StackTraceSelector *v1.StackTraceSelector `protobuf:"bytes,7,opt,name=stack_trace_selector,json=stackTraceSelector,proto3,oneof" json:"stack_trace_selector,omitempty"`
	// List of Profile UUIDs to query
	ProfileIdSelector []string `protobuf:"bytes,8,rep,name=profile_id_selector,json=profileIdSelector,proto3" json:"profile_id_selector,omitempty"`
	// (experimental) Used for making and polling async queries.
	Async *AsyncQueryRequest `protobuf:"bytes,9,opt,name=async,proto3,oneof" json:"async,omitempty"`
	// List of trace IDs (32 hex characters, 128-bit) to filter samples by.
	TraceIdSelector []string `protobuf:"bytes,10,rep,name=trace_id_selector,json=traceIdSelector,proto3" json:"trace_id_selector,omitempty"`
	// List of span IDs (16 hex characters, 64-bit) to filter samples by.
	SpanSelector []string `protobuf:"bytes,11,rep,name=span_selector,json=spanSelector,proto3" json:"span_selector,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectMergeStacktracesRequest) CloneMessageVT

func (m *SelectMergeStacktracesRequest) CloneMessageVT() proto.Message

func (*SelectMergeStacktracesRequest) CloneVT

func (*SelectMergeStacktracesRequest) Descriptor deprecated

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

Deprecated: Use SelectMergeStacktracesRequest.ProtoReflect.Descriptor instead.

func (*SelectMergeStacktracesRequest) EqualMessageVT added in v0.4.0

func (this *SelectMergeStacktracesRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SelectMergeStacktracesRequest) EqualVT added in v0.4.0

func (*SelectMergeStacktracesRequest) GetAsync added in v1.6.0

func (*SelectMergeStacktracesRequest) GetEnd

func (*SelectMergeStacktracesRequest) GetFormat added in v1.0.0

func (*SelectMergeStacktracesRequest) GetLabelSelector

func (x *SelectMergeStacktracesRequest) GetLabelSelector() string

func (*SelectMergeStacktracesRequest) GetMaxNodes

func (x *SelectMergeStacktracesRequest) GetMaxNodes() int64

func (*SelectMergeStacktracesRequest) GetProfileIdSelector added in v1.3.0

func (x *SelectMergeStacktracesRequest) GetProfileIdSelector() []string

func (*SelectMergeStacktracesRequest) GetProfileTypeID

func (x *SelectMergeStacktracesRequest) GetProfileTypeID() string

func (*SelectMergeStacktracesRequest) GetSpanSelector added in v1.6.0

func (x *SelectMergeStacktracesRequest) GetSpanSelector() []string

func (*SelectMergeStacktracesRequest) GetStackTraceSelector added in v1.3.0

func (x *SelectMergeStacktracesRequest) GetStackTraceSelector() *v1.StackTraceSelector

func (*SelectMergeStacktracesRequest) GetStart

func (x *SelectMergeStacktracesRequest) GetStart() int64

func (*SelectMergeStacktracesRequest) GetTraceIdSelector added in v1.6.0

func (x *SelectMergeStacktracesRequest) GetTraceIdSelector() []string

func (*SelectMergeStacktracesRequest) MarshalToSizedBufferVT

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

func (*SelectMergeStacktracesRequest) MarshalToVT

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

func (*SelectMergeStacktracesRequest) MarshalVT

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

func (*SelectMergeStacktracesRequest) ProtoMessage

func (*SelectMergeStacktracesRequest) ProtoMessage()

func (*SelectMergeStacktracesRequest) ProtoReflect

func (*SelectMergeStacktracesRequest) Reset

func (x *SelectMergeStacktracesRequest) Reset()

func (*SelectMergeStacktracesRequest) SizeVT

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

func (*SelectMergeStacktracesRequest) String

func (*SelectMergeStacktracesRequest) UnmarshalVT

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

type SelectMergeStacktracesResponse

type SelectMergeStacktracesResponse struct {
	Flamegraph *FlameGraph `protobuf:"bytes,1,opt,name=flamegraph,proto3" json:"flamegraph,omitempty"`
	// Pyroscope tree bytes.
	Tree []byte `protobuf:"bytes,2,opt,name=tree,proto3" json:"tree,omitempty"`
	// DOT graph representation.
	Dot string `protobuf:"bytes,3,opt,name=dot,proto3" json:"dot,omitempty"`
	// (experimental) Used for responding to async queries.
	Async *AsyncQueryResponse `protobuf:"bytes,4,opt,name=async,proto3,oneof" json:"async,omitempty"`
	// Profile in pprof format.
	Pprof *PprofProfile `protobuf:"bytes,5,opt,name=pprof,proto3" json:"pprof,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectMergeStacktracesResponse) CloneMessageVT

func (m *SelectMergeStacktracesResponse) CloneMessageVT() proto.Message

func (*SelectMergeStacktracesResponse) CloneVT

func (*SelectMergeStacktracesResponse) Descriptor deprecated

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

Deprecated: Use SelectMergeStacktracesResponse.ProtoReflect.Descriptor instead.

func (*SelectMergeStacktracesResponse) EqualMessageVT added in v0.4.0

func (this *SelectMergeStacktracesResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SelectMergeStacktracesResponse) EqualVT added in v0.4.0

func (*SelectMergeStacktracesResponse) GetAsync added in v1.6.0

func (*SelectMergeStacktracesResponse) GetDot added in v1.4.0

func (*SelectMergeStacktracesResponse) GetFlamegraph

func (x *SelectMergeStacktracesResponse) GetFlamegraph() *FlameGraph

func (*SelectMergeStacktracesResponse) GetPprof added in v1.6.0

func (*SelectMergeStacktracesResponse) GetTree added in v1.0.0

func (x *SelectMergeStacktracesResponse) GetTree() []byte

func (*SelectMergeStacktracesResponse) MarshalToSizedBufferVT

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

func (*SelectMergeStacktracesResponse) MarshalToVT

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

func (*SelectMergeStacktracesResponse) MarshalVT

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

func (*SelectMergeStacktracesResponse) ProtoMessage

func (*SelectMergeStacktracesResponse) ProtoMessage()

func (*SelectMergeStacktracesResponse) ProtoReflect

func (*SelectMergeStacktracesResponse) Reset

func (x *SelectMergeStacktracesResponse) Reset()

func (*SelectMergeStacktracesResponse) SizeVT

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

func (*SelectMergeStacktracesResponse) String

func (*SelectMergeStacktracesResponse) UnmarshalVT

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

type SelectSeriesRequest

type SelectSeriesRequest struct {

	// Profile Type ID string in the form
	// <name>:<type>:<unit>:<period_type>:<period_unit>.
	ProfileTypeID string `protobuf:"bytes,1,opt,name=profile_typeID,json=profileTypeID,proto3" json:"profile_typeID,omitempty"`
	// Label selector string
	LabelSelector string `protobuf:"bytes,2,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"`
	// Milliseconds since epoch.
	Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	// Milliseconds since epoch.
	End     int64    `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	GroupBy []string `protobuf:"bytes,5,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
	Step    float64  `protobuf:"fixed64,6,opt,name=step,proto3" json:"step,omitempty"`
	// Query resolution step width in seconds
	Aggregation *v1.TimeSeriesAggregationType `protobuf:"varint,7,opt,name=aggregation,proto3,enum=types.v1.TimeSeriesAggregationType,oneof" json:"aggregation,omitempty"`
	// Select stack traces that match the provided selector.
	StackTraceSelector *v1.StackTraceSelector `protobuf:"bytes,8,opt,name=stack_trace_selector,json=stackTraceSelector,proto3,oneof" json:"stack_trace_selector,omitempty"`
	// Select the top N series by total value.
	Limit *int64 `protobuf:"varint,9,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	// Type of exemplars to include in the response.
	ExemplarType v1.ExemplarType `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SelectSeriesRequest) CloneMessageVT

func (m *SelectSeriesRequest) CloneMessageVT() proto.Message

func (*SelectSeriesRequest) CloneVT

func (*SelectSeriesRequest) Descriptor deprecated

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

Deprecated: Use SelectSeriesRequest.ProtoReflect.Descriptor instead.

func (*SelectSeriesRequest) EqualMessageVT added in v0.4.0

func (this *SelectSeriesRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SelectSeriesRequest) EqualVT added in v0.4.0

func (this *SelectSeriesRequest) EqualVT(that *SelectSeriesRequest) bool

func (*SelectSeriesRequest) GetAggregation added in v0.4.0

func (x *SelectSeriesRequest) GetAggregation() v1.TimeSeriesAggregationType

func (*SelectSeriesRequest) GetEnd

func (x *SelectSeriesRequest) GetEnd() int64

func (*SelectSeriesRequest) GetExemplarType added in v1.3.0

func (x *SelectSeriesRequest) GetExemplarType() v1.ExemplarType

func (*SelectSeriesRequest) GetGroupBy

func (x *SelectSeriesRequest) GetGroupBy() []string

func (*SelectSeriesRequest) GetLabelSelector

func (x *SelectSeriesRequest) GetLabelSelector() string

func (*SelectSeriesRequest) GetLimit added in v1.0.0

func (x *SelectSeriesRequest) GetLimit() int64

func (*SelectSeriesRequest) GetProfileTypeID

func (x *SelectSeriesRequest) GetProfileTypeID() string

func (*SelectSeriesRequest) GetStackTraceSelector added in v1.0.0

func (x *SelectSeriesRequest) GetStackTraceSelector() *v1.StackTraceSelector

func (*SelectSeriesRequest) GetStart

func (x *SelectSeriesRequest) GetStart() int64

func (*SelectSeriesRequest) GetStep

func (x *SelectSeriesRequest) GetStep() float64

func (*SelectSeriesRequest) MarshalToSizedBufferVT

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

func (*SelectSeriesRequest) MarshalToVT

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

func (*SelectSeriesRequest) MarshalVT

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

func (*SelectSeriesRequest) ProtoMessage

func (*SelectSeriesRequest) ProtoMessage()

func (*SelectSeriesRequest) ProtoReflect

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

func (*SelectSeriesRequest) Reset

func (x *SelectSeriesRequest) Reset()

func (*SelectSeriesRequest) SizeVT

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

func (*SelectSeriesRequest) String

func (x *SelectSeriesRequest) String() string

func (*SelectSeriesRequest) UnmarshalVT

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

type SelectSeriesResponse

type SelectSeriesResponse struct {
	Series []*v1.Series `protobuf:"bytes,1,rep,name=series,proto3" json:"series,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectSeriesResponse) CloneMessageVT

func (m *SelectSeriesResponse) CloneMessageVT() proto.Message

func (*SelectSeriesResponse) CloneVT

func (*SelectSeriesResponse) Descriptor deprecated

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

Deprecated: Use SelectSeriesResponse.ProtoReflect.Descriptor instead.

func (*SelectSeriesResponse) EqualMessageVT added in v0.4.0

func (this *SelectSeriesResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SelectSeriesResponse) EqualVT added in v0.4.0

func (this *SelectSeriesResponse) EqualVT(that *SelectSeriesResponse) bool

func (*SelectSeriesResponse) GetSeries

func (x *SelectSeriesResponse) GetSeries() []*v1.Series

func (*SelectSeriesResponse) MarshalToSizedBufferVT

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

func (*SelectSeriesResponse) MarshalToVT

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

func (*SelectSeriesResponse) MarshalVT

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

func (*SelectSeriesResponse) ProtoMessage

func (*SelectSeriesResponse) ProtoMessage()

func (*SelectSeriesResponse) ProtoReflect

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

func (*SelectSeriesResponse) Reset

func (x *SelectSeriesResponse) Reset()

func (*SelectSeriesResponse) SizeVT

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

func (*SelectSeriesResponse) String

func (x *SelectSeriesResponse) String() string

func (*SelectSeriesResponse) UnmarshalVT

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

type SeriesRequest

type SeriesRequest struct {

	// List of label selector to apply to the result.
	Matchers []string `protobuf:"bytes,1,rep,name=matchers,proto3" json:"matchers,omitempty"`
	// List of label_names to request. If empty will return all label names in the
	// result.
	LabelNames []string `protobuf:"bytes,2,rep,name=label_names,json=labelNames,proto3" json:"label_names,omitempty"`
	// Milliseconds since epoch. If missing or zero, only the ingesters will be
	// queried.
	Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	// queried.
	End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*SeriesRequest) CloneMessageVT

func (m *SeriesRequest) CloneMessageVT() proto.Message

func (*SeriesRequest) CloneVT

func (m *SeriesRequest) CloneVT() *SeriesRequest

func (*SeriesRequest) Descriptor deprecated

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

Deprecated: Use SeriesRequest.ProtoReflect.Descriptor instead.

func (*SeriesRequest) EqualMessageVT added in v0.4.0

func (this *SeriesRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SeriesRequest) EqualVT added in v0.4.0

func (this *SeriesRequest) EqualVT(that *SeriesRequest) bool

func (*SeriesRequest) GetEnd added in v0.2.1

func (x *SeriesRequest) GetEnd() int64

func (*SeriesRequest) GetLabelNames

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

func (*SeriesRequest) GetMatchers

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

func (*SeriesRequest) GetStart added in v0.2.1

func (x *SeriesRequest) GetStart() int64

func (*SeriesRequest) MarshalToSizedBufferVT

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

func (*SeriesRequest) MarshalToVT

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

func (*SeriesRequest) MarshalVT

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

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

func (*SeriesRequest) String

func (x *SeriesRequest) String() string

func (*SeriesRequest) UnmarshalVT

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

type SeriesResponse

type SeriesResponse struct {
	LabelsSet []*v1.Labels `protobuf:"bytes,2,rep,name=labels_set,json=labelsSet,proto3" json:"labels_set,omitempty"`
	// contains filtered or unexported fields
}

func (*SeriesResponse) CloneMessageVT

func (m *SeriesResponse) CloneMessageVT() proto.Message

func (*SeriesResponse) CloneVT

func (m *SeriesResponse) CloneVT() *SeriesResponse

func (*SeriesResponse) Descriptor deprecated

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

Deprecated: Use SeriesResponse.ProtoReflect.Descriptor instead.

func (*SeriesResponse) EqualMessageVT added in v0.4.0

func (this *SeriesResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SeriesResponse) EqualVT added in v0.4.0

func (this *SeriesResponse) EqualVT(that *SeriesResponse) bool

func (*SeriesResponse) GetLabelsSet

func (x *SeriesResponse) GetLabelsSet() []*v1.Labels

func (*SeriesResponse) MarshalToSizedBufferVT

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

func (*SeriesResponse) MarshalToVT

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

func (*SeriesResponse) MarshalVT

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

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

func (*SeriesResponse) String

func (x *SeriesResponse) String() string

func (*SeriesResponse) UnmarshalVT

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

type UnimplementedQuerierServiceServer

type UnimplementedQuerierServiceServer struct {
}

UnimplementedQuerierServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedQuerierServiceServer) AnalyzeQuery added in v1.0.0

func (UnimplementedQuerierServiceServer) Diff

func (UnimplementedQuerierServiceServer) GetProfileStats added in v1.0.0

func (UnimplementedQuerierServiceServer) LabelNames

func (UnimplementedQuerierServiceServer) LabelValues

func (UnimplementedQuerierServiceServer) ProfileTypes

func (UnimplementedQuerierServiceServer) SelectHeatmap added in v1.3.0

func (UnimplementedQuerierServiceServer) SelectMergeProfile

func (UnimplementedQuerierServiceServer) SelectMergeSpanProfile added in v0.2.1

func (UnimplementedQuerierServiceServer) SelectSeries

func (UnimplementedQuerierServiceServer) Series

type UnsafeQuerierServiceServer

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

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

Directories

Path Synopsis
Provides the ability to query the Pyroscope database.
Provides the ability to query the Pyroscope database.

Jump to

Keyboard shortcuts

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