pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 30 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_metric_proto protoreflect.FileDescriptor

Functions

func MetricMetaServiceClientType

func MetricMetaServiceClientType() reflect.Type

MetricMetaServiceClientType .

func MetricMetaServiceHandlerType

func MetricMetaServiceHandlerType() reflect.Type

MetricMetaServiceHandlerType .

func MetricMetaServiceServerType

func MetricMetaServiceServerType() reflect.Type

MetricMetaServiceServerType .

func MetricServiceClientType

func MetricServiceClientType() reflect.Type

MetricServiceClientType .

func MetricServiceHandlerType

func MetricServiceHandlerType() reflect.Type

MetricServiceHandlerType .

func MetricServiceServerType

func MetricServiceServerType() reflect.Type

MetricServiceServerType .

func RegisterMetricMetaServiceHandler

func RegisterMetricMetaServiceHandler(r http.Router, srv MetricMetaServiceHandler, opts ...http.HandleOption)

RegisterMetricMetaServiceHandler register MetricMetaServiceHandler to http.Router.

func RegisterMetricMetaServiceImp

func RegisterMetricMetaServiceImp(regester transport.Register, srv MetricMetaServiceServer, opts ...transport.ServiceOption)

RegisterMetricMetaServiceImp meta.proto

func RegisterMetricMetaServiceServer

func RegisterMetricMetaServiceServer(s grpc1.ServiceRegistrar, srv MetricMetaServiceServer, opts ...grpc1.HandleOption)

func RegisterMetricServiceHandler

func RegisterMetricServiceHandler(r http.Router, srv MetricServiceHandler, opts ...http.HandleOption)

RegisterMetricServiceHandler register MetricServiceHandler to http.Router.

func RegisterMetricServiceImp

func RegisterMetricServiceImp(regester transport.Register, srv MetricServiceServer, opts ...transport.ServiceOption)

RegisterMetricServiceImp metric.proto

func RegisterMetricServiceServer

