Documentation ¶
Index ¶
- Variables
- func MetricMetaServiceClientType() reflect.Type
- func MetricMetaServiceHandlerType() reflect.Type
- func MetricMetaServiceServerType() reflect.Type
- func MetricServiceClientType() reflect.Type
- func MetricServiceHandlerType() reflect.Type
- func MetricServiceServerType() reflect.Type
- func RegisterMetricMetaServiceHandler(r http.Router, srv MetricMetaServiceHandler, opts ...http.HandleOption)
- func RegisterMetricMetaServiceImp(regester transport.Register, srv MetricMetaServiceServer, ...)
- func RegisterMetricMetaServiceServer(s grpc1.ServiceRegistrar, srv MetricMetaServiceServer, ...)
- func RegisterMetricServiceHandler(r http.Router, srv MetricServiceHandler, opts ...http.HandleOption)
- func RegisterMetricServiceImp(regester transport.Register, srv MetricServiceServer, ...)
- func RegisterMetricServiceServer(s grpc1.ServiceRegistrar, srv MetricServiceServer, opts ...grpc1.HandleOption)
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type Aggregation
- func (*Aggregation) Descriptor() ([]byte, []int)deprecated
- func (x *Aggregation) GetAggregation() string
- func (x *Aggregation) GetName() string
- func (x *Aggregation) GetResultType() string
- func (m *Aggregation) MarshalJSON() ([]byte, error)
- func (*Aggregation) ProtoMessage()
- func (x *Aggregation) ProtoReflect() protoreflect.Message
- func (x *Aggregation) Reset()
- func (x *Aggregation) String() string
- func (m *Aggregation) UnmarshalJSON(b []byte) error
- func (m *Aggregation) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Aggregation) Validate() error
- type FieldDefine
- func (*FieldDefine) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDefine) GetKey() string
- func (x *FieldDefine) GetName() string
- func (x *FieldDefine) GetType() string
- func (x *FieldDefine) GetUnit() string
- func (x *FieldDefine) GetValues() []*ValueDefine
- func (m *FieldDefine) MarshalJSON() ([]byte, error)
- func (*FieldDefine) ProtoMessage()
- func (x *FieldDefine) ProtoReflect() protoreflect.Message
- func (x *FieldDefine) Reset()
- func (x *FieldDefine) String() string
- func (m *FieldDefine) UnmarshalJSON(b []byte) error
- func (m *FieldDefine) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *FieldDefine) Validate() error
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetKey() string
- func (x *Filter) GetOp() string
- func (x *Filter) GetValue() *structpb.Value
- func (m *Filter) MarshalJSON() ([]byte, error)
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- func (m *Filter) UnmarshalJSON(b []byte) error
- func (m *Filter) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Filter) Validate() error
- type GeneralQueryRequest
- func (*GeneralQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GeneralQueryRequest) GetFormat() string
- func (x *GeneralQueryRequest) GetParams() map[string]*structpb.Value
- func (x *GeneralQueryRequest) GetQl() string
- func (x *GeneralQueryRequest) GetStatement() string
- func (m *GeneralQueryRequest) MarshalJSON() ([]byte, error)
- func (*GeneralQueryRequest) ProtoMessage()
- func (x *GeneralQueryRequest) ProtoReflect() protoreflect.Message
- func (x *GeneralQueryRequest) Reset()
- func (x *GeneralQueryRequest) String() string
- func (m *GeneralQueryRequest) UnmarshalJSON(b []byte) error
- func (m *GeneralQueryRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GeneralQueryRequest) Validate() error
- type GeneralQueryResponse
- func (*GeneralQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GeneralQueryResponse) GetData() *structpb.Value
- func (m *GeneralQueryResponse) MarshalJSON() ([]byte, error)
- func (*GeneralQueryResponse) ProtoMessage()
- func (x *GeneralQueryResponse) ProtoReflect() protoreflect.Message
- func (x *GeneralQueryResponse) Reset()
- func (x *GeneralQueryResponse) String() string
- func (m *GeneralQueryResponse) UnmarshalJSON(b []byte) error
- func (m *GeneralQueryResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GeneralQueryResponse) Validate() error
- type GetMetricGroupRequest
- func (*GetMetricGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetricGroupRequest) GetAppendTags() bool
- func (x *GetMetricGroupRequest) GetFormat() string
- func (x *GetMetricGroupRequest) GetId() string
- func (x *GetMetricGroupRequest) GetMode() string
- func (x *GetMetricGroupRequest) GetScope() string
- func (x *GetMetricGroupRequest) GetScopeID() string
- func (x *GetMetricGroupRequest) GetVersion() string
- func (m *GetMetricGroupRequest) MarshalJSON() ([]byte, error)
- func (*GetMetricGroupRequest) ProtoMessage()
- func (x *GetMetricGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetricGroupRequest) Reset()
- func (x *GetMetricGroupRequest) String() string
- func (m *GetMetricGroupRequest) UnmarshalJSON(b []byte) error
- func (m *GetMetricGroupRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetMetricGroupRequest) Validate() error
- type GetMetricGroupResponse
- func (*GetMetricGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetricGroupResponse) GetData() *MetricGroup
- func (m *GetMetricGroupResponse) MarshalJSON() ([]byte, error)
- func (*GetMetricGroupResponse) ProtoMessage()
- func (x *GetMetricGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetricGroupResponse) Reset()
- func (x *GetMetricGroupResponse) String() string
- func (m *GetMetricGroupResponse) UnmarshalJSON(b []byte) error
- func (m *GetMetricGroupResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetMetricGroupResponse) Validate() error
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetChildren() []*Group
- func (x *Group) GetId() string
- func (x *Group) GetName() string
- func (x *Group) GetOrder() int32
- func (m *Group) MarshalJSON() ([]byte, error)
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- func (m *Group) UnmarshalJSON(b []byte) error
- func (m *Group) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Group) Validate() error
- type GroupMetricMeta
- func (*GroupMetricMeta) Descriptor() ([]byte, []int)deprecated
- func (x *GroupMetricMeta) GetFields() []*FieldDefine
- func (x *GroupMetricMeta) GetFilters() []*TagFilter
- func (x *GroupMetricMeta) GetMetric() string
- func (x *GroupMetricMeta) GetName() string
- func (x *GroupMetricMeta) GetTags() []*TagDefine
- func (m *GroupMetricMeta) MarshalJSON() ([]byte, error)
- func (*GroupMetricMeta) ProtoMessage()
- func (x *GroupMetricMeta) ProtoReflect() protoreflect.Message
- func (x *GroupMetricMeta) Reset()
- func (x *GroupMetricMeta) String() string
- func (m *GroupMetricMeta) UnmarshalJSON(b []byte) error
- func (m *GroupMetricMeta) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GroupMetricMeta) Validate() error
- type ListMetricGroupsRequest
- func (*ListMetricGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricGroupsRequest) GetMode() string
- func (x *ListMetricGroupsRequest) GetScope() string
- func (x *ListMetricGroupsRequest) GetScopeID() string
- func (m *ListMetricGroupsRequest) MarshalJSON() ([]byte, error)
- func (*ListMetricGroupsRequest) ProtoMessage()
- func (x *ListMetricGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMetricGroupsRequest) Reset()
- func (x *ListMetricGroupsRequest) String() string
- func (m *ListMetricGroupsRequest) UnmarshalJSON(b []byte) error
- func (m *ListMetricGroupsRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMetricGroupsRequest) Validate() error
- type ListMetricGroupsResponse
- func (*ListMetricGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricGroupsResponse) GetData() []*Group
- func (m *ListMetricGroupsResponse) MarshalJSON() ([]byte, error)
- func (*ListMetricGroupsResponse) ProtoMessage()
- func (x *ListMetricGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMetricGroupsResponse) Reset()
- func (x *ListMetricGroupsResponse) String() string
- func (m *ListMetricGroupsResponse) UnmarshalJSON(b []byte) error
- func (m *ListMetricGroupsResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMetricGroupsResponse) Validate() error
- type ListMetricMetaRequest
- func (*ListMetricMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricMetaRequest) GetMetrics() []string
- func (x *ListMetricMetaRequest) GetScope() string
- func (x *ListMetricMetaRequest) GetScopeID() string
- func (m *ListMetricMetaRequest) MarshalJSON() ([]byte, error)
- func (*ListMetricMetaRequest) ProtoMessage()
- func (x *ListMetricMetaRequest) ProtoReflect() protoreflect.Message
- func (x *ListMetricMetaRequest) Reset()
- func (x *ListMetricMetaRequest) String() string
- func (m *ListMetricMetaRequest) UnmarshalJSON(b []byte) error
- func (m *ListMetricMetaRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMetricMetaRequest) Validate() error
- type ListMetricMetaResponse
- func (*ListMetricMetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricMetaResponse) GetData() []*MetricMeta
- func (m *ListMetricMetaResponse) MarshalJSON() ([]byte, error)
- func (*ListMetricMetaResponse) ProtoMessage()
- func (x *ListMetricMetaResponse) ProtoReflect() protoreflect.Message
- func (x *ListMetricMetaResponse) Reset()
- func (x *ListMetricMetaResponse) String() string
- func (m *ListMetricMetaResponse) UnmarshalJSON(b []byte) error
- func (m *ListMetricMetaResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMetricMetaResponse) Validate() error
- type ListMetricNamesRequest
- func (*ListMetricNamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricNamesRequest) GetScope() string
- func (x *ListMetricNamesRequest) GetScopeID() string
- func (m *ListMetricNamesRequest) MarshalJSON() ([]byte, error)
- func (*ListMetricNamesRequest) ProtoMessage()
- func (x *ListMetricNamesRequest) ProtoReflect() protoreflect.Message
- func (x *ListMetricNamesRequest) Reset()
- func (x *ListMetricNamesRequest) String() string
- func (m *ListMetricNamesRequest) UnmarshalJSON(b []byte) error
- func (m *ListMetricNamesRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMetricNamesRequest) Validate() error
- type ListMetricNamesResponse
- func (*ListMetricNamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMetricNamesResponse) GetData() []*NameDefine
- func (m *ListMetricNamesResponse) MarshalJSON() ([]byte, error)
- func (*ListMetricNamesResponse) ProtoMessage()
- func (x *ListMetricNamesResponse) ProtoReflect() protoreflect.Message
- func (x *ListMetricNamesResponse) Reset()
- func (x *ListMetricNamesResponse) String() string
- func (m *ListMetricNamesResponse) UnmarshalJSON(b []byte) error
- func (m *ListMetricNamesResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ListMetricNamesResponse) Validate() error
- type MetaMode
- func (*MetaMode) Descriptor() ([]byte, []int)deprecated
- func (x *MetaMode) GetFilters() []*Operation
- func (x *MetaMode) GetTypes() map[string]*TypeDefine
- func (m *MetaMode) MarshalJSON() ([]byte, error)
- func (*MetaMode) ProtoMessage()
- func (x *MetaMode) ProtoReflect() protoreflect.Message
- func (x *MetaMode) Reset()
- func (x *MetaMode) String() string
- func (m *MetaMode) UnmarshalJSON(b []byte) error
- func (m *MetaMode) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *MetaMode) Validate() error
- type MetricGroup
- func (*MetricGroup) Descriptor() ([]byte, []int)deprecated
- func (x *MetricGroup) GetId() string
- func (x *MetricGroup) GetMeta() *MetaMode
- func (x *MetricGroup) GetMetrics() []*GroupMetricMeta
- func (m *MetricGroup) MarshalJSON() ([]byte, error)
- func (*MetricGroup) ProtoMessage()
- func (x *MetricGroup) ProtoReflect() protoreflect.Message
- func (x *MetricGroup) Reset()
- func (x *MetricGroup) String() string
- func (m *MetricGroup) UnmarshalJSON(b []byte) error
- func (m *MetricGroup) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *MetricGroup) Validate() error
- type MetricMeta
- func (*MetricMeta) Descriptor() ([]byte, []int)deprecated
- func (x *MetricMeta) GetFields() map[string]*FieldDefine
- func (x *MetricMeta) GetLabels() map[string]string
- func (x *MetricMeta) GetName() *NameDefine
- func (x *MetricMeta) GetTags() map[string]*TagDefine
- func (m *MetricMeta) MarshalJSON() ([]byte, error)
- func (*MetricMeta) ProtoMessage()
- func (x *MetricMeta) ProtoReflect() protoreflect.Message
- func (x *MetricMeta) Reset()
- func (x *MetricMeta) String() string
- func (m *MetricMeta) UnmarshalJSON(b []byte) error
- func (m *MetricMeta) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *MetricMeta) Validate() error
- type MetricMetaServiceClient
- type MetricMetaServiceHandler
- type MetricMetaServiceServer
- type MetricServiceClient
- type MetricServiceHandler
- type MetricServiceServer
- type NameDefine
- func (*NameDefine) Descriptor() ([]byte, []int)deprecated
- func (x *NameDefine) GetKey() string
- func (x *NameDefine) GetName() string
- func (m *NameDefine) MarshalJSON() ([]byte, error)
- func (*NameDefine) ProtoMessage()
- func (x *NameDefine) ProtoReflect() protoreflect.Message
- func (x *NameDefine) Reset()
- func (x *NameDefine) String() string
- func (m *NameDefine) UnmarshalJSON(b []byte) error
- func (m *NameDefine) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *NameDefine) Validate() error
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)deprecated
- func (x *Operation) GetMulti() bool
- func (x *Operation) GetName() string
- func (x *Operation) GetOperation() string
- func (m *Operation) MarshalJSON() ([]byte, error)
- func (*Operation) ProtoMessage()
- func (x *Operation) ProtoReflect() protoreflect.Message
- func (x *Operation) Reset()
- func (x *Operation) String() string
- func (m *Operation) UnmarshalJSON(b []byte) error
- func (m *Operation) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Operation) Validate() error
- type QueryWithInfluxFormatRequest
- func (*QueryWithInfluxFormatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithInfluxFormatRequest) GetEnd() string
- func (x *QueryWithInfluxFormatRequest) GetFilters() []*Filter
- func (x *QueryWithInfluxFormatRequest) GetOptions() map[string]string
- func (x *QueryWithInfluxFormatRequest) GetParams() map[string]*structpb.Value
- func (x *QueryWithInfluxFormatRequest) GetStart() string
- func (x *QueryWithInfluxFormatRequest) GetStatement() string
- func (m *QueryWithInfluxFormatRequest) MarshalJSON() ([]byte, error)
- func (*QueryWithInfluxFormatRequest) ProtoMessage()
- func (x *QueryWithInfluxFormatRequest) ProtoReflect() protoreflect.Message
- func (x *QueryWithInfluxFormatRequest) Reset()
- func (x *QueryWithInfluxFormatRequest) String() string
- func (m *QueryWithInfluxFormatRequest) UnmarshalJSON(b []byte) error
- func (m *QueryWithInfluxFormatRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *QueryWithInfluxFormatRequest) Validate() error
- type QueryWithInfluxFormatResponse
- func (*QueryWithInfluxFormatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithInfluxFormatResponse) GetResults() []*Result
- func (m *QueryWithInfluxFormatResponse) MarshalJSON() ([]byte, error)
- func (*QueryWithInfluxFormatResponse) ProtoMessage()
- func (x *QueryWithInfluxFormatResponse) ProtoReflect() protoreflect.Message
- func (x *QueryWithInfluxFormatResponse) Reset()
- func (x *QueryWithInfluxFormatResponse) String() string
- func (m *QueryWithInfluxFormatResponse) UnmarshalJSON(b []byte) error
- func (m *QueryWithInfluxFormatResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *QueryWithInfluxFormatResponse) Validate() error
- type QueryWithTableFormatRequest
- func (*QueryWithTableFormatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithTableFormatRequest) GetEnd() string
- func (x *QueryWithTableFormatRequest) GetFilters() []*Filter
- func (x *QueryWithTableFormatRequest) GetOptions() map[string]string
- func (x *QueryWithTableFormatRequest) GetParams() map[string]*structpb.Value
- func (x *QueryWithTableFormatRequest) GetStart() string
- func (x *QueryWithTableFormatRequest) GetStatement() string
- func (m *QueryWithTableFormatRequest) MarshalJSON() ([]byte, error)
- func (*QueryWithTableFormatRequest) ProtoMessage()
- func (x *QueryWithTableFormatRequest) ProtoReflect() protoreflect.Message
- func (x *QueryWithTableFormatRequest) Reset()
- func (x *QueryWithTableFormatRequest) String() string
- func (m *QueryWithTableFormatRequest) UnmarshalJSON(b []byte) error
- func (m *QueryWithTableFormatRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *QueryWithTableFormatRequest) Validate() error
- type QueryWithTableFormatResponse
- func (*QueryWithTableFormatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithTableFormatResponse) GetData() *TableResult
- func (m *QueryWithTableFormatResponse) MarshalJSON() ([]byte, error)
- func (*QueryWithTableFormatResponse) ProtoMessage()
- func (x *QueryWithTableFormatResponse) ProtoReflect() protoreflect.Message
- func (x *QueryWithTableFormatResponse) Reset()
- func (x *QueryWithTableFormatResponse) String() string
- func (m *QueryWithTableFormatResponse) UnmarshalJSON(b []byte) error
- func (m *QueryWithTableFormatResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *QueryWithTableFormatResponse) Validate() error
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetSeries() []*Serie
- func (x *Result) GetStatementId() int64
- func (m *Result) MarshalJSON() ([]byte, error)
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- func (m *Result) UnmarshalJSON(b []byte) error
- func (m *Result) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Result) Validate() error
- type Row
- func (*Row) Descriptor() ([]byte, []int)deprecated
- func (x *Row) GetValues() []*structpb.Value
- func (m *Row) MarshalJSON() ([]byte, error)
- func (*Row) ProtoMessage()
- func (x *Row) ProtoReflect() protoreflect.Message
- func (x *Row) Reset()
- func (x *Row) String() string
- func (m *Row) UnmarshalJSON(b []byte) error
- func (m *Row) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Row) Validate() error
- type Serie
- func (*Serie) Descriptor() ([]byte, []int)deprecated
- func (x *Serie) GetColumns() []string
- func (x *Serie) GetName() string
- func (x *Serie) GetRows() []*Row
- func (m *Serie) MarshalJSON() ([]byte, error)
- func (*Serie) ProtoMessage()
- func (x *Serie) ProtoReflect() protoreflect.Message
- func (x *Serie) Reset()
- func (x *Serie) String() string
- func (m *Serie) UnmarshalJSON(b []byte) error
- func (m *Serie) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Serie) Validate() error
- type TableColumn
- func (*TableColumn) Descriptor() ([]byte, []int)deprecated
- func (x *TableColumn) GetFlag() string
- func (x *TableColumn) GetKey() string
- func (x *TableColumn) GetName() string
- func (m *TableColumn) MarshalJSON() ([]byte, error)
- func (*TableColumn) ProtoMessage()
- func (x *TableColumn) ProtoReflect() protoreflect.Message
- func (x *TableColumn) Reset()
- func (x *TableColumn) String() string
- func (m *TableColumn) UnmarshalJSON(b []byte) error
- func (m *TableColumn) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *TableColumn) Validate() error
- type TableResult
- func (*TableResult) Descriptor() ([]byte, []int)deprecated
- func (x *TableResult) GetCols() []*TableColumn
- func (x *TableResult) GetData() []*TableRow
- func (x *TableResult) GetInterval() int64
- func (m *TableResult) MarshalJSON() ([]byte, error)
- func (*TableResult) ProtoMessage()
- func (x *TableResult) ProtoReflect() protoreflect.Message
- func (x *TableResult) Reset()
- func (x *TableResult) String() string
- func (m *TableResult) UnmarshalJSON(b []byte) error
- func (m *TableResult) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *TableResult) Validate() error
- type TableRow
- func (*TableRow) Descriptor() ([]byte, []int)deprecated
- func (x *TableRow) GetValues() map[string]*structpb.Value
- func (m *TableRow) MarshalJSON() ([]byte, error)
- func (*TableRow) ProtoMessage()
- func (x *TableRow) ProtoReflect() protoreflect.Message
- func (x *TableRow) Reset()
- func (x *TableRow) String() string
- func (m *TableRow) UnmarshalJSON(b []byte) error
- func (m *TableRow) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *TableRow) Validate() error
- type TagDefine
- func (*TagDefine) Descriptor() ([]byte, []int)deprecated
- func (x *TagDefine) GetKey() string
- func (x *TagDefine) GetName() string
- func (x *TagDefine) GetValues() []*ValueDefine
- func (m *TagDefine) MarshalJSON() ([]byte, error)
- func (*TagDefine) ProtoMessage()
- func (x *TagDefine) ProtoReflect() protoreflect.Message
- func (x *TagDefine) Reset()
- func (x *TagDefine) String() string
- func (m *TagDefine) UnmarshalJSON(b []byte) error
- func (m *TagDefine) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *TagDefine) Validate() error
- type TagFilter
- func (*TagFilter) Descriptor() ([]byte, []int)deprecated
- func (x *TagFilter) GetOp() string
- func (x *TagFilter) GetTag() string
- func (x *TagFilter) GetValue() string
- func (m *TagFilter) MarshalJSON() ([]byte, error)
- func (*TagFilter) ProtoMessage()
- func (x *TagFilter) ProtoReflect() protoreflect.Message
- func (x *TagFilter) Reset()
- func (x *TagFilter) String() string
- func (m *TagFilter) UnmarshalJSON(b []byte) error
- func (m *TagFilter) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *TagFilter) Validate() error
- type TypeDefine
- func (*TypeDefine) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefine) GetAggregations() []*Aggregation
- func (x *TypeDefine) GetFilters() []*Operation
- func (x *TypeDefine) GetOperations() []*Operation
- func (m *TypeDefine) MarshalJSON() ([]byte, error)
- func (*TypeDefine) ProtoMessage()
- func (x *TypeDefine) ProtoReflect() protoreflect.Message
- func (x *TypeDefine) Reset()
- func (x *TypeDefine) String() string
- func (m *TypeDefine) UnmarshalJSON(b []byte) error
- func (m *TypeDefine) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *TypeDefine) Validate() error
- type UnimplementedMetricMetaServiceServer
- func (*UnimplementedMetricMetaServiceServer) GetMetricGroup(context.Context, *GetMetricGroupRequest) (*GetMetricGroupResponse, error)
- func (*UnimplementedMetricMetaServiceServer) ListMetricGroups(context.Context, *ListMetricGroupsRequest) (*ListMetricGroupsResponse, error)
- func (*UnimplementedMetricMetaServiceServer) ListMetricMeta(context.Context, *ListMetricMetaRequest) (*ListMetricMetaResponse, error)
- func (*UnimplementedMetricMetaServiceServer) ListMetricNames(context.Context, *ListMetricNamesRequest) (*ListMetricNamesResponse, error)
- type UnimplementedMetricServiceServer
- func (*UnimplementedMetricServiceServer) GeneralQuery(context.Context, *GeneralQueryRequest) (*GeneralQueryResponse, error)
- func (*UnimplementedMetricServiceServer) GeneralSearch(context.Context, *GeneralQueryRequest) (*GeneralQueryResponse, error)
- func (*UnimplementedMetricServiceServer) QueryWithInfluxFormat(context.Context, *QueryWithInfluxFormatRequest) (*QueryWithInfluxFormatResponse, error)
- func (*UnimplementedMetricServiceServer) QueryWithTableFormat(context.Context, *QueryWithTableFormatRequest) (*QueryWithTableFormatResponse, error)
- func (*UnimplementedMetricServiceServer) SearchWithInfluxFormat(context.Context, *QueryWithInfluxFormatRequest) (*QueryWithInfluxFormatResponse, error)
- func (*UnimplementedMetricServiceServer) SearchWithTableFormat(context.Context, *QueryWithTableFormatRequest) (*QueryWithTableFormatResponse, error)
- type ValueDefine
- func (*ValueDefine) Descriptor() ([]byte, []int)deprecated
- func (x *ValueDefine) GetName() string
- func (x *ValueDefine) GetValue() *structpb.Value
- func (m *ValueDefine) MarshalJSON() ([]byte, error)
- func (*ValueDefine) ProtoMessage()
- func (x *ValueDefine) ProtoReflect() protoreflect.Message
- func (x *ValueDefine) Reset()
- func (x *ValueDefine) String() string
- func (m *ValueDefine) UnmarshalJSON(b []byte) error
- func (m *ValueDefine) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ValueDefine) Validate() error
Constants ¶
This section is empty.
Variables ¶
var File_meta_proto protoreflect.FileDescriptor
var File_metric_proto protoreflect.FileDescriptor
Functions ¶
func MetricMetaServiceClientType ¶
MetricMetaServiceClientType .
func MetricMetaServiceHandlerType ¶
MetricMetaServiceHandlerType .
func MetricMetaServiceServerType ¶
MetricMetaServiceServerType .
func MetricServiceClientType ¶
MetricServiceClientType .
func MetricServiceHandlerType ¶
MetricServiceHandlerType .
func MetricServiceServerType ¶
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)
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) MarshalJSON ¶
Filter implement json.Marshaler.
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) UnmarshalJSON ¶
Filter implement json.Marshaler.
func (*Filter) UnmarshalURLValues ¶
Filter implement urlenc.URLValuesUnmarshaler.
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) GetChildren ¶
func (*Group) MarshalJSON ¶
Group implement json.Marshaler.
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
func (*Group) UnmarshalJSON ¶
Group implement json.Marshaler.
func (*Group) UnmarshalURLValues ¶
Group implement urlenc.URLValuesUnmarshaler.
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) GetFilters ¶
func (*MetaMode) GetTypes ¶
func (x *MetaMode) GetTypes() map[string]*TypeDefine
func (*MetaMode) MarshalJSON ¶
MetaMode implement json.Marshaler.
func (*MetaMode) ProtoMessage ¶
func (*MetaMode) ProtoMessage()
func (*MetaMode) ProtoReflect ¶
func (x *MetaMode) ProtoReflect() protoreflect.Message
func (*MetaMode) UnmarshalJSON ¶
MetaMode implement json.Marshaler.
func (*MetaMode) UnmarshalURLValues ¶
MetaMode implement urlenc.URLValuesUnmarshaler.
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.
func NewMetricMetaServiceClient ¶
func NewMetricMetaServiceClient(cc grpc1.ClientConnInterface) MetricMetaServiceClient
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 ¶
type MetricMetaServiceServer interface { ListMetricNames(context.Context, *ListMetricNamesRequest) (*ListMetricNamesResponse, error) ListMetricMeta(context.Context, *ListMetricMetaRequest) (*ListMetricMetaResponse, error) ListMetricGroups(context.Context, *ListMetricGroupsRequest) (*ListMetricGroupsResponse, error) GetMetricGroup(context.Context, *GetMetricGroupRequest) (*GetMetricGroupResponse, error) }
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.
func NewMetricServiceClient ¶
func NewMetricServiceClient(cc grpc1.ClientConnInterface) MetricServiceClient
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 ¶
type MetricServiceServer interface { QueryWithInfluxFormat(context.Context, *QueryWithInfluxFormatRequest) (*QueryWithInfluxFormatResponse, error) SearchWithInfluxFormat(context.Context, *QueryWithInfluxFormatRequest) (*QueryWithInfluxFormatResponse, error) QueryWithTableFormat(context.Context, *QueryWithTableFormatRequest) (*QueryWithTableFormatResponse, error) SearchWithTableFormat(context.Context, *QueryWithTableFormatRequest) (*QueryWithTableFormatResponse, error) GeneralQuery(context.Context, *GeneralQueryRequest) (*GeneralQueryResponse, error) GeneralSearch(context.Context, *GeneralQueryRequest) (*GeneralQueryResponse, error) }
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) GetOperation ¶
func (*Operation) MarshalJSON ¶
Operation implement json.Marshaler.
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect ¶
func (x *Operation) ProtoReflect() protoreflect.Message
func (*Operation) UnmarshalJSON ¶
Operation implement json.Marshaler.
func (*Operation) UnmarshalURLValues ¶
Operation implement urlenc.URLValuesUnmarshaler.
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 (x *QueryWithInfluxFormatRequest) GetEnd() string
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 (x *QueryWithInfluxFormatRequest) ProtoReflect() protoreflect.Message
func (*QueryWithInfluxFormatRequest) Reset ¶
func (x *QueryWithInfluxFormatRequest) Reset()
func (*QueryWithInfluxFormatRequest) String ¶
func (x *QueryWithInfluxFormatRequest) String() 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 (x *QueryWithInfluxFormatResponse) ProtoReflect() protoreflect.Message
func (*QueryWithInfluxFormatResponse) Reset ¶
func (x *QueryWithInfluxFormatResponse) Reset()
func (*QueryWithInfluxFormatResponse) String ¶
func (x *QueryWithInfluxFormatResponse) String() 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 (x *QueryWithTableFormatRequest) ProtoReflect() protoreflect.Message
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 (x *QueryWithTableFormatResponse) GetData() *TableResult
func (*QueryWithTableFormatResponse) MarshalJSON ¶
func (m *QueryWithTableFormatResponse) MarshalJSON() ([]byte, error)
QueryWithTableFormatResponse implement json.Marshaler.
func (*QueryWithTableFormatResponse) ProtoMessage ¶
func (*QueryWithTableFormatResponse) ProtoMessage()
func (*QueryWithTableFormatResponse) ProtoReflect ¶
func (x *QueryWithTableFormatResponse) ProtoReflect() protoreflect.Message
func (*QueryWithTableFormatResponse) Reset ¶
func (x *QueryWithTableFormatResponse) Reset()
func (*QueryWithTableFormatResponse) String ¶
func (x *QueryWithTableFormatResponse) String() 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) GetStatementId ¶
func (*Result) MarshalJSON ¶
Result implement json.Marshaler.
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
func (*Result) UnmarshalJSON ¶
Result implement json.Marshaler.
func (*Result) UnmarshalURLValues ¶
Result implement urlenc.URLValuesUnmarshaler.
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) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
func (*Row) UnmarshalJSON ¶
Row implement json.Marshaler.
func (*Row) UnmarshalURLValues ¶
Row implement urlenc.URLValuesUnmarshaler.
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) GetColumns ¶
func (*Serie) MarshalJSON ¶
Serie implement json.Marshaler.
func (*Serie) ProtoMessage ¶
func (*Serie) ProtoMessage()
func (*Serie) ProtoReflect ¶
func (x *Serie) ProtoReflect() protoreflect.Message
func (*Serie) UnmarshalJSON ¶
Serie implement json.Marshaler.
func (*Serie) UnmarshalURLValues ¶
Serie implement urlenc.URLValuesUnmarshaler.
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) MarshalJSON ¶
TableRow implement json.Marshaler.
func (*TableRow) ProtoMessage ¶
func (*TableRow) ProtoMessage()
func (*TableRow) ProtoReflect ¶
func (x *TableRow) ProtoReflect() protoreflect.Message
func (*TableRow) UnmarshalJSON ¶
TableRow implement json.Marshaler.
func (*TableRow) UnmarshalURLValues ¶
TableRow implement urlenc.URLValuesUnmarshaler.
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) GetValues ¶
func (x *TagDefine) GetValues() []*ValueDefine
func (*TagDefine) MarshalJSON ¶
TagDefine implement json.Marshaler.
func (*TagDefine) ProtoMessage ¶
func (*TagDefine) ProtoMessage()
func (*TagDefine) ProtoReflect ¶
func (x *TagDefine) ProtoReflect() protoreflect.Message
func (*TagDefine) UnmarshalJSON ¶
TagDefine implement json.Marshaler.
func (*TagDefine) UnmarshalURLValues ¶
TagDefine implement urlenc.URLValuesUnmarshaler.
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) MarshalJSON ¶
TagFilter implement json.Marshaler.
func (*TagFilter) ProtoMessage ¶
func (*TagFilter) ProtoMessage()
func (*TagFilter) ProtoReflect ¶
func (x *TagFilter) ProtoReflect() protoreflect.Message
func (*TagFilter) UnmarshalJSON ¶
TagFilter implement json.Marshaler.
func (*TagFilter) UnmarshalURLValues ¶
TagFilter implement urlenc.URLValuesUnmarshaler.
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) GetMetricGroup(context.Context, *GetMetricGroupRequest) (*GetMetricGroupResponse, error)
func (*UnimplementedMetricMetaServiceServer) ListMetricGroups ¶
func (*UnimplementedMetricMetaServiceServer) ListMetricGroups(context.Context, *ListMetricGroupsRequest) (*ListMetricGroupsResponse, error)
func (*UnimplementedMetricMetaServiceServer) ListMetricMeta ¶
func (*UnimplementedMetricMetaServiceServer) ListMetricMeta(context.Context, *ListMetricMetaRequest) (*ListMetricMetaResponse, error)
func (*UnimplementedMetricMetaServiceServer) ListMetricNames ¶
func (*UnimplementedMetricMetaServiceServer) ListMetricNames(context.Context, *ListMetricNamesRequest) (*ListMetricNamesResponse, error)
type UnimplementedMetricServiceServer ¶
type UnimplementedMetricServiceServer struct { }
UnimplementedMetricServiceServer should be embedded to have forward compatible implementations.
func (*UnimplementedMetricServiceServer) GeneralQuery ¶
func (*UnimplementedMetricServiceServer) GeneralQuery(context.Context, *GeneralQueryRequest) (*GeneralQueryResponse, error)
func (*UnimplementedMetricServiceServer) GeneralSearch ¶
func (*UnimplementedMetricServiceServer) GeneralSearch(context.Context, *GeneralQueryRequest) (*GeneralQueryResponse, error)
func (*UnimplementedMetricServiceServer) QueryWithInfluxFormat ¶
func (*UnimplementedMetricServiceServer) QueryWithInfluxFormat(context.Context, *QueryWithInfluxFormatRequest) (*QueryWithInfluxFormatResponse, error)
func (*UnimplementedMetricServiceServer) QueryWithTableFormat ¶
func (*UnimplementedMetricServiceServer) QueryWithTableFormat(context.Context, *QueryWithTableFormatRequest) (*QueryWithTableFormatResponse, error)
func (*UnimplementedMetricServiceServer) SearchWithInfluxFormat ¶
func (*UnimplementedMetricServiceServer) SearchWithInfluxFormat(context.Context, *QueryWithInfluxFormatRequest) (*QueryWithInfluxFormatResponse, error)
func (*UnimplementedMetricServiceServer) SearchWithTableFormat ¶
func (*UnimplementedMetricServiceServer) SearchWithTableFormat(context.Context, *QueryWithTableFormatRequest) (*QueryWithTableFormatResponse, error)
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