Versions in this module Expand all Collapse all v0 v0.26.0 Apr 9, 2022 Changes in this version + var ErrIntOverflowRpc = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupRpc = fmt.Errorf("proto: unexpected end of group") + func RegisterExemplarsServer(s *grpc.Server, srv ExemplarsServer) + type Exemplar struct + Labels labelpb.ZLabelSet + Ts int64 + Value float64 + func ExemplarsFromPromExemplars(exemplars []exemplar.Exemplar) []*Exemplar + func (*Exemplar) Descriptor() ([]byte, []int) + func (*Exemplar) ProtoMessage() + func (e1 *Exemplar) Compare(e2 *Exemplar) int + func (m *Exemplar) Marshal() (dAtA []byte, err error) + func (m *Exemplar) MarshalJSON() ([]byte, error) + func (m *Exemplar) MarshalTo(dAtA []byte) (int, error) + func (m *Exemplar) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Exemplar) Reset() + func (m *Exemplar) Size() (n int) + func (m *Exemplar) String() string + func (m *Exemplar) Unmarshal(dAtA []byte) error + func (m *Exemplar) UnmarshalJSON(b []byte) error + func (m *Exemplar) XXX_DiscardUnknown() + func (m *Exemplar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Exemplar) XXX_Merge(src proto.Message) + func (m *Exemplar) XXX_Size() int + func (m *Exemplar) XXX_Unmarshal(b []byte) error + type ExemplarData struct + Exemplars []*Exemplar + SeriesLabels labelpb.ZLabelSet + func (*ExemplarData) Descriptor() ([]byte, []int) + func (*ExemplarData) ProtoMessage() + func (m *ExemplarData) Marshal() (dAtA []byte, err error) + func (m *ExemplarData) MarshalTo(dAtA []byte) (int, error) + func (m *ExemplarData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ExemplarData) Reset() + func (m *ExemplarData) Size() (n int) + func (m *ExemplarData) String() string + func (m *ExemplarData) Unmarshal(dAtA []byte) error + func (m *ExemplarData) XXX_DiscardUnknown() + func (m *ExemplarData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExemplarData) XXX_Merge(src proto.Message) + func (m *ExemplarData) XXX_Size() int + func (m *ExemplarData) XXX_Unmarshal(b []byte) error + func (s *ExemplarData) SetSeriesLabels(ls labels.Labels) + func (s1 *ExemplarData) Compare(s2 *ExemplarData) int + type ExemplarStore struct + LabelSets []labels.Labels + type ExemplarsClient interface + Exemplars func(ctx context.Context, in *ExemplarsRequest, opts ...grpc.CallOption) (Exemplars_ExemplarsClient, error) + func NewExemplarsClient(cc *grpc.ClientConn) ExemplarsClient + type ExemplarsRequest struct + End int64 + PartialResponseStrategy storepb.PartialResponseStrategy + Query string + Start int64 + func (*ExemplarsRequest) Descriptor() ([]byte, []int) + func (*ExemplarsRequest) ProtoMessage() + func (m *ExemplarsRequest) Marshal() (dAtA []byte, err error) + func (m *ExemplarsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ExemplarsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ExemplarsRequest) Reset() + func (m *ExemplarsRequest) Size() (n int) + func (m *ExemplarsRequest) String() string + func (m *ExemplarsRequest) Unmarshal(dAtA []byte) error + func (m *ExemplarsRequest) XXX_DiscardUnknown() + func (m *ExemplarsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExemplarsRequest) XXX_Merge(src proto.Message) + func (m *ExemplarsRequest) XXX_Size() int + func (m *ExemplarsRequest) XXX_Unmarshal(b []byte) error + type ExemplarsResponse struct + Result isExemplarsResponse_Result + func NewExemplarsResponse(e *ExemplarData) *ExemplarsResponse + func NewWarningExemplarsResponse(warning error) *ExemplarsResponse + func (*ExemplarsResponse) Descriptor() ([]byte, []int) + func (*ExemplarsResponse) ProtoMessage() + func (*ExemplarsResponse) XXX_OneofWrappers() []interface{} + func (m *ExemplarsResponse) GetData() *ExemplarData + func (m *ExemplarsResponse) GetResult() isExemplarsResponse_Result + func (m *ExemplarsResponse) GetWarning() string + func (m *ExemplarsResponse) Marshal() (dAtA []byte, err error) + func (m *ExemplarsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ExemplarsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ExemplarsResponse) Reset() + func (m *ExemplarsResponse) Size() (n int) + func (m *ExemplarsResponse) String() string + func (m *ExemplarsResponse) Unmarshal(dAtA []byte) error + func (m *ExemplarsResponse) XXX_DiscardUnknown() + func (m *ExemplarsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExemplarsResponse) XXX_Merge(src proto.Message) + func (m *ExemplarsResponse) XXX_Size() int + func (m *ExemplarsResponse) XXX_Unmarshal(b []byte) error + type ExemplarsResponse_Data struct + Data *ExemplarData + func (m *ExemplarsResponse_Data) MarshalTo(dAtA []byte) (int, error) + func (m *ExemplarsResponse_Data) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ExemplarsResponse_Data) Size() (n int) + type ExemplarsResponse_Warning struct + Warning string + func (m *ExemplarsResponse_Warning) MarshalTo(dAtA []byte) (int, error) + func (m *ExemplarsResponse_Warning) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ExemplarsResponse_Warning) Size() (n int) + type ExemplarsServer interface + Exemplars func(*ExemplarsRequest, Exemplars_ExemplarsServer) error + type Exemplars_ExemplarsClient interface + Recv func() (*ExemplarsResponse, error) + type Exemplars_ExemplarsServer interface + Send func(*ExemplarsResponse) error + type UnimplementedExemplarsServer struct + func (*UnimplementedExemplarsServer) Exemplars(req *ExemplarsRequest, srv Exemplars_ExemplarsServer) error