hintspb

package
v0.36.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthHints        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHints          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHints = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Block

type Block struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*Block) Descriptor

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

func (*Block) Marshal

func (m *Block) Marshal() (dAtA []byte, err error)

func (*Block) MarshalTo

func (m *Block) MarshalTo(dAtA []byte) (int, error)

func (*Block) MarshalToSizedBuffer

func (m *Block) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) Size

func (m *Block) Size() (n int)

func (*Block) String

func (m *Block) String() string

func (*Block) Unmarshal

func (m *Block) Unmarshal(dAtA []byte) error

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Block) XXX_Merge

func (m *Block) XXX_Merge(src proto.Message)

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

func (m *Block) XXX_Unmarshal(b []byte) error

type LabelNamesRequestHints added in v0.18.0

type LabelNamesRequestHints struct {
	/// block_matchers is a list of label matchers that are evaluated against each single block's
	/// labels to filter which blocks get queried. If the list is empty, no per-block filtering
	/// is applied.
	BlockMatchers []storepb.LabelMatcher `protobuf:"bytes,1,rep,name=block_matchers,json=blockMatchers,proto3" json:"block_matchers"`
}

func (*LabelNamesRequestHints) Descriptor added in v0.18.0

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

func (*LabelNamesRequestHints) Marshal added in v0.18.0

func (m *LabelNamesRequestHints) Marshal() (dAtA []byte, err error)

func (*LabelNamesRequestHints) MarshalTo added in v0.18.0

func (m *LabelNamesRequestHints) MarshalTo(dAtA []byte) (int, error)

func (*LabelNamesRequestHints) MarshalToSizedBuffer added in v0.18.0

func (m *LabelNamesRequestHints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LabelNamesRequestHints) ProtoMessage added in v0.18.0

func (*LabelNamesRequestHints) ProtoMessage()

func (*LabelNamesRequestHints) Reset added in v0.18.0

func (m *LabelNamesRequestHints) Reset()

func (*LabelNamesRequestHints) Size added in v0.18.0

func (m *LabelNamesRequestHints) Size() (n int)

func (*LabelNamesRequestHints) String added in v0.18.0

func (m *LabelNamesRequestHints) String() string

func (*LabelNamesRequestHints) Unmarshal added in v0.18.0

func (m *LabelNamesRequestHints) Unmarshal(dAtA []byte) error

func (*LabelNamesRequestHints) XXX_DiscardUnknown added in v0.18.0

func (m *LabelNamesRequestHints) XXX_DiscardUnknown()

func (*LabelNamesRequestHints) XXX_Marshal added in v0.18.0

func (m *LabelNamesRequestHints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelNamesRequestHints) XXX_Merge added in v0.18.0

func (m *LabelNamesRequestHints) XXX_Merge(src proto.Message)

func (*LabelNamesRequestHints) XXX_Size added in v0.18.0

func (m *LabelNamesRequestHints) XXX_Size() int

func (*LabelNamesRequestHints) XXX_Unmarshal added in v0.18.0

func (m *LabelNamesRequestHints) XXX_Unmarshal(b []byte) error

type LabelNamesResponseHints added in v0.18.0

type LabelNamesResponseHints struct {
	/// queried_blocks is the list of blocks that have been queried.
	QueriedBlocks []Block `protobuf:"bytes,1,rep,name=queried_blocks,json=queriedBlocks,proto3" json:"queried_blocks"`
}

func (*LabelNamesResponseHints) AddQueriedBlock added in v0.18.0

func (m *LabelNamesResponseHints) AddQueriedBlock(id ulid.ULID)

func (*LabelNamesResponseHints) Descriptor added in v0.18.0

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

func (*LabelNamesResponseHints) Marshal added in v0.18.0

func (m *LabelNamesResponseHints) Marshal() (dAtA []byte, err error)

func (*LabelNamesResponseHints) MarshalTo added in v0.18.0

func (m *LabelNamesResponseHints) MarshalTo(dAtA []byte) (int, error)

