Versions in this module Expand all Collapse all v1 v1.7.2 Feb 15, 2018 Changes in this version + var ErrIntOverflowRemote = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowRpc = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthRemote = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var LabelMatcher_Type_name = map[int32]string + var LabelMatcher_Type_value = map[string]int32 + func RegisterAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminClient) error + func RegisterAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterAdminServer(s *grpc.Server, srv AdminServer) + type AdminClient interface + DeleteSeries func(ctx context.Context, in *SeriesDeleteRequest, opts ...grpc.CallOption) (*SeriesDeleteResponse, error) + TSDBCleanTombstones func(ctx context.Context, in *TSDBCleanTombstonesRequest, opts ...grpc.CallOption) (*TSDBCleanTombstonesResponse, error) + TSDBSnapshot func(ctx context.Context, in *TSDBSnapshotRequest, opts ...grpc.CallOption) (*TSDBSnapshotResponse, error) + func NewAdminClient(cc *grpc.ClientConn) AdminClient + type AdminServer interface + DeleteSeries func(context.Context, *SeriesDeleteRequest) (*SeriesDeleteResponse, error) + TSDBCleanTombstones func(context.Context, *TSDBCleanTombstonesRequest) (*TSDBCleanTombstonesResponse, error) + TSDBSnapshot func(context.Context, *TSDBSnapshotRequest) (*TSDBSnapshotResponse, error) + type Label struct + Name string + Value string + func (*Label) Descriptor() ([]byte, []int) + func (*Label) ProtoMessage() + func (m *Label) GetName() string + func (m *Label) GetValue() string + func (m *Label) Marshal() (dAtA []byte, err error) + func (m *Label) MarshalTo(dAtA []byte) (int, error) + func (m *Label) Reset() + func (m *Label) Size() (n int) + func (m *Label) String() string + func (m *Label) Unmarshal(dAtA []byte) error + type LabelMatcher struct + Name string + Type LabelMatcher_Type + Value string + func (*LabelMatcher) Descriptor() ([]byte, []int) + func (*LabelMatcher) ProtoMessage() + func (m *LabelMatcher) GetName() string + func (m *LabelMatcher) GetType() LabelMatcher_Type + func (m *LabelMatcher) GetValue() string + func (m *LabelMatcher) Marshal() (dAtA []byte, err error) + func (m *LabelMatcher) MarshalTo(dAtA []byte) (int, error) + func (m *LabelMatcher) Reset() + func (m *LabelMatcher) Size() (n int) + func (m *LabelMatcher) String() string + func (m *LabelMatcher) Unmarshal(dAtA []byte) error + type LabelMatcher_Type int32 + const LabelMatcher_EQ + const LabelMatcher_NEQ + const LabelMatcher_NRE + const LabelMatcher_RE + func (LabelMatcher_Type) EnumDescriptor() ([]byte, []int) + func (x LabelMatcher_Type) String() string + type Labels struct + Labels []Label + func (*Labels) Descriptor() ([]byte, []int) + func (*Labels) ProtoMessage() + func (m *Labels) GetLabels() []Label + func (m *Labels) Marshal() (dAtA []byte, err error) + func (m *Labels) MarshalTo(dAtA []byte) (int, error) + func (m *Labels) Reset() + func (m *Labels) Size() (n int) + func (m *Labels) String() string + func (m *Labels) Unmarshal(dAtA []byte) error + type Query struct + EndTimestampMs int64 + Matchers []*LabelMatcher + StartTimestampMs int64 + func (*Query) Descriptor() ([]byte, []int) + func (*Query) ProtoMessage() + func (m *Query) GetEndTimestampMs() int64 + func (m *Query) GetMatchers() []*LabelMatcher + func (m *Query) GetStartTimestampMs() int64 + func (m *Query) Marshal() (dAtA []byte, err error) + func (m *Query) MarshalTo(dAtA []byte) (int, error) + func (m *Query) Reset() + func (m *Query) Size() (n int) + func (m *Query) String() string + func (m *Query) Unmarshal(dAtA []byte) error + type QueryResult struct + Timeseries []*TimeSeries + func (*QueryResult) Descriptor() ([]byte, []int) + func (*QueryResult) ProtoMessage() + func (m *QueryResult) GetTimeseries() []*TimeSeries + func (m *QueryResult) Marshal() (dAtA []byte, err error) + func (m *QueryResult) MarshalTo(dAtA []byte) (int, error) + func (m *QueryResult) Reset() + func (m *QueryResult) Size() (n int) + func (m *QueryResult) String() string + func (m *QueryResult) Unmarshal(dAtA []byte) error + type ReadRequest struct + Queries []*Query + func (*ReadRequest) Descriptor() ([]byte, []int) + func (*ReadRequest) ProtoMessage() + func (m *ReadRequest) GetQueries() []*Query + func (m *ReadRequest) Marshal() (dAtA []byte, err error) + func (m *ReadRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ReadRequest) Reset() + func (m *ReadRequest) Size() (n int) + func (m *ReadRequest) String() string + func (m *ReadRequest) Unmarshal(dAtA []byte) error + type ReadResponse struct + Results []*QueryResult + func (*ReadResponse) Descriptor() ([]byte, []int) + func (*ReadResponse) ProtoMessage() + func (m *ReadResponse) GetResults() []*QueryResult + func (m *ReadResponse) Marshal() (dAtA []byte, err error) + func (m *ReadResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ReadResponse) Reset() + func (m *ReadResponse) Size() (n int) + func (m *ReadResponse) String() string + func (m *ReadResponse) Unmarshal(dAtA []byte) error + type Sample struct + Timestamp int64 + Value float64 + func (*Sample) Descriptor() ([]byte, []int) + func (*Sample) ProtoMessage() + func (m *Sample) GetTimestamp() int64 + func (m *Sample) GetValue() float64 + func (m *Sample) Marshal() (dAtA []byte, err error) + func (m *Sample) MarshalTo(dAtA []byte) (int, error) + func (m *Sample) Reset() + func (m *Sample) Size() (n int) + func (m *Sample) String() string + func (m *Sample) Unmarshal(dAtA []byte) error + type SeriesDeleteRequest struct + Matchers []LabelMatcher + MaxTime *time.Time + MinTime *time.Time + func (*SeriesDeleteRequest) Descriptor() ([]byte, []int) + func (*SeriesDeleteRequest) ProtoMessage() + func (m *SeriesDeleteRequest) Marshal() (dAtA []byte, err error) + func (m *SeriesDeleteRequest) MarshalTo(dAtA []byte) (int, error) + func (m *SeriesDeleteRequest) Reset() + func (m *SeriesDeleteRequest) Size() (n int) + func (m *SeriesDeleteRequest) String() string + func (m *SeriesDeleteRequest) Unmarshal(dAtA []byte) error + type SeriesDeleteResponse struct + func (*SeriesDeleteResponse) Descriptor() ([]byte, []int) + func (*SeriesDeleteResponse) ProtoMessage() + func (m *SeriesDeleteResponse) Marshal() (dAtA []byte, err error) + func (m *SeriesDeleteResponse) MarshalTo(dAtA []byte) (int, error) + func (m *SeriesDeleteResponse) Reset() + func (m *SeriesDeleteResponse) Size() (n int) + func (m *SeriesDeleteResponse) String() string + func (m *SeriesDeleteResponse) Unmarshal(dAtA []byte) error + type TSDBCleanTombstonesRequest struct + func (*TSDBCleanTombstonesRequest) Descriptor() ([]byte, []int) + func (*TSDBCleanTombstonesRequest) ProtoMessage() + func (m *TSDBCleanTombstonesRequest) Marshal() (dAtA []byte, err error) + func (m *TSDBCleanTombstonesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *TSDBCleanTombstonesRequest) Reset() + func (m *TSDBCleanTombstonesRequest) Size() (n int) + func (m *TSDBCleanTombstonesRequest) String() string + func (m *TSDBCleanTombstonesRequest) Unmarshal(dAtA []byte) error + type TSDBCleanTombstonesResponse struct + func (*TSDBCleanTombstonesResponse) Descriptor() ([]byte, []int) + func (*TSDBCleanTombstonesResponse) ProtoMessage() + func (m *TSDBCleanTombstonesResponse) Marshal() (dAtA []byte, err error) + func (m *TSDBCleanTombstonesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *TSDBCleanTombstonesResponse) Reset() + func (m *TSDBCleanTombstonesResponse) Size() (n int) + func (m *TSDBCleanTombstonesResponse) String() string + func (m *TSDBCleanTombstonesResponse) Unmarshal(dAtA []byte) error + type TSDBSnapshotRequest struct + func (*TSDBSnapshotRequest) Descriptor() ([]byte, []int) + func (*TSDBSnapshotRequest) ProtoMessage() + func (m *TSDBSnapshotRequest) Marshal() (dAtA []byte, err error) + func (m *TSDBSnapshotRequest) MarshalTo(dAtA []byte) (int, error) + func (m *TSDBSnapshotRequest) Reset() + func (m *TSDBSnapshotRequest) Size() (n int) + func (m *TSDBSnapshotRequest) String() string + func (m *TSDBSnapshotRequest) Unmarshal(dAtA []byte) error + type TSDBSnapshotResponse struct + Name string + func (*TSDBSnapshotResponse) Descriptor() ([]byte, []int) + func (*TSDBSnapshotResponse) ProtoMessage() + func (m *TSDBSnapshotResponse) Marshal() (dAtA []byte, err error) + func (m *TSDBSnapshotResponse) MarshalTo(dAtA []byte) (int, error) + func (m *TSDBSnapshotResponse) Reset() + func (m *TSDBSnapshotResponse) Size() (n int) + func (m *TSDBSnapshotResponse) String() string + func (m *TSDBSnapshotResponse) Unmarshal(dAtA []byte) error + type TimeSeries struct + Labels []*Label + Samples []*Sample + func (*TimeSeries) Descriptor() ([]byte, []int) + func (*TimeSeries) ProtoMessage() + func (m *TimeSeries) GetLabels() []*Label + func (m *TimeSeries) GetSamples() []*Sample + func (m *TimeSeries) Marshal() (dAtA []byte, err error) + func (m *TimeSeries) MarshalTo(dAtA []byte) (int, error) + func (m *TimeSeries) Reset() + func (m *TimeSeries) Size() (n int) + func (m *TimeSeries) String() string + func (m *TimeSeries) Unmarshal(dAtA []byte) error + type WriteRequest struct + Timeseries []*TimeSeries + func (*WriteRequest) Descriptor() ([]byte, []int) + func (*WriteRequest) ProtoMessage() + func (m *WriteRequest) GetTimeseries() []*TimeSeries + func (m *WriteRequest) Marshal() (dAtA []byte, err error) + func (m *WriteRequest) MarshalTo(dAtA []byte) (int, error) + func (m *WriteRequest) Reset() + func (m *WriteRequest) Size() (n int) + func (m *WriteRequest) String() string + func (m *WriteRequest) Unmarshal(dAtA []byte) error