func RegisterMetricServiceServer(s grpc1.ServiceRegistrar, srv MetricServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type Aggregation

type Aggregation struct {
	Aggregation string `protobuf:"bytes,1,opt,name=aggregation,proto3" json:"aggregation,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ResultType  string `protobuf:"bytes,3,opt,name=result_type,proto3" json:"result_type,omitempty"`
	// contains filtered or unexported fields
}

func (*Aggregation) Descriptor deprecated

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

Deprecated: Use Aggregation.ProtoReflect.Descriptor instead.

func (*Aggregation) GetAggregation

func (x *Aggregation) GetAggregation() string

func (*Aggregation) GetName

func (x *Aggregation) GetName() string

func (*Aggregation) GetResultType

func (x *Aggregation) GetResultType() string

func (*Aggregation) MarshalJSON

func (m *Aggregation) MarshalJSON() ([]byte, error)

Aggregation implement json.Marshaler.

func (*Aggregation) ProtoMessage

func (*Aggregation) ProtoMessage()

func (*Aggregation) ProtoReflect

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

func (*Aggregation) Reset

func (x *Aggregation) Reset()

func (*Aggregation) String

func (x *Aggregation) String() string

func (*Aggregation) UnmarshalJSON

func (m *Aggregation) UnmarshalJSON(b []byte) error

Aggregation implement json.Marshaler.

func (*Aggregation) UnmarshalURLValues

func (m *Aggregation) UnmarshalURLValues(prefix string, values url.Values) error

Aggregation implement urlenc.URLValuesUnmarshaler.

func (*Aggregation) Validate

func (this *Aggregation) Validate() error

type FieldDefine

type FieldDefine struct {
	Key    string         `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Type   string         `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Name   string         `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Unit   string         `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"`
	Values []*ValueDefine `protobuf:"bytes,5,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldDefine) Descriptor deprecated

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

Deprecated: Use FieldDefine.ProtoReflect.Descriptor instead.

func (*FieldDefine) GetKey

func (x *FieldDefine) GetKey() string

func (*FieldDefine) GetName

func (x *FieldDefine) GetName() string

func (*FieldDefine) GetType

func (x *FieldDefine) GetType() string

func (*FieldDefine) GetUnit

func (x *FieldDefine) GetUnit() string

func (*FieldDefine) GetValues

func (x *FieldDefine) GetValues() []*ValueDefine

func (*FieldDefine) MarshalJSON

func (m *FieldDefine) MarshalJSON() ([]byte, error)

FieldDefine implement json.Marshaler.

func (*FieldDefine) ProtoMessage

func (*FieldDefine) ProtoMessage()

func (*FieldDefine) ProtoReflect

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

func (*FieldDefine) Reset

func (x *FieldDefine) Reset()

func (*FieldDefine) String

func (x *FieldDefine) String() string

func (*FieldDefine) UnmarshalJSON

func (m *FieldDefine) UnmarshalJSON(b []byte) error

FieldDefine implement json.Marshaler.

func (*FieldDefine) UnmarshalURLValues

func (m *FieldDefine) UnmarshalURLValues(prefix string, values url.Values) error

FieldDefine implement urlenc.URLValuesUnmarshaler.

func (*FieldDefine) Validate

func (this *FieldDefine) Validate() error

type Filter

type Filter struct {
	Key   string          `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Op    string          `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"`
	Value *structpb.Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

common

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetKey

func (x *Filter) GetKey() string

func (*Filter) GetOp

func (x *Filter) GetOp() string

func (*Filter) GetValue

func (x *Filter) GetValue() *structpb.Value

func (*Filter) MarshalJSON

func (m *Filter) MarshalJSON() ([]byte, error)

Filter implement json.Marshaler.

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

func (*Filter) UnmarshalJSON

func (m *Filter) UnmarshalJSON(b []byte) error

Filter implement json.Marshaler.

func (*Filter) UnmarshalURLValues

func (m *Filter) UnmarshalURLValues(prefix string, values url.Values) error

Filter implement urlenc.URLValuesUnmarshaler.

func (*Filter) Validate

func (this *Filter) Validate() error

type GeneralQueryRequest

type GeneralQueryRequest struct {
	Ql        string                     `protobuf:"bytes,1,opt,name=ql,proto3" json:"ql,omitempty"`
	Statement string                     `protobuf:"bytes,2,opt,name=statement,proto3" json:"statement,omitempty"`
	Format    string                     `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
	Params    map[string]*structpb.Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

GeneralQuery

func (*GeneralQueryRequest) Descriptor deprecated

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

Deprecated: Use GeneralQueryRequest.ProtoReflect.Descriptor instead.

func (*GeneralQueryRequest) GetFormat

func (x *GeneralQueryRequest) GetFormat() string

func (*GeneralQueryRequest) GetParams

func (x *GeneralQueryRequest) GetParams() map[string]*structpb.Value

func (*GeneralQueryRequest) GetQl

func (x *GeneralQueryRequest) GetQl() string

func (*GeneralQueryRequest) GetStatement

func (x *GeneralQueryRequest) GetStatement() string

func (*GeneralQueryRequest) MarshalJSON

func (m *GeneralQueryRequest) MarshalJSON() ([]byte, error)

GeneralQueryRequest implement json.Marshaler.

func (*GeneralQueryRequest) ProtoMessage

func (*GeneralQueryRequest) ProtoMessage()

func (*GeneralQueryRequest) ProtoReflect

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

func (*GeneralQueryRequest) Reset

func (x *GeneralQueryRequest) Reset()

func (*GeneralQueryRequest) String

func (x *GeneralQueryRequest) String() string

func (*GeneralQueryRequest) UnmarshalJSON

func (m *GeneralQueryRequest) UnmarshalJSON(b []byte) error

GeneralQueryRequest implement json.Marshaler.

func (*GeneralQueryRequest) UnmarshalURLValues

func (m *GeneralQueryRequest) UnmarshalURLValues(prefix string, values url.Values) error

GeneralQueryRequest implement urlenc.URLValuesUnmarshaler.

func (*GeneralQueryRequest) Validate

func (this *GeneralQueryRequest) Validate() error

type GeneralQueryResponse

type GeneralQueryResponse struct {
	Data *structpb.Value `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GeneralQueryResponse) Descriptor deprecated

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

Deprecated: Use GeneralQueryResponse.ProtoReflect.Descriptor instead.

func (*GeneralQueryResponse) GetData

func (x *GeneralQueryResponse) GetData() *structpb.Value

func (*GeneralQueryResponse) MarshalJSON

func (m *GeneralQueryResponse) MarshalJSON() ([]byte, error)

GeneralQueryResponse implement json.Marshaler.

func (*GeneralQueryResponse) ProtoMessage

func (*GeneralQueryResponse) ProtoMessage()

func (*GeneralQueryResponse) ProtoReflect

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

func (*GeneralQueryResponse) Reset

func (x *GeneralQueryResponse) Reset()

func (*GeneralQueryResponse) String

func (x *GeneralQueryResponse) String() string

func (*GeneralQueryResponse) UnmarshalJSON

func (m *GeneralQueryResponse) UnmarshalJSON(b []byte) error

GeneralQueryResponse implement json.Marshaler.

func (*GeneralQueryResponse) UnmarshalURLValues

func (m *GeneralQueryResponse) UnmarshalURLValues(prefix string, values url.Values) error

GeneralQueryResponse implement urlenc.URLValuesUnmarshaler.

func (*GeneralQueryResponse) Validate

func (this *GeneralQueryResponse) Validate() error

type GetMetricGroupRequest

type GetMetricGroupRequest struct {
	Scope      string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeID    string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"`
	Id         string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Mode       string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"`
	Version    string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Format     string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"`
	AppendTags bool   `protobuf:"varint,7,opt,name=appendTags,proto3" json:"appendTags,omitempty"`
	// contains filtered or unexported fields
}

GetMetricGroup

func (*GetMetricGroupRequest) Descriptor deprecated

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

Deprecated: Use GetMetricGroupRequest.ProtoReflect.Descriptor instead.

func (*GetMetricGroupRequest) GetAppendTags

func (x *GetMetricGroupRequest) GetAppendTags() bool

func (*GetMetricGroupRequest) GetFormat

func (x *GetMetricGroupRequest) GetFormat() string

func (*GetMetricGroupRequest) GetId

func (x *GetMetricGroupRequest) GetId() string

func (*GetMetricGroupRequest) GetMode

func (x *GetMetricGroupRequest) GetMode() string

func (*GetMetricGroupRequest) GetScope

func (x *GetMetricGroupRequest) GetScope() string

func (*GetMetricGroupRequest) GetScopeID

func (x *GetMetricGroupRequest) GetScopeID() string

func (*GetMetricGroupRequest) GetVersion

func (x *GetMetricGroupRequest) GetVersion() string

func (*GetMetricGroupRequest) MarshalJSON

func (m *GetMetricGroupRequest) MarshalJSON() ([]byte, error)

GetMetricGroupRequest implement json.Marshaler.

func (*GetMetricGroupRequest) ProtoMessage

func (*GetMetricGroupRequest) ProtoMessage()

func (*GetMetricGroupRequest) ProtoReflect

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

func (*GetMetricGroupRequest) Reset

func (x *GetMetricGroupRequest) Reset()

func (*GetMetricGroupRequest) String

func (x *GetMetricGroupRequest) String() string

func (*GetMetricGroupRequest) UnmarshalJSON

func (m *GetMetricGroupRequest) UnmarshalJSON(b []byte) error

GetMetricGroupRequest implement json.Marshaler.

func (*GetMetricGroupRequest) UnmarshalURLValues

func (m *GetMetricGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetMetricGroupRequest implement urlenc.URLValuesUnmarshaler.

func (*GetMetricGroupRequest) Validate

func (this *GetMetricGroupRequest) Validate() error

type GetMetricGroupResponse

type GetMetricGroupResponse struct {
	Data *MetricGroup `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMetricGroupResponse) Descriptor deprecated

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

Deprecated: Use GetMetricGroupResponse.ProtoReflect.Descriptor instead.

func (*GetMetricGroupResponse) GetData

func (x *GetMetricGroupResponse) GetData() *MetricGroup

func (*GetMetricGroupResponse) MarshalJSON

func (m *GetMetricGroupResponse) MarshalJSON() ([]byte, error)

GetMetricGroupResponse implement json.Marshaler.

func (*GetMetricGroupResponse) ProtoMessage

func (*GetMetricGroupResponse) ProtoMessage()

func (*GetMetricGroupResponse) ProtoReflect

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

func (*GetMetricGroupResponse) Reset

func (x *GetMetricGroupResponse) Reset()

func (*GetMetricGroupResponse) String

func (x *GetMetricGroupResponse) String() string

func (*GetMetricGroupResponse) UnmarshalJSON

func (m *GetMetricGroupResponse) UnmarshalJSON(b []byte) error

GetMetricGroupResponse implement json.Marshaler.

func (*GetMetricGroupResponse) UnmarshalURLValues

func (m *GetMetricGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetMetricGroupResponse implement urlenc.URLValuesUnmarshaler.

func (*GetMetricGroupResponse) Validate

func (this *GetMetricGroupResponse) Validate() error

type Group

type Group struct {
	Id       string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Order    int32    `protobuf:"varint,3,opt,name=order,proto3" json:"order,omitempty"`
	Children []*Group `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetChildren

func (x *Group) GetChildren() []*Group

func (*Group) GetId

func (x *Group) GetId() string

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetOrder

func (x *Group) GetOrder() int32

func (*Group) MarshalJSON

func (m *Group) MarshalJSON() ([]byte, error)

Group implement json.Marshaler.

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

func (*Group) UnmarshalJSON

func (m *Group) UnmarshalJSON(b []byte) error

Group implement json.Marshaler.

func (*Group) UnmarshalURLValues

func (m *Group) UnmarshalURLValues(prefix string, values url.Values) error

Group implement urlenc.URLValuesUnmarshaler.

func (*Group) Validate

func (this *Group) Validate() error

type GroupMetricMeta

type GroupMetricMeta struct {
	Metric  string         `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
	Name    string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Filters []*TagFilter   `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	Fields  []*FieldDefine `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
	Tags    []*TagDefine   `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupMetricMeta) Descriptor deprecated

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

Deprecated: Use GroupMetricMeta.ProtoReflect.Descriptor instead.

func (*GroupMetricMeta) GetFields

func (x *GroupMetricMeta) GetFields() []*FieldDefine

func (*GroupMetricMeta) GetFilters

func (x *GroupMetricMeta) GetFilters() []*TagFilter

func (*GroupMetricMeta) GetMetric

func (x *GroupMetricMeta) GetMetric() string

func (*GroupMetricMeta) GetName

func (x *GroupMetricMeta) GetName() string

func (*GroupMetricMeta) GetTags

func (x *GroupMetricMeta) GetTags() []*TagDefine

func (*GroupMetricMeta) MarshalJSON

func (m *GroupMetricMeta) MarshalJSON() ([]byte, error)

GroupMetricMeta implement json.Marshaler.

func (*GroupMetricMeta) ProtoMessage

func (*GroupMetricMeta) ProtoMessage()

func (*GroupMetricMeta) ProtoReflect

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

func (*GroupMetricMeta) Reset

func (x *GroupMetricMeta) Reset()

func (*GroupMetricMeta) String

func (x *GroupMetricMeta) String() string

func (*GroupMetricMeta) UnmarshalJSON

func (m *GroupMetricMeta) UnmarshalJSON(b []byte) error

GroupMetricMeta implement json.Marshaler.

func (*GroupMetricMeta) UnmarshalURLValues

func (m *GroupMetricMeta) UnmarshalURLValues(prefix string, values url.Values) error

GroupMetricMeta implement urlenc.URLValuesUnmarshaler.

func (*GroupMetricMeta) Validate

func (this *GroupMetricMeta) Validate() error

type ListMetricGroupsRequest

type ListMetricGroupsRequest struct {
	Scope   string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeID string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"`
	Mode    string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

ListMetricGroups

func (*ListMetricGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListMetricGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListMetricGroupsRequest) GetMode

func (x *ListMetricGroupsRequest) GetMode() string

func (*ListMetricGroupsRequest) GetScope

func (x *ListMetricGroupsRequest) GetScope() string

func (*ListMetricGroupsRequest) GetScopeID

func (x *ListMetricGroupsRequest) GetScopeID() string

func (*ListMetricGroupsRequest) MarshalJSON

func (m *ListMetricGroupsRequest) MarshalJSON() ([]byte, error)

ListMetricGroupsRequest implement json.Marshaler.

func (*ListMetricGroupsRequest) ProtoMessage

func (*ListMetricGroupsRequest) ProtoMessage()

func (*ListMetricGroupsRequest) ProtoReflect

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

func (*ListMetricGroupsRequest) Reset

func (x *ListMetricGroupsRequest) Reset()

func (*ListMetricGroupsRequest) String

func (x *ListMetricGroupsRequest) String() string

func (*ListMetricGroupsRequest) UnmarshalJSON

func (m *ListMetricGroupsRequest) UnmarshalJSON(b []byte) error

ListMetricGroupsRequest implement json.Marshaler.

func (*ListMetricGroupsRequest) UnmarshalURLValues

func (m *ListMetricGroupsRequest) UnmarshalURLValues(prefix string, values url.Values) error

ListMetricGroupsRequest implement urlenc.URLValuesUnmarshaler.

func (*ListMetricGroupsRequest) Validate

func (this *ListMetricGroupsRequest) Validate() error

type ListMetricGroupsResponse

type ListMetricGroupsResponse struct {
	Data []*Group `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMetricGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListMetricGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListMetricGroupsResponse) GetData

func (x *ListMetricGroupsResponse) GetData() []*Group

func (*ListMetricGroupsResponse) MarshalJSON

func (m *ListMetricGroupsResponse) MarshalJSON() ([]byte, error)

ListMetricGroupsResponse implement json.Marshaler.

func (*ListMetricGroupsResponse) ProtoMessage

func (*ListMetricGroupsResponse) ProtoMessage()

func (*ListMetricGroupsResponse) ProtoReflect

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

func (*ListMetricGroupsResponse) Reset

func (x *ListMetricGroupsResponse) Reset()

func (*ListMetricGroupsResponse) String

func (x *ListMetricGroupsResponse) String() string

func (*ListMetricGroupsResponse) UnmarshalJSON

func (m *ListMetricGroupsResponse) UnmarshalJSON(b []byte) error

ListMetricGroupsResponse implement json.Marshaler.

func (*ListMetricGroupsResponse) UnmarshalURLValues

func (m *ListMetricGroupsResponse) UnmarshalURLValues(prefix string, values url.Values) error

ListMetricGroupsResponse implement urlenc.URLValuesUnmarshaler.

func (*ListMetricGroupsResponse) Validate

func (this *ListMetricGroupsResponse) Validate() error

type ListMetricMetaRequest

type ListMetricMetaRequest struct {
	Scope   string   `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeID string   `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"`
	Metrics []string `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

ListMetricMeta

func (*ListMetricMetaRequest) Descriptor deprecated

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

Deprecated: Use ListMetricMetaRequest.ProtoReflect.Descriptor instead.

func (*ListMetricMetaRequest) GetMetrics

func (x *ListMetricMetaRequest) GetMetrics() []string

func (*ListMetricMetaRequest) GetScope

func (x *ListMetricMetaRequest) GetScope() string

func (*ListMetricMetaRequest) GetScopeID

func (x *ListMetricMetaRequest) GetScopeID() string

func (*ListMetricMetaRequest) MarshalJSON

func (m *ListMetricMetaRequest) MarshalJSON() ([]byte, error)

ListMetricMetaRequest implement json.Marshaler.

func (*ListMetricMetaRequest) ProtoMessage

func (*ListMetricMetaRequest) ProtoMessage()

func (*ListMetricMetaRequest) ProtoReflect

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

func (*ListMetricMetaRequest) Reset

func (x *ListMetricMetaRequest) Reset()

func (*ListMetricMetaRequest) String

func (x *ListMetricMetaRequest) String() string

func (*ListMetricMetaRequest) UnmarshalJSON

func (m *ListMetricMetaRequest) UnmarshalJSON(b []byte) error

ListMetricMetaRequest implement json.Marshaler.

func (*ListMetricMetaRequest) UnmarshalURLValues

func (m *ListMetricMetaRequest) UnmarshalURLValues(prefix string, values url.Values) error

ListMetricMetaRequest implement urlenc.URLValuesUnmarshaler.

func (*ListMetricMetaRequest) Validate

func (this *ListMetricMetaRequest) Validate() error

type ListMetricMetaResponse

type ListMetricMetaResponse struct {
	Data []*MetricMeta `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMetricMetaResponse) Descriptor deprecated

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

Deprecated: Use ListMetricMetaResponse.ProtoReflect.Descriptor instead.

func (*ListMetricMetaResponse) GetData

func (x *ListMetricMetaResponse) GetData() []*MetricMeta

func (*ListMetricMetaResponse) MarshalJSON

func (m *ListMetricMetaResponse) MarshalJSON() ([]byte, error)

ListMetricMetaResponse implement json.Marshaler.

func (*ListMetricMetaResponse) ProtoMessage

func (*ListMetricMetaResponse) ProtoMessage()

func (*ListMetricMetaResponse) ProtoReflect

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

func (*ListMetricMetaResponse) Reset

func (x *ListMetricMetaResponse) Reset()

func (*ListMetricMetaResponse) String

func (x *ListMetricMetaResponse) String() string

func (*ListMetricMetaResponse) UnmarshalJSON

func (m *ListMetricMetaResponse) UnmarshalJSON(b []byte) error

ListMetricMetaResponse implement json.Marshaler.

func (*ListMetricMetaResponse) UnmarshalURLValues

func (m *ListMetricMetaResponse) UnmarshalURLValues(prefix string, values url.Values) error

ListMetricMetaResponse implement urlenc.URLValuesUnmarshaler.

func (*ListMetricMetaResponse) Validate

func (this *ListMetricMetaResponse) Validate() error

type ListMetricNamesRequest

type ListMetricNamesRequest struct {
	Scope   string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeID string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"`
	// contains filtered or unexported fields
}

ListMetricNames

func (*ListMetricNamesRequest) Descriptor deprecated

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

Deprecated: Use ListMetricNamesRequest.ProtoReflect.Descriptor instead.

func (*ListMetricNamesRequest) GetScope

func (x *ListMetricNamesRequest) GetScope() string

func (*ListMetricNamesRequest) GetScopeID

func (x *ListMetricNamesRequest) GetScopeID() string

func (*ListMetricNamesRequest) MarshalJSON

func (m *ListMetricNamesRequest) MarshalJSON() ([]byte, error)

ListMetricNamesRequest implement json.Marshaler.

func (*ListMetricNamesRequest) ProtoMessage

func (*ListMetricNamesRequest) ProtoMessage()

func (*ListMetricNamesRequest) ProtoReflect

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

func (*ListMetricNamesRequest) Reset

func (x *ListMetricNamesRequest) Reset()

func (*ListMetricNamesRequest) String

func (x *ListMetricNamesRequest) String() string

func (*ListMetricNamesRequest) UnmarshalJSON

func (m *ListMetricNamesRequest) UnmarshalJSON(b []byte) error

ListMetricNamesRequest implement json.Marshaler.

func (*ListMetricNamesRequest) UnmarshalURLValues

func (m *ListMetricNamesRequest) UnmarshalURLValues(prefix string, values url.Values) error

ListMetricNamesRequest implement urlenc.URLValuesUnmarshaler.

func (*ListMetricNamesRequest) Validate

func (this *ListMetricNamesRequest) Validate() error

type ListMetricNamesResponse

type ListMetricNamesResponse struct {
	Data []*NameDefine `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMetricNamesResponse) Descriptor deprecated

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

Deprecated: Use ListMetricNamesResponse.ProtoReflect.Descriptor instead.

func (*ListMetricNamesResponse) GetData

func (x *ListMetricNamesResponse) GetData() []*NameDefine

func (*ListMetricNamesResponse) MarshalJSON

func (m *ListMetricNamesResponse) MarshalJSON() ([]byte, error)

ListMetricNamesResponse implement json.Marshaler.

func (*ListMetricNamesResponse) ProtoMessage

func (*ListMetricNamesResponse) ProtoMessage()

func (*ListMetricNamesResponse) ProtoReflect

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

func (*ListMetricNamesResponse) Reset

func (x *ListMetricNamesResponse) Reset()

func (*ListMetricNamesResponse) String

func (x *ListMetricNamesResponse) String() string

func (*ListMetricNamesResponse) UnmarshalJSON

func (m *ListMetricNamesResponse) UnmarshalJSON(b []byte) error

ListMetricNamesResponse implement json.Marshaler.

func (*ListMetricNamesResponse) UnmarshalURLValues

func (m *ListMetricNamesResponse) UnmarshalURLValues(prefix string, values url.Values) error

ListMetricNamesResponse implement urlenc.URLValuesUnmarshaler.

func (*ListMetricNamesResponse) Validate

func (this *ListMetricNamesResponse) Validate() error

type MetaMode

type MetaMode struct {
	Types   map[string]*TypeDefine `` /* 151-byte string literal not displayed */
	Filters []*Operation           `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*MetaMode) Descriptor deprecated

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

Deprecated: Use MetaMode.ProtoReflect.Descriptor instead.

func (*MetaMode) GetFilters

func (x *MetaMode) GetFilters() []*Operation

func (*MetaMode) GetTypes

func (x *MetaMode) GetTypes() map[string]*TypeDefine

func (*MetaMode) MarshalJSON

func (m *MetaMode) MarshalJSON() ([]byte, error)

MetaMode implement json.Marshaler.

func (*MetaMode) ProtoMessage

func (*MetaMode) ProtoMessage()

func (*MetaMode) ProtoReflect

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

func (*MetaMode) Reset

func (x *MetaMode) Reset()

func (*MetaMode) String

func (x *MetaMode) String() string

func (*MetaMode) UnmarshalJSON

func (m *MetaMode) UnmarshalJSON(b []byte) error

MetaMode implement json.Marshaler.

func (*MetaMode) UnmarshalURLValues

func (m *MetaMode) UnmarshalURLValues(prefix string, values url.Values) error

MetaMode implement urlenc.URLValuesUnmarshaler.

func (*MetaMode) Validate

func (this *MetaMode) Validate() error

type MetricGroup

type MetricGroup struct {
	Id      string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Meta    *MetaMode          `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	Metrics []*GroupMetricMeta `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricGroup) Descriptor deprecated

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

Deprecated: Use MetricGroup.ProtoReflect.Descriptor instead.

func (*MetricGroup) GetId

func (x *MetricGroup) GetId() string

func (*MetricGroup) GetMeta

func (x *MetricGroup) GetMeta() *MetaMode

func (*MetricGroup) GetMetrics

func (x *MetricGroup) GetMetrics() []*GroupMetricMeta

func (*MetricGroup) MarshalJSON

func (m *MetricGroup) MarshalJSON() ([]byte, error)

MetricGroup implement json.Marshaler.

func (*MetricGroup) ProtoMessage

func (*MetricGroup) ProtoMessage()

func (*MetricGroup) ProtoReflect

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

func (*MetricGroup) Reset

func (x *MetricGroup) Reset()

func (*MetricGroup) String

func (x *MetricGroup) String() string

func (*MetricGroup) UnmarshalJSON

func (m *MetricGroup) UnmarshalJSON(b []byte) error

MetricGroup implement json.Marshaler.

func (*MetricGroup) UnmarshalURLValues

func (m *MetricGroup) UnmarshalURLValues(prefix string, values url.Values) error

MetricGroup implement urlenc.URLValuesUnmarshaler.

func (*MetricGroup) Validate

func (this *MetricGroup) Validate() error

type MetricMeta

type MetricMeta struct {
	Name   *NameDefine             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Labels map[string]string       `` /* 153-byte string literal not displayed */
	Tags   map[string]*TagDefine   `` /* 149-byte string literal not displayed */
	Fields map[string]*FieldDefine `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

common

func (*MetricMeta) Descriptor deprecated

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

Deprecated: Use MetricMeta.ProtoReflect.Descriptor instead.

func (*MetricMeta) GetFields

func (x *MetricMeta) GetFields() map[string]*FieldDefine

func (*MetricMeta) GetLabels

func (x *MetricMeta) GetLabels() map[string]string

func (*MetricMeta) GetName

func (x *MetricMeta) GetName() *NameDefine

func (*MetricMeta) GetTags

func (x *MetricMeta) GetTags() map[string]*TagDefine

func (*MetricMeta) MarshalJSON

func (m *MetricMeta) MarshalJSON() ([]byte, error)

MetricMeta implement json.Marshaler.

func (*MetricMeta) ProtoMessage

func (*MetricMeta) ProtoMessage()

func (*MetricMeta) ProtoReflect

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

func (*MetricMeta) Reset

func (x *MetricMeta) Reset()

func (*MetricMeta) String

func (x *MetricMeta) String() string

func (*MetricMeta) UnmarshalJSON

func (m *MetricMeta) UnmarshalJSON(b []byte) error

MetricMeta implement json.Marshaler.

func (*MetricMeta) UnmarshalURLValues

func (m *MetricMeta) UnmarshalURLValues(prefix string, values url.Values) error

MetricMeta implement urlenc.URLValuesUnmarshaler.

func (*MetricMeta) Validate

func (this *MetricMeta) Validate() error

type MetricMetaServiceClient

type MetricMetaServiceClient interface {
	ListMetricNames(ctx context.Context, in *ListMetricNamesRequest, opts ...grpc.CallOption) (*ListMetricNamesResponse, error)
	ListMetricMeta(ctx context.Context, in *ListMetricMetaRequest, opts ...grpc.CallOption) (*ListMetricMetaResponse, error)
	ListMetricGroups(ctx context.Context, in *ListMetricGroupsRequest, opts ...grpc.CallOption) (*ListMetricGroupsResponse, error)
	GetMetricGroup(ctx context.Context, in *GetMetricGroupRequest, opts ...grpc.CallOption) (*GetMetricGroupResponse, error)
}

MetricMetaServiceClient is the client API for MetricMetaService 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 MetricMetaServiceHandler

type MetricMetaServiceHandler interface {
	// GET /api/metric-names
	ListMetricNames(context.Context, *ListMetricNamesRequest) (*ListMetricNamesResponse, error)
	// GET /api/metric-meta
	ListMetricMeta(context.Context, *ListMetricMetaRequest) (*ListMetricMetaResponse, error)
	// GET /api/metric-groups
	ListMetricGroups(context.Context, *ListMetricGroupsRequest) (*ListMetricGroupsResponse, error)
	// GET /api/metric-groups/{id}
	GetMetricGroup(context.Context, *GetMetricGroupRequest) (*GetMetricGroupResponse, error)
}

MetricMetaServiceHandler is the server API for MetricMetaService service.

type MetricMetaServiceServer

MetricMetaServiceServer is the server API for MetricMetaService service. All implementations should embed UnimplementedMetricMetaServiceServer for forward compatibility

type MetricServiceClient

type MetricServiceClient interface {
	QueryWithInfluxFormat(ctx context.Context, in *QueryWithInfluxFormatRequest, opts ...grpc.CallOption) (*QueryWithInfluxFormatResponse, error)
	SearchWithInfluxFormat(ctx context.Context, in *QueryWithInfluxFormatRequest, opts ...grpc.CallOption) (*QueryWithInfluxFormatResponse, error)
	QueryWithTableFormat(ctx context.Context, in *QueryWithTableFormatRequest, opts ...grpc.CallOption) (*QueryWithTableFormatResponse, error)
	SearchWithTableFormat(ctx context.Context, in *QueryWithTableFormatRequest, opts ...grpc.CallOption) (*QueryWithTableFormatResponse, error)
	GeneralQuery(ctx context.Context, in *GeneralQueryRequest, opts ...grpc.CallOption) (*GeneralQueryResponse, error)
	GeneralSearch(ctx context.Context, in *GeneralQueryRequest, opts ...grpc.CallOption) (*GeneralQueryResponse, error)
}

MetricServiceClient is the client API for MetricService 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 MetricServiceHandler

type MetricServiceHandler interface {
	// POST /query
	QueryWithInfluxFormat(context.Context, *QueryWithInfluxFormatRequest) (*QueryWithInfluxFormatResponse, error)
	// GET /query
	SearchWithInfluxFormat(context.Context, *QueryWithInfluxFormatRequest) (*QueryWithInfluxFormatResponse, error)
	// POST /api/monitor/metric-query
	QueryWithTableFormat(context.Context, *QueryWithTableFormatRequest) (*QueryWithTableFormatResponse, error)
	// GET /api/monitor/metric-query
	SearchWithTableFormat(context.Context, *QueryWithTableFormatRequest) (*QueryWithTableFormatResponse, error)
	// POST /api/monitor/metric-general-query
	GeneralQuery(context.Context, *GeneralQueryRequest) (*GeneralQueryResponse, error)
	// GET /api/monitor/metric-general-query
	GeneralSearch(context.Context, *GeneralQueryRequest) (*GeneralQueryResponse, error)
}

MetricServiceHandler is the server API for MetricService service.

type MetricServiceServer

MetricServiceServer is the server API for MetricService service. All implementations should embed UnimplementedMetricServiceServer for forward compatibility

type NameDefine

type NameDefine struct {
	Key  string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*NameDefine) Descriptor deprecated

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

Deprecated: Use NameDefine.ProtoReflect.Descriptor instead.

func (*NameDefine) GetKey

func (x *NameDefine) GetKey() string

func (*NameDefine) GetName

func (x *NameDefine) GetName() string

func (*NameDefine) MarshalJSON

func (m *NameDefine) MarshalJSON() ([]byte, error)

NameDefine implement json.Marshaler.

func (*NameDefine) ProtoMessage

func (*NameDefine) ProtoMessage()

func (*NameDefine) ProtoReflect

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

func (*NameDefine) Reset

func (x *NameDefine) Reset()

func (*NameDefine) String

func (x *NameDefine) String() string

func (*NameDefine) UnmarshalJSON

func (m *NameDefine) UnmarshalJSON(b []byte) error

NameDefine implement json.Marshaler.

func (*NameDefine) UnmarshalURLValues

func (m *NameDefine) UnmarshalURLValues(prefix string, values url.Values) error

NameDefine implement urlenc.URLValuesUnmarshaler.

func (*NameDefine) Validate

func (this *NameDefine) Validate() error

type Operation

type Operation struct {
	Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Multi     bool   `protobuf:"varint,3,opt,name=multi,proto3" json:"multi,omitempty"`
	// contains filtered or unexported fields
}

func (*Operation) Descriptor deprecated

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetMulti

func (x *Operation) GetMulti() bool

func (*Operation) GetName

func (x *Operation) GetName() string

func (*Operation) GetOperation

func (x *Operation) GetOperation() string

func (*Operation) MarshalJSON

func (m *Operation) MarshalJSON() ([]byte, error)

Operation implement json.Marshaler.

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

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

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

func (*Operation) UnmarshalJSON

func (m *Operation) UnmarshalJSON(b []byte) error

Operation implement json.Marshaler.

func (*Operation) UnmarshalURLValues

func (m *Operation) UnmarshalURLValues(prefix string, values url.Values) error

Operation implement urlenc.URLValuesUnmarshaler.

func (*Operation) Validate

func (this *Operation) Validate() error

type QueryWithInfluxFormatRequest

type QueryWithInfluxFormatRequest struct {
	Start     string                     `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End       string                     `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	Filters   []*Filter                  `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	Options   map[string]string          `` /* 155-byte string literal not displayed */
	Statement string                     `protobuf:"bytes,5,opt,name=statement,proto3" json:"statement,omitempty"`
	Params    map[string]*structpb.Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

QueryWithInfluxFormat

func (*QueryWithInfluxFormatRequest) Descriptor deprecated

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

Deprecated: Use QueryWithInfluxFormatRequest.ProtoReflect.Descriptor instead.

func (*QueryWithInfluxFormatRequest) GetEnd

func (*QueryWithInfluxFormatRequest) GetFilters

func (x *QueryWithInfluxFormatRequest) GetFilters() []*Filter

func (*QueryWithInfluxFormatRequest) GetOptions

func (x *QueryWithInfluxFormatRequest) GetOptions() map[string]string

func (*QueryWithInfluxFormatRequest) GetParams

func (x *QueryWithInfluxFormatRequest) GetParams() map[string]*structpb.Value

func (*QueryWithInfluxFormatRequest) GetStart

func (x *QueryWithInfluxFormatRequest) GetStart() string

func (*QueryWithInfluxFormatRequest) GetStatement

func (x *QueryWithInfluxFormatRequest) GetStatement() string

func (*QueryWithInfluxFormatRequest) MarshalJSON

func (m *QueryWithInfluxFormatRequest) MarshalJSON() ([]byte, error)

QueryWithInfluxFormatRequest implement json.Marshaler.

func (*QueryWithInfluxFormatRequest) ProtoMessage

func (*QueryWithInfluxFormatRequest) ProtoMessage()

func (*QueryWithInfluxFormatRequest) ProtoReflect

func (*QueryWithInfluxFormatRequest) Reset

func (x *QueryWithInfluxFormatRequest) Reset()

func (*QueryWithInfluxFormatRequest) String

func (*QueryWithInfluxFormatRequest) UnmarshalJSON

func (m *QueryWithInfluxFormatRequest) UnmarshalJSON(b []byte) error

QueryWithInfluxFormatRequest implement json.Marshaler.

func (*QueryWithInfluxFormatRequest) UnmarshalURLValues

func (m *QueryWithInfluxFormatRequest) UnmarshalURLValues(prefix string, values url.Values) error

QueryWithInfluxFormatRequest implement urlenc.URLValuesUnmarshaler.

func (*QueryWithInfluxFormatRequest) Validate

func (this *QueryWithInfluxFormatRequest) Validate() error

type QueryWithInfluxFormatResponse

type QueryWithInfluxFormatResponse struct {
	Results []*Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryWithInfluxFormatResponse) Descriptor deprecated

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

Deprecated: Use QueryWithInfluxFormatResponse.ProtoReflect.Descriptor instead.

func (*QueryWithInfluxFormatResponse) GetResults

func (x *QueryWithInfluxFormatResponse) GetResults() []*Result

func (*QueryWithInfluxFormatResponse) MarshalJSON

func (m *QueryWithInfluxFormatResponse) MarshalJSON() ([]byte, error)

QueryWithInfluxFormatResponse implement json.Marshaler.

func (*QueryWithInfluxFormatResponse) ProtoMessage

func (*QueryWithInfluxFormatResponse) ProtoMessage()

func (*QueryWithInfluxFormatResponse) ProtoReflect

func (*QueryWithInfluxFormatResponse) Reset

func (x *QueryWithInfluxFormatResponse) Reset()

func (*QueryWithInfluxFormatResponse) String

func (*QueryWithInfluxFormatResponse) UnmarshalJSON

func (m *QueryWithInfluxFormatResponse) UnmarshalJSON(b []byte) error

QueryWithInfluxFormatResponse implement json.Marshaler.

func (*QueryWithInfluxFormatResponse) UnmarshalURLValues

func (m *QueryWithInfluxFormatResponse) UnmarshalURLValues(prefix string, values url.Values) error

QueryWithInfluxFormatResponse implement urlenc.URLValuesUnmarshaler.

func (*QueryWithInfluxFormatResponse) Validate

func (this *QueryWithInfluxFormatResponse) Validate() error

type QueryWithTableFormatRequest

type QueryWithTableFormatRequest struct {
	Start     string                     `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End       string                     `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	Filters   []*Filter                  `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	Options   map[string]string          `` /* 155-byte string literal not displayed */
	Statement string                     `protobuf:"bytes,5,opt,name=statement,proto3" json:"statement,omitempty"`
	Params    map[string]*structpb.Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

QueryWithTableFormat

func (*QueryWithTableFormatRequest) Descriptor deprecated

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

Deprecated: Use QueryWithTableFormatRequest.ProtoReflect.Descriptor instead.

func (*QueryWithTableFormatRequest) GetEnd

func (x *QueryWithTableFormatRequest) GetEnd() string

func (*QueryWithTableFormatRequest) GetFilters

func (x *QueryWithTableFormatRequest) GetFilters() []*Filter

func (*QueryWithTableFormatRequest) GetOptions

func (x *QueryWithTableFormatRequest) GetOptions() map[string]string

func (*QueryWithTableFormatRequest) GetParams

func (x *QueryWithTableFormatRequest) GetParams() map[string]*structpb.Value

func (*QueryWithTableFormatRequest) GetStart

func (x *QueryWithTableFormatRequest) GetStart() string

func (*QueryWithTableFormatRequest) GetStatement

func (x *QueryWithTableFormatRequest) GetStatement() string

func (*QueryWithTableFormatRequest) MarshalJSON

func (m *QueryWithTableFormatRequest) MarshalJSON() ([]byte, error)

QueryWithTableFormatRequest implement json.Marshaler.

func (*QueryWithTableFormatRequest) ProtoMessage

func (*QueryWithTableFormatRequest) ProtoMessage()

func (*QueryWithTableFormatRequest) ProtoReflect

func (*QueryWithTableFormatRequest) Reset

func (x *QueryWithTableFormatRequest) Reset()

func (*QueryWithTableFormatRequest) String

func (x *QueryWithTableFormatRequest) String() string

func (*QueryWithTableFormatRequest) UnmarshalJSON

func (m *QueryWithTableFormatRequest) UnmarshalJSON(b []byte) error

QueryWithTableFormatRequest implement json.Marshaler.

func (*QueryWithTableFormatRequest) UnmarshalURLValues

func (m *QueryWithTableFormatRequest) UnmarshalURLValues(prefix string, values url.Values) error

QueryWithTableFormatRequest implement urlenc.URLValuesUnmarshaler.

func (*QueryWithTableFormatRequest) Validate

func (this *QueryWithTableFormatRequest) Validate() error

type QueryWithTableFormatResponse

type QueryWithTableFormatResponse struct {
	Data *TableResult `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryWithTableFormatResponse) Descriptor deprecated

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

Deprecated: Use QueryWithTableFormatResponse.ProtoReflect.Descriptor instead.

func (*QueryWithTableFormatResponse) GetData

func (*QueryWithTableFormatResponse) MarshalJSON

func (m *QueryWithTableFormatResponse) MarshalJSON() ([]byte, error)

QueryWithTableFormatResponse implement json.Marshaler.

func (*QueryWithTableFormatResponse) ProtoMessage

func (*QueryWithTableFormatResponse) ProtoMessage()

func (*QueryWithTableFormatResponse) ProtoReflect

func (*QueryWithTableFormatResponse) Reset

func (x *QueryWithTableFormatResponse) Reset()

func (*QueryWithTableFormatResponse) String

func (*QueryWithTableFormatResponse) UnmarshalJSON

func (m *QueryWithTableFormatResponse) UnmarshalJSON(b []byte) error

QueryWithTableFormatResponse implement json.Marshaler.

func (*QueryWithTableFormatResponse) UnmarshalURLValues

func (m *QueryWithTableFormatResponse) UnmarshalURLValues(prefix string, values url.Values) error

QueryWithTableFormatResponse implement urlenc.URLValuesUnmarshaler.

func (*QueryWithTableFormatResponse) Validate

func (this *QueryWithTableFormatResponse) Validate() error

type Result

type Result struct {
	StatementId int64    `protobuf:"varint,1,opt,name=statement_id,proto3" json:"statement_id,omitempty"`
	Series      []*Serie `protobuf:"bytes,2,rep,name=series,proto3" json:"series,omitempty"`
	// contains filtered or unexported fields
}

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetSeries

func (x *Result) GetSeries() []*Serie

func (*Result) GetStatementId

func (x *Result) GetStatementId() int64

func (*Result) MarshalJSON

func (m *Result) MarshalJSON() ([]byte, error)

Result implement json.Marshaler.

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

func (*Result) UnmarshalJSON

func (m *Result) UnmarshalJSON(b []byte) error

Result implement json.Marshaler.

func (*Result) UnmarshalURLValues

func (m *Result) UnmarshalURLValues(prefix string, values url.Values) error

Result implement urlenc.URLValuesUnmarshaler.

func (*Result) Validate

func (this *Result) Validate() error

type Row

type Row struct {
	Values []*structpb.Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Row) Descriptor deprecated

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

Deprecated: Use Row.ProtoReflect.Descriptor instead.

func (*Row) GetValues

func (x *Row) GetValues() []*structpb.Value

func (*Row) MarshalJSON

func (m *Row) MarshalJSON() ([]byte, error)

Row implement json.Marshaler.

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) ProtoReflect

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

func (*Row) Reset

func (x *Row) Reset()

func (*Row) String

func (x *Row) String() string

func (*Row) UnmarshalJSON

func (m *Row) UnmarshalJSON(b []byte) error

Row implement json.Marshaler.

func (*Row) UnmarshalURLValues

func (m *Row) UnmarshalURLValues(prefix string, values url.Values) error

Row implement urlenc.URLValuesUnmarshaler.

func (*Row) Validate

func (this *Row) Validate() error

type Serie

type Serie struct {
	Name    string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Columns []string `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
	Rows    []*Row   `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*Serie) Descriptor deprecated

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

Deprecated: Use Serie.ProtoReflect.Descriptor instead.

func (*Serie) GetColumns

func (x *Serie) GetColumns() []string

func (*Serie) GetName

func (x *Serie) GetName() string

func (*Serie) GetRows

func (x *Serie) GetRows() []*Row

func (*Serie) MarshalJSON

func (m *Serie) MarshalJSON() ([]byte, error)

Serie implement json.Marshaler.

func (*Serie) ProtoMessage

func (*Serie) ProtoMessage()

func (*Serie) ProtoReflect

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

func (*Serie) Reset

func (x *Serie) Reset()

func (*Serie) String

func (x *Serie) String() string

func (*Serie) UnmarshalJSON

func (m *Serie) UnmarshalJSON(b []byte) error

Serie implement json.Marshaler.

func (*Serie) UnmarshalURLValues

func (m *Serie) UnmarshalURLValues(prefix string, values url.Values) error

Serie implement urlenc.URLValuesUnmarshaler.

func (*Serie) Validate

func (this *Serie) Validate() error

type TableColumn

type TableColumn struct {
	Key  string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Flag string `protobuf:"bytes,3,opt,name=flag,proto3" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

func (*TableColumn) Descriptor deprecated

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

Deprecated: Use TableColumn.ProtoReflect.Descriptor instead.

func (*TableColumn) GetFlag

func (x *TableColumn) GetFlag() string

func (*TableColumn) GetKey

func (x *TableColumn) GetKey() string

func (*TableColumn) GetName

func (x *TableColumn) GetName() string

func (*TableColumn) MarshalJSON

func (m *TableColumn) MarshalJSON() ([]byte, error)

TableColumn implement json.Marshaler.

func (*TableColumn) ProtoMessage

func (*TableColumn) ProtoMessage()

func (*TableColumn) ProtoReflect

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

func (*TableColumn) Reset

func (x *TableColumn) Reset()

func (*TableColumn) String

func (x *TableColumn) String() string

func (*TableColumn) UnmarshalJSON

func (m *TableColumn) UnmarshalJSON(b []byte) error

TableColumn implement json.Marshaler.

func (*TableColumn) UnmarshalURLValues

func (m *TableColumn) UnmarshalURLValues(prefix string, values url.Values) error

TableColumn implement urlenc.URLValuesUnmarshaler.

func (*TableColumn) Validate

func (this *TableColumn) Validate() error

type TableResult

type TableResult struct {
	Cols     []*TableColumn `protobuf:"bytes,1,rep,name=cols,proto3" json:"cols,omitempty"`
	Data     []*TableRow    `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	Interval int64          `protobuf:"varint,3,opt,name=interval,proto3" json:"interval,omitempty"`
	// contains filtered or unexported fields
}

func (*TableResult) Descriptor deprecated

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

Deprecated: Use TableResult.ProtoReflect.Descriptor instead.

func (*TableResult) GetCols

func (x *TableResult) GetCols() []*TableColumn

func (*TableResult) GetData

func (x *TableResult) GetData() []*TableRow

func (*TableResult) GetInterval

func (x *TableResult) GetInterval() int64

func (*TableResult) MarshalJSON

func (m *TableResult) MarshalJSON() ([]byte, error)

TableResult implement json.Marshaler.

func (*TableResult) ProtoMessage

func (*TableResult) ProtoMessage()

func (*TableResult) ProtoReflect

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

func (*TableResult) Reset

func (x *TableResult) Reset()

func (*TableResult) String

func (x *TableResult) String() string

func (*TableResult) UnmarshalJSON

func (m *TableResult) UnmarshalJSON(b []byte) error

TableResult implement json.Marshaler.

func (*TableResult) UnmarshalURLValues

func (m *TableResult) UnmarshalURLValues(prefix string, values url.Values) error

TableResult implement urlenc.URLValuesUnmarshaler.

func (*TableResult) Validate

func (this *TableResult) Validate() error

type TableRow

type TableRow struct {
	Values map[string]*structpb.Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TableRow) Descriptor deprecated

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

Deprecated: Use TableRow.ProtoReflect.Descriptor instead.

func (*TableRow) GetValues

func (x *TableRow) GetValues() map[string]*structpb.Value

func (*TableRow) MarshalJSON

func (m *TableRow) MarshalJSON() ([]byte, error)

TableRow implement json.Marshaler.

func (*TableRow) ProtoMessage

func (*TableRow) ProtoMessage()

func (*TableRow) ProtoReflect

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

func (*TableRow) Reset

func (x *TableRow) Reset()

func (*TableRow) String

func (x *TableRow) String() string

func (*TableRow) UnmarshalJSON

func (m *TableRow) UnmarshalJSON(b []byte) error

TableRow implement json.Marshaler.

func (*TableRow) UnmarshalURLValues

func (m *TableRow) UnmarshalURLValues(prefix string, values url.Values) error

TableRow implement urlenc.URLValuesUnmarshaler.

func (*TableRow) Validate

func (this *TableRow) Validate() error

type TagDefine

type TagDefine struct {
	Key    string         `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Name   string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Values []*ValueDefine `protobuf:"bytes,5,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*TagDefine) Descriptor deprecated

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

Deprecated: Use TagDefine.ProtoReflect.Descriptor instead.

func (*TagDefine) GetKey

func (x *TagDefine) GetKey() string

func (*TagDefine) GetName

func (x *TagDefine) GetName() string

func (*TagDefine) GetValues

func (x *TagDefine) GetValues() []*ValueDefine

func (*TagDefine) MarshalJSON

func (m *TagDefine) MarshalJSON() ([]byte, error)

TagDefine implement json.Marshaler.

func (*TagDefine) ProtoMessage

func (*TagDefine) ProtoMessage()

func (*TagDefine) ProtoReflect

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

func (*TagDefine) Reset

func (x *TagDefine) Reset()

func (*TagDefine) String

func (x *TagDefine) String() string

func (*TagDefine) UnmarshalJSON

func (m *TagDefine) UnmarshalJSON(b []byte) error

TagDefine implement json.Marshaler.

func (*TagDefine) UnmarshalURLValues

func (m *TagDefine) UnmarshalURLValues(prefix string, values url.Values) error

TagDefine implement urlenc.URLValuesUnmarshaler.

func (*TagDefine) Validate

func (this *TagDefine) Validate() error

type TagFilter

type TagFilter struct {
	Tag   string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Op    string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"`
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*TagFilter) Descriptor deprecated

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

Deprecated: Use TagFilter.ProtoReflect.Descriptor instead.

func (*TagFilter) GetOp

func (x *TagFilter) GetOp() string

func (*TagFilter) GetTag

func (x *TagFilter) GetTag() string

func (*TagFilter) GetValue

func (x *TagFilter) GetValue() string

func (*TagFilter) MarshalJSON

func (m *TagFilter) MarshalJSON() ([]byte, error)

TagFilter implement json.Marshaler.

func (*TagFilter) ProtoMessage

func (*TagFilter) ProtoMessage()

func (*TagFilter) ProtoReflect

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

func (*TagFilter) Reset

func (x *TagFilter) Reset()

func (*TagFilter) String

func (x *TagFilter) String() string

func (*TagFilter) UnmarshalJSON

func (m *TagFilter) UnmarshalJSON(b []byte) error

TagFilter implement json.Marshaler.

func (*TagFilter) UnmarshalURLValues

func (m *TagFilter) UnmarshalURLValues(prefix string, values url.Values) error

TagFilter implement urlenc.URLValuesUnmarshaler.

func (*TagFilter) Validate

func (this *TagFilter) Validate() error

type TypeDefine

type TypeDefine struct {
	Aggregations []*Aggregation `protobuf:"bytes,1,rep,name=aggregations,proto3" json:"aggregations,omitempty"`
	Operations   []*Operation   `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
	Filters      []*Operation   `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeDefine) Descriptor deprecated

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

Deprecated: Use TypeDefine.ProtoReflect.Descriptor instead.

func (*TypeDefine) GetAggregations

func (x *TypeDefine) GetAggregations() []*Aggregation

func (*TypeDefine) GetFilters

func (x *TypeDefine) GetFilters() []*Operation

func (*TypeDefine) GetOperations

func (x *TypeDefine) GetOperations() []*Operation

func (*TypeDefine) MarshalJSON

func (m *TypeDefine) MarshalJSON() ([]byte, error)

TypeDefine implement json.Marshaler.

func (*TypeDefine) ProtoMessage

func (*TypeDefine) ProtoMessage()

func (*TypeDefine) ProtoReflect

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

func (*TypeDefine) Reset

func (x *TypeDefine) Reset()

func (*TypeDefine) String

func (x *TypeDefine) String() string

func (*TypeDefine) UnmarshalJSON

func (m *TypeDefine) UnmarshalJSON(b []byte) error

TypeDefine implement json.Marshaler.

func (*TypeDefine) UnmarshalURLValues

func (m *TypeDefine) UnmarshalURLValues(prefix string, values url.Values) error

TypeDefine implement urlenc.URLValuesUnmarshaler.

func (*TypeDefine) Validate

func (this *TypeDefine) Validate() error

type UnimplementedMetricMetaServiceServer

type UnimplementedMetricMetaServiceServer struct {
}

UnimplementedMetricMetaServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedMetricMetaServiceServer) GetMetricGroup

func (*UnimplementedMetricMetaServiceServer) ListMetricGroups

func (*UnimplementedMetricMetaServiceServer) ListMetricMeta

func (*UnimplementedMetricMetaServiceServer) ListMetricNames

type UnimplementedMetricServiceServer

type UnimplementedMetricServiceServer struct {
}

UnimplementedMetricServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedMetricServiceServer) GeneralQuery

func (*UnimplementedMetricServiceServer) GeneralSearch

func (*UnimplementedMetricServiceServer) QueryWithTableFormat

func (*UnimplementedMetricServiceServer) SearchWithInfluxFormat

func (*UnimplementedMetricServiceServer) SearchWithTableFormat

type ValueDefine

type ValueDefine struct {
	Name  string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ValueDefine) Descriptor deprecated

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

Deprecated: Use ValueDefine.ProtoReflect.Descriptor instead.

func (*ValueDefine) GetName

func (x *ValueDefine) GetName() string

func (*ValueDefine) GetValue

func (x *ValueDefine) GetValue() *structpb.Value

func (*ValueDefine) MarshalJSON

func (m *ValueDefine) MarshalJSON() ([]byte, error)

ValueDefine implement json.Marshaler.

func (*ValueDefine) ProtoMessage

func (*ValueDefine) ProtoMessage()

func (*ValueDefine) ProtoReflect

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

func (*ValueDefine) Reset

func (x *ValueDefine) Reset()

func (*ValueDefine) String

func (x *ValueDefine) String() string

func (*ValueDefine) UnmarshalJSON

func (m *ValueDefine) UnmarshalJSON(b []byte) error

ValueDefine implement json.Marshaler.

func (*ValueDefine) UnmarshalURLValues

func (m *ValueDefine) UnmarshalURLValues(prefix string, values url.Values) error

ValueDefine implement urlenc.URLValuesUnmarshaler.

func (*ValueDefine) Validate

func (this *ValueDefine) Validate() error

Jump to

Keyboard shortcuts

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