func (*LabelNamesResponseHints) MarshalToSizedBuffer added in v0.18.0

func (m *LabelNamesResponseHints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LabelNamesResponseHints) ProtoMessage added in v0.18.0

func (*LabelNamesResponseHints) ProtoMessage()

func (*LabelNamesResponseHints) Reset added in v0.18.0

func (m *LabelNamesResponseHints) Reset()

func (*LabelNamesResponseHints) Size added in v0.18.0

func (m *LabelNamesResponseHints) Size() (n int)

func (*LabelNamesResponseHints) String added in v0.18.0

func (m *LabelNamesResponseHints) String() string

func (*LabelNamesResponseHints) Unmarshal added in v0.18.0

func (m *LabelNamesResponseHints) Unmarshal(dAtA []byte) error

func (*LabelNamesResponseHints) XXX_DiscardUnknown added in v0.18.0

func (m *LabelNamesResponseHints) XXX_DiscardUnknown()

func (*LabelNamesResponseHints) XXX_Marshal added in v0.18.0

func (m *LabelNamesResponseHints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelNamesResponseHints) XXX_Merge added in v0.18.0

func (m *LabelNamesResponseHints) XXX_Merge(src proto.Message)

func (*LabelNamesResponseHints) XXX_Size added in v0.18.0

func (m *LabelNamesResponseHints) XXX_Size() int

func (*LabelNamesResponseHints) XXX_Unmarshal added in v0.18.0

func (m *LabelNamesResponseHints) XXX_Unmarshal(b []byte) error

type LabelValuesRequestHints added in v0.18.0

type LabelValuesRequestHints struct {
	/// block_matchers is a list of label matchers that are evaluated against each single block's
	/// labels to filter which blocks get queried. If the list is empty, no per-block filtering
	/// is applied.
	BlockMatchers []storepb.LabelMatcher `protobuf:"bytes,1,rep,name=block_matchers,json=blockMatchers,proto3" json:"block_matchers"`
}

func (*LabelValuesRequestHints) Descriptor added in v0.18.0

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

func (*LabelValuesRequestHints) Marshal added in v0.18.0

func (m *LabelValuesRequestHints) Marshal() (dAtA []byte, err error)

func (*LabelValuesRequestHints) MarshalTo added in v0.18.0

func (m *LabelValuesRequestHints) MarshalTo(dAtA []byte) (int, error)

func (*LabelValuesRequestHints) MarshalToSizedBuffer added in v0.18.0

func (m *LabelValuesRequestHints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LabelValuesRequestHints) ProtoMessage added in v0.18.0

func (*LabelValuesRequestHints) ProtoMessage()

func (*LabelValuesRequestHints) Reset added in v0.18.0

func (m *LabelValuesRequestHints) Reset()

func (*LabelValuesRequestHints) Size added in v0.18.0

func (m *LabelValuesRequestHints) Size() (n int)

func (*LabelValuesRequestHints) String added in v0.18.0

func (m *LabelValuesRequestHints) String() string

func (*LabelValuesRequestHints) Unmarshal added in v0.18.0

func (m *LabelValuesRequestHints) Unmarshal(dAtA []byte) error

func (*LabelValuesRequestHints) XXX_DiscardUnknown added in v0.18.0

func (m *LabelValuesRequestHints) XXX_DiscardUnknown()

func (*LabelValuesRequestHints) XXX_Marshal added in v0.18.0

func (m *LabelValuesRequestHints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelValuesRequestHints) XXX_Merge added in v0.18.0

func (m *LabelValuesRequestHints) XXX_Merge(src proto.Message)

func (*LabelValuesRequestHints) XXX_Size added in v0.18.0

func (m *LabelValuesRequestHints) XXX_Size() int

func (*LabelValuesRequestHints) XXX_Unmarshal added in v0.18.0

func (m *LabelValuesRequestHints) XXX_Unmarshal(b []byte) error

type LabelValuesResponseHints added in v0.18.0

type LabelValuesResponseHints struct {
	/// queried_blocks is the list of blocks that have been queried.
	QueriedBlocks []Block `protobuf:"bytes,1,rep,name=queried_blocks,json=queriedBlocks,proto3" json:"queried_blocks"`
}

func (*LabelValuesResponseHints) AddQueriedBlock added in v0.18.0

func (m *LabelValuesResponseHints) AddQueriedBlock(id ulid.ULID)

func (*LabelValuesResponseHints) Descriptor added in v0.18.0

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

func (*LabelValuesResponseHints) Marshal added in v0.18.0

func (m *LabelValuesResponseHints) Marshal() (dAtA []byte, err error)

func (*LabelValuesResponseHints) MarshalTo added in v0.18.0

func (m *LabelValuesResponseHints) MarshalTo(dAtA []byte) (int, error)

func (*LabelValuesResponseHints) MarshalToSizedBuffer added in v0.18.0

func (m *LabelValuesResponseHints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LabelValuesResponseHints) ProtoMessage added in v0.18.0

func (*LabelValuesResponseHints) ProtoMessage()

func (*LabelValuesResponseHints) Reset added in v0.18.0

func (m *LabelValuesResponseHints) Reset()

func (*LabelValuesResponseHints) Size added in v0.18.0

func (m *LabelValuesResponseHints) Size() (n int)

func (*LabelValuesResponseHints) String added in v0.18.0

func (m *LabelValuesResponseHints) String() string

func (*LabelValuesResponseHints) Unmarshal added in v0.18.0

func (m *LabelValuesResponseHints) Unmarshal(dAtA []byte) error

func (*LabelValuesResponseHints) XXX_DiscardUnknown added in v0.18.0

func (m *LabelValuesResponseHints) XXX_DiscardUnknown()

func (*LabelValuesResponseHints) XXX_Marshal added in v0.18.0

func (m *LabelValuesResponseHints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LabelValuesResponseHints) XXX_Merge added in v0.18.0

func (m *LabelValuesResponseHints) XXX_Merge(src proto.Message)

func (*LabelValuesResponseHints) XXX_Size added in v0.18.0

func (m *LabelValuesResponseHints) XXX_Size() int

func (*LabelValuesResponseHints) XXX_Unmarshal added in v0.18.0

func (m *LabelValuesResponseHints) XXX_Unmarshal(b []byte) error

type QueryStats added in v0.32.0

type QueryStats struct {
	BlocksQueried          int64         `protobuf:"varint,1,opt,name=blocks_queried,json=blocksQueried,proto3" json:"blocks_queried,omitempty"`
	MergedSeriesCount      int64         `protobuf:"varint,2,opt,name=merged_series_count,json=mergedSeriesCount,proto3" json:"merged_series_count,omitempty"`
	MergedChunksCount      int64         `protobuf:"varint,3,opt,name=merged_chunks_count,json=mergedChunksCount,proto3" json:"merged_chunks_count,omitempty"`
	PostingsTouched        int64         `protobuf:"varint,4,opt,name=postings_touched,json=postingsTouched,proto3" json:"postings_touched,omitempty"`
	PostingsTouchedSizeSum int64         `` /* 132-byte string literal not displayed */
	PostingsToFetch        int64         `protobuf:"varint,6,opt,name=postings_to_fetch,json=postingsToFetch,proto3" json:"postings_to_fetch,omitempty"`
	PostingsFetched        int64         `protobuf:"varint,7,opt,name=postings_fetched,json=postingsFetched,proto3" json:"postings_fetched,omitempty"`
	PostingsFetchedSizeSum int64         `` /* 132-byte string literal not displayed */
	PostingsFetchCount     int64         `protobuf:"varint,9,opt,name=postings_fetch_count,json=postingsFetchCount,proto3" json:"postings_fetch_count,omitempty"`
	SeriesTouched          int64         `protobuf:"varint,10,opt,name=series_touched,json=seriesTouched,proto3" json:"series_touched,omitempty"`
	SeriesTouchedSizeSum   int64         `` /* 127-byte string literal not displayed */
	SeriesFetched          int64         `protobuf:"varint,12,opt,name=series_fetched,json=seriesFetched,proto3" json:"series_fetched,omitempty"`
	SeriesFetchedSizeSum   int64         `` /* 127-byte string literal not displayed */
	SeriesFetchCount       int64         `protobuf:"varint,14,opt,name=series_fetch_count,json=seriesFetchCount,proto3" json:"series_fetch_count,omitempty"`
	ChunksTouched          int64         `protobuf:"varint,15,opt,name=chunks_touched,json=chunksTouched,proto3" json:"chunks_touched,omitempty"`
	ChunksTouchedSizeSum   int64         `` /* 127-byte string literal not displayed */
	ChunksFetched          int64         `protobuf:"varint,17,opt,name=chunks_fetched,json=chunksFetched,proto3" json:"chunks_fetched,omitempty"`
	ChunksFetchedSizeSum   int64         `` /* 127-byte string literal not displayed */
	ChunksFetchCount       int64         `protobuf:"varint,19,opt,name=chunks_fetch_count,json=chunksFetchCount,proto3" json:"chunks_fetch_count,omitempty"`
	DataDownloadedSizeSum  int64         `` /* 130-byte string literal not displayed */
	GetAllDuration         time.Duration `protobuf:"bytes,21,opt,name=get_all_duration,json=getAllDuration,proto3,stdduration" json:"get_all_duration"`
	MergeDuration          time.Duration `protobuf:"bytes,22,opt,name=merge_duration,json=mergeDuration,proto3,stdduration" json:"merge_duration"`
}

/ QueryStats fields are unstable and might change in the future.

func (*QueryStats) Descriptor added in v0.32.0

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

func (*QueryStats) Marshal added in v0.32.0

func (m *QueryStats) Marshal() (dAtA []byte, err error)

func (*QueryStats) MarshalTo added in v0.32.0

func (m *QueryStats) MarshalTo(dAtA []byte) (int, error)

func (*QueryStats) MarshalToSizedBuffer added in v0.32.0

func (m *QueryStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryStats) Merge added in v0.32.0

func (m *QueryStats) Merge(other *QueryStats)

func (*QueryStats) ProtoMessage added in v0.32.0

func (*QueryStats) ProtoMessage()

func (*QueryStats) Reset added in v0.32.0

func (m *QueryStats) Reset()

func (*QueryStats) Size added in v0.32.0

func (m *QueryStats) Size() (n int)

func (*QueryStats) String added in v0.32.0

func (m *QueryStats) String() string

func (*QueryStats) Unmarshal added in v0.32.0

func (m *QueryStats) Unmarshal(dAtA []byte) error

func (*QueryStats) XXX_DiscardUnknown added in v0.32.0

func (m *QueryStats) XXX_DiscardUnknown()

func (*QueryStats) XXX_Marshal added in v0.32.0

func (m *QueryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStats) XXX_Merge added in v0.32.0

func (m *QueryStats) XXX_Merge(src proto.Message)

func (*QueryStats) XXX_Size added in v0.32.0

func (m *QueryStats) XXX_Size() int

func (*QueryStats) XXX_Unmarshal added in v0.32.0

func (m *QueryStats) XXX_Unmarshal(b []byte) error

type SeriesRequestHints added in v0.14.0

type SeriesRequestHints struct {
	/// block_matchers is a list of label matchers that are evaluated against each single block's
	/// labels to filter which blocks get queried. If the list is empty, no per-block filtering
	/// is applied.
	BlockMatchers    []storepb.LabelMatcher `protobuf:"bytes,1,rep,name=block_matchers,json=blockMatchers,proto3" json:"block_matchers"`
	EnableQueryStats bool                   `protobuf:"varint,2,opt,name=enable_query_stats,json=enableQueryStats,proto3" json:"enable_query_stats,omitempty"`
}

func (*SeriesRequestHints) Descriptor added in v0.14.0

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

func (*SeriesRequestHints) Marshal added in v0.14.0

func (m *SeriesRequestHints) Marshal() (dAtA []byte, err error)

func (*SeriesRequestHints) MarshalTo added in v0.14.0

func (m *SeriesRequestHints) MarshalTo(dAtA []byte) (int, error)

func (*SeriesRequestHints) MarshalToSizedBuffer added in v0.14.0

func (m *SeriesRequestHints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SeriesRequestHints) ProtoMessage added in v0.14.0

func (*SeriesRequestHints) ProtoMessage()

func (*SeriesRequestHints) Reset added in v0.14.0

func (m *SeriesRequestHints) Reset()

func (*SeriesRequestHints) Size added in v0.14.0

func (m *SeriesRequestHints) Size() (n int)

func (*SeriesRequestHints) String added in v0.14.0

func (m *SeriesRequestHints) String() string

func (*SeriesRequestHints) Unmarshal added in v0.14.0

func (m *SeriesRequestHints) Unmarshal(dAtA []byte) error

func (*SeriesRequestHints) XXX_DiscardUnknown added in v0.14.0

func (m *SeriesRequestHints) XXX_DiscardUnknown()

func (*SeriesRequestHints) XXX_Marshal added in v0.14.0

func (m *SeriesRequestHints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SeriesRequestHints) XXX_Merge added in v0.14.0

func (m *SeriesRequestHints) XXX_Merge(src proto.Message)

func (*SeriesRequestHints) XXX_Size added in v0.14.0

func (m *SeriesRequestHints) XXX_Size() int

func (*SeriesRequestHints) XXX_Unmarshal added in v0.14.0

func (m *SeriesRequestHints) XXX_Unmarshal(b []byte) error

type SeriesResponseHints

type SeriesResponseHints struct {
	/// queried_blocks is the list of blocks that have been queried.
	QueriedBlocks []Block `protobuf:"bytes,1,rep,name=queried_blocks,json=queriedBlocks,proto3" json:"queried_blocks"`
	/// query_stats contains statistics of querying store gateway.
	QueryStats *QueryStats `protobuf:"bytes,2,opt,name=query_stats,json=queryStats,proto3" json:"query_stats,omitempty"`
}

func (*SeriesResponseHints) AddQueriedBlock

func (m *SeriesResponseHints) AddQueriedBlock(id ulid.ULID)

func (*SeriesResponseHints) Descriptor

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

func (*SeriesResponseHints) Marshal

func (m *SeriesResponseHints) Marshal() (dAtA []byte, err error)

func (*SeriesResponseHints) MarshalTo

func (m *SeriesResponseHints) MarshalTo(dAtA []byte) (int, error)

func (*SeriesResponseHints) MarshalToSizedBuffer

func (m *SeriesResponseHints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SeriesResponseHints) ProtoMessage

func (*SeriesResponseHints) ProtoMessage()

func (*SeriesResponseHints) Reset

func (m *SeriesResponseHints) Reset()

func (*SeriesResponseHints) Size

func (m *SeriesResponseHints) Size() (n int)

func (*SeriesResponseHints) String

func (m *SeriesResponseHints) String() string

func (*SeriesResponseHints) Unmarshal

func (m *SeriesResponseHints) Unmarshal(dAtA []byte) error

func (*SeriesResponseHints) XXX_DiscardUnknown

func (m *SeriesResponseHints) XXX_DiscardUnknown()

func (*SeriesResponseHints) XXX_Marshal

func (m *SeriesResponseHints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SeriesResponseHints) XXX_Merge

func (m *SeriesResponseHints) XXX_Merge(src proto.Message)

func (*SeriesResponseHints) XXX_Size

func (m *SeriesResponseHints) XXX_Size() int

func (*SeriesResponseHints) XXX_Unmarshal

func (m *SeriesResponseHints) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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