Documentation ¶
Overview ¶
Package qanpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package qanpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package qanpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package qanpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCollectorServer(s *grpc.Server, srv CollectorServer)
- func RegisterFiltersHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterFiltersHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FiltersClient) error
- func RegisterFiltersHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterFiltersHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FiltersServer) error
- func RegisterFiltersServer(s *grpc.Server, srv FiltersServer)
- func RegisterMetricsNamesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMetricsNamesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MetricsNamesClient) error
- func RegisterMetricsNamesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMetricsNamesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MetricsNamesServer) error
- func RegisterMetricsNamesServer(s *grpc.Server, srv MetricsNamesServer)
- func RegisterObjectDetailsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterObjectDetailsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ObjectDetailsClient) error
- func RegisterObjectDetailsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterObjectDetailsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ObjectDetailsServer) error
- func RegisterObjectDetailsServer(s *grpc.Server, srv ObjectDetailsServer)
- func RegisterProfileHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterProfileHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProfileClient) error
- func RegisterProfileHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterProfileHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProfileServer) error
- func RegisterProfileServer(s *grpc.Server, srv ProfileServer)
- type CollectRequest
- func (*CollectRequest) Descriptor() ([]byte, []int)
- func (m *CollectRequest) GetMetricsBucket() []*MetricsBucket
- func (*CollectRequest) ProtoMessage()
- func (m *CollectRequest) Reset()
- func (m *CollectRequest) String() string
- func (this *CollectRequest) Validate() error
- func (m *CollectRequest) XXX_DiscardUnknown()
- func (m *CollectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectRequest) XXX_Merge(src proto.Message)
- func (m *CollectRequest) XXX_Size() int
- func (m *CollectRequest) XXX_Unmarshal(b []byte) error
- type CollectResponse
- func (*CollectResponse) Descriptor() ([]byte, []int)
- func (*CollectResponse) ProtoMessage()
- func (m *CollectResponse) Reset()
- func (m *CollectResponse) String() string
- func (this *CollectResponse) Validate() error
- func (m *CollectResponse) XXX_DiscardUnknown()
- func (m *CollectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectResponse) XXX_Merge(src proto.Message)
- func (m *CollectResponse) XXX_Size() int
- func (m *CollectResponse) XXX_Unmarshal(b []byte) error
- type CollectorClient
- type CollectorServer
- type ExampleFormatdeprecated
- type ExampleType
- type FiltersClient
- type FiltersReply
- func (*FiltersReply) Descriptor() ([]byte, []int)
- func (m *FiltersReply) GetLabels() map[string]*ListLabels
- func (*FiltersReply) ProtoMessage()
- func (m *FiltersReply) Reset()
- func (m *FiltersReply) String() string
- func (this *FiltersReply) Validate() error
- func (m *FiltersReply) XXX_DiscardUnknown()
- func (m *FiltersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FiltersReply) XXX_Merge(src proto.Message)
- func (m *FiltersReply) XXX_Size() int
- func (m *FiltersReply) XXX_Unmarshal(b []byte) error
- type FiltersRequest
- func (*FiltersRequest) Descriptor() ([]byte, []int)
- func (m *FiltersRequest) GetLabels() []*MapFieldEntry
- func (m *FiltersRequest) GetMainMetricName() string
- func (m *FiltersRequest) GetPeriodStartFrom() *timestamp.Timestamp
- func (m *FiltersRequest) GetPeriodStartTo() *timestamp.Timestamp
- func (*FiltersRequest) ProtoMessage()
- func (m *FiltersRequest) Reset()
- func (m *FiltersRequest) String() string
- func (this *FiltersRequest) Validate() error
- func (m *FiltersRequest) XXX_DiscardUnknown()
- func (m *FiltersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FiltersRequest) XXX_Merge(src proto.Message)
- func (m *FiltersRequest) XXX_Size() int
- func (m *FiltersRequest) XXX_Unmarshal(b []byte) error
- type FiltersServer
- type Labels
- func (*Labels) Descriptor() ([]byte, []int)
- func (m *Labels) GetValue() []string
- func (*Labels) ProtoMessage()
- func (m *Labels) Reset()
- func (m *Labels) String() string
- func (this *Labels) Validate() error
- func (m *Labels) XXX_DiscardUnknown()
- func (m *Labels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Labels) XXX_Merge(src proto.Message)
- func (m *Labels) XXX_Size() int
- func (m *Labels) XXX_Unmarshal(b []byte) error
- type ListLabelValues
- func (*ListLabelValues) Descriptor() ([]byte, []int)
- func (m *ListLabelValues) GetValues() []string
- func (*ListLabelValues) ProtoMessage()
- func (m *ListLabelValues) Reset()
- func (m *ListLabelValues) String() string
- func (this *ListLabelValues) Validate() error
- func (m *ListLabelValues) XXX_DiscardUnknown()
- func (m *ListLabelValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListLabelValues) XXX_Merge(src proto.Message)
- func (m *ListLabelValues) XXX_Size() int
- func (m *ListLabelValues) XXX_Unmarshal(b []byte) error
- type ListLabels
- func (*ListLabels) Descriptor() ([]byte, []int)
- func (m *ListLabels) GetName() []*Values
- func (*ListLabels) ProtoMessage()
- func (m *ListLabels) Reset()
- func (m *ListLabels) String() string
- func (this *ListLabels) Validate() error
- func (m *ListLabels) XXX_DiscardUnknown()
- func (m *ListLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListLabels) XXX_Merge(src proto.Message)
- func (m *ListLabels) XXX_Size() int
- func (m *ListLabels) XXX_Unmarshal(b []byte) error
- type MapFieldEntry
- func (*MapFieldEntry) Descriptor() ([]byte, []int)
- func (m *MapFieldEntry) GetKey() string
- func (m *MapFieldEntry) GetValue() []string
- func (*MapFieldEntry) ProtoMessage()
- func (m *MapFieldEntry) Reset()
- func (m *MapFieldEntry) String() string
- func (this *MapFieldEntry) Validate() error
- func (m *MapFieldEntry) XXX_DiscardUnknown()
- func (m *MapFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapFieldEntry) XXX_Merge(src proto.Message)
- func (m *MapFieldEntry) XXX_Size() int
- func (m *MapFieldEntry) XXX_Unmarshal(b []byte) error
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)
- func (m *Metric) GetStats() *Stat
- func (*Metric) ProtoMessage()
- func (m *Metric) Reset()
- func (m *Metric) String() string
- func (this *Metric) Validate() error
- func (m *Metric) XXX_DiscardUnknown()
- func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metric) XXX_Merge(src proto.Message)
- func (m *Metric) XXX_Size() int
- func (m *Metric) XXX_Unmarshal(b []byte) error
- type MetricValues
- func (*MetricValues) Descriptor() ([]byte, []int)
- func (m *MetricValues) GetAvg() float32
- func (m *MetricValues) GetCnt() float32
- func (m *MetricValues) GetMax() float32
- func (m *MetricValues) GetMin() float32
- func (m *MetricValues) GetP99() float32
- func (m *MetricValues) GetPercentOfTotal() float32
- func (m *MetricValues) GetRate() float32
- func (m *MetricValues) GetSum() float32
- func (*MetricValues) ProtoMessage()
- func (m *MetricValues) Reset()
- func (m *MetricValues) String() string
- func (this *MetricValues) Validate() error
- func (m *MetricValues) XXX_DiscardUnknown()
- func (m *MetricValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricValues) XXX_Merge(src proto.Message)
- func (m *MetricValues) XXX_Size() int
- func (m *MetricValues) XXX_Unmarshal(b []byte) error
- type MetricsBucket
- func (*MetricsBucket) Descriptor() ([]byte, []int)
- func (m *MetricsBucket) GetAgentId() string
- func (m *MetricsBucket) GetAgentType() inventorypb.AgentType
- func (m *MetricsBucket) GetAz() string
- func (m *MetricsBucket) GetClientHost() string
- func (m *MetricsBucket) GetCluster() string
- func (m *MetricsBucket) GetContainerId() string
- func (m *MetricsBucket) GetContainerName() string
- func (m *MetricsBucket) GetDatabase() string
- func (m *MetricsBucket) GetEnvironment() string
- func (m *MetricsBucket) GetErrors() map[uint64]uint64
- func (m *MetricsBucket) GetExample() string
- func (m *MetricsBucket) GetExampleFormat() ExampleFormatdeprecated
- func (m *MetricsBucket) GetExampleMetrics() string
- func (m *MetricsBucket) GetExampleType() ExampleType
- func (m *MetricsBucket) GetFingerprint() string
- func (m *MetricsBucket) GetIsTruncated() bool
- func (m *MetricsBucket) GetLabels() map[string]string
- func (m *MetricsBucket) GetMBlkReadTimeCnt() float32
- func (m *MetricsBucket) GetMBlkReadTimeSum() float32
- func (m *MetricsBucket) GetMBlkWriteTimeCnt() float32
- func (m *MetricsBucket) GetMBlkWriteTimeSum() float32
- func (m *MetricsBucket) GetMBytesSentCnt() float32
- func (m *MetricsBucket) GetMBytesSentMax() float32
- func (m *MetricsBucket) GetMBytesSentMin() float32
- func (m *MetricsBucket) GetMBytesSentP99() float32
- func (m *MetricsBucket) GetMBytesSentSum() float32
- func (m *MetricsBucket) GetMDocsReturnedCnt() float32
- func (m *MetricsBucket) GetMDocsReturnedMax() float32
- func (m *MetricsBucket) GetMDocsReturnedMin() float32
- func (m *MetricsBucket) GetMDocsReturnedP99() float32
- func (m *MetricsBucket) GetMDocsReturnedSum() float32
- func (m *MetricsBucket) GetMDocsScannedCnt() float32
- func (m *MetricsBucket) GetMDocsScannedMax() float32
- func (m *MetricsBucket) GetMDocsScannedMin() float32
- func (m *MetricsBucket) GetMDocsScannedP99() float32
- func (m *MetricsBucket) GetMDocsScannedSum() float32
- func (m *MetricsBucket) GetMFilesortCnt() float32
- func (m *MetricsBucket) GetMFilesortOnDiskCnt() float32
- func (m *MetricsBucket) GetMFilesortOnDiskSum() float32
- func (m *MetricsBucket) GetMFilesortSum() float32
- func (m *MetricsBucket) GetMFullJoinCnt() float32
- func (m *MetricsBucket) GetMFullJoinSum() float32
- func (m *MetricsBucket) GetMFullScanCnt() float32
- func (m *MetricsBucket) GetMFullScanSum() float32
- func (m *MetricsBucket) GetMInnodbIoRBytesCnt() float32
- func (m *MetricsBucket) GetMInnodbIoRBytesMax() float32
- func (m *MetricsBucket) GetMInnodbIoRBytesMin() float32
- func (m *MetricsBucket) GetMInnodbIoRBytesP99() float32
- func (m *MetricsBucket) GetMInnodbIoRBytesSum() float32
- func (m *MetricsBucket) GetMInnodbIoROpsCnt() float32
- func (m *MetricsBucket) GetMInnodbIoROpsMax() float32
- func (m *MetricsBucket) GetMInnodbIoROpsMin() float32
- func (m *MetricsBucket) GetMInnodbIoROpsP99() float32
- func (m *MetricsBucket) GetMInnodbIoROpsSum() float32
- func (m *MetricsBucket) GetMInnodbIoRWaitCnt() float32
- func (m *MetricsBucket) GetMInnodbIoRWaitMax() float32
- func (m *MetricsBucket) GetMInnodbIoRWaitMin() float32
- func (m *MetricsBucket) GetMInnodbIoRWaitP99() float32
- func (m *MetricsBucket) GetMInnodbIoRWaitSum() float32
- func (m *MetricsBucket) GetMInnodbPagesDistinctCnt() float32
- func (m *MetricsBucket) GetMInnodbPagesDistinctMax() float32
- func (m *MetricsBucket) GetMInnodbPagesDistinctMin() float32
- func (m *MetricsBucket) GetMInnodbPagesDistinctP99() float32
- func (m *MetricsBucket) GetMInnodbPagesDistinctSum() float32
- func (m *MetricsBucket) GetMInnodbQueueWaitCnt() float32
- func (m *MetricsBucket) GetMInnodbQueueWaitMax() float32
- func (m *MetricsBucket) GetMInnodbQueueWaitMin() float32
- func (m *MetricsBucket) GetMInnodbQueueWaitP99() float32
- func (m *MetricsBucket) GetMInnodbQueueWaitSum() float32
- func (m *MetricsBucket) GetMInnodbRecLockWaitCnt() float32
- func (m *MetricsBucket) GetMInnodbRecLockWaitMax() float32
- func (m *MetricsBucket) GetMInnodbRecLockWaitMin() float32
- func (m *MetricsBucket) GetMInnodbRecLockWaitP99() float32
- func (m *MetricsBucket) GetMInnodbRecLockWaitSum() float32
- func (m *MetricsBucket) GetMLocalBlksDirtiedCnt() float32
- func (m *MetricsBucket) GetMLocalBlksDirtiedSum() float32
- func (m *MetricsBucket) GetMLocalBlksHitCnt() float32
- func (m *MetricsBucket) GetMLocalBlksHitSum() float32
- func (m *MetricsBucket) GetMLocalBlksReadCnt() float32
- func (m *MetricsBucket) GetMLocalBlksReadSum() float32
- func (m *MetricsBucket) GetMLocalBlksWrittenCnt() float32
- func (m *MetricsBucket) GetMLocalBlksWrittenSum() float32
- func (m *MetricsBucket) GetMLockTimeCnt() float32
- func (m *MetricsBucket) GetMLockTimeMax() float32
- func (m *MetricsBucket) GetMLockTimeMin() float32
- func (m *MetricsBucket) GetMLockTimeP99() float32
- func (m *MetricsBucket) GetMLockTimeSum() float32
- func (m *MetricsBucket) GetMMergePassesCnt() float32
- func (m *MetricsBucket) GetMMergePassesMax() float32
- func (m *MetricsBucket) GetMMergePassesMin() float32
- func (m *MetricsBucket) GetMMergePassesP99() float32
- func (m *MetricsBucket) GetMMergePassesSum() float32
- func (m *MetricsBucket) GetMNoGoodIndexUsedCnt() float32
- func (m *MetricsBucket) GetMNoGoodIndexUsedSum() float32
- func (m *MetricsBucket) GetMNoIndexUsedCnt() float32
- func (m *MetricsBucket) GetMNoIndexUsedSum() float32
- func (m *MetricsBucket) GetMQcHitCnt() float32
- func (m *MetricsBucket) GetMQcHitSum() float32
- func (m *MetricsBucket) GetMQueryLengthCnt() float32
- func (m *MetricsBucket) GetMQueryLengthMax() float32
- func (m *MetricsBucket) GetMQueryLengthMin() float32
- func (m *MetricsBucket) GetMQueryLengthP99() float32
- func (m *MetricsBucket) GetMQueryLengthSum() float32
- func (m *MetricsBucket) GetMQueryTimeCnt() float32
- func (m *MetricsBucket) GetMQueryTimeMax() float32
- func (m *MetricsBucket) GetMQueryTimeMin() float32
- func (m *MetricsBucket) GetMQueryTimeP99() float32
- func (m *MetricsBucket) GetMQueryTimeSum() float32
- func (m *MetricsBucket) GetMResponseLengthCnt() float32
- func (m *MetricsBucket) GetMResponseLengthMax() float32
- func (m *MetricsBucket) GetMResponseLengthMin() float32
- func (m *MetricsBucket) GetMResponseLengthP99() float32
- func (m *MetricsBucket) GetMResponseLengthSum() float32
- func (m *MetricsBucket) GetMRowsAffectedCnt() float32
- func (m *MetricsBucket) GetMRowsAffectedMax() float32
- func (m *MetricsBucket) GetMRowsAffectedMin() float32
- func (m *MetricsBucket) GetMRowsAffectedP99() float32
- func (m *MetricsBucket) GetMRowsAffectedSum() float32
- func (m *MetricsBucket) GetMRowsExaminedCnt() float32
- func (m *MetricsBucket) GetMRowsExaminedMax() float32
- func (m *MetricsBucket) GetMRowsExaminedMin() float32
- func (m *MetricsBucket) GetMRowsExaminedP99() float32
- func (m *MetricsBucket) GetMRowsExaminedSum() float32
- func (m *MetricsBucket) GetMRowsReadCnt() float32
- func (m *MetricsBucket) GetMRowsReadMax() float32
- func (m *MetricsBucket) GetMRowsReadMin() float32
- func (m *MetricsBucket) GetMRowsReadP99() float32
- func (m *MetricsBucket) GetMRowsReadSum() float32
- func (m *MetricsBucket) GetMRowsSentCnt() float32
- func (m *MetricsBucket) GetMRowsSentMax() float32
- func (m *MetricsBucket) GetMRowsSentMin() float32
- func (m *MetricsBucket) GetMRowsSentP99() float32
- func (m *MetricsBucket) GetMRowsSentSum() float32
- func (m *MetricsBucket) GetMSelectFullRangeJoinCnt() float32
- func (m *MetricsBucket) GetMSelectFullRangeJoinSum() float32
- func (m *MetricsBucket) GetMSelectRangeCheckCnt() float32
- func (m *MetricsBucket) GetMSelectRangeCheckSum() float32
- func (m *MetricsBucket) GetMSelectRangeCnt() float32
- func (m *MetricsBucket) GetMSelectRangeSum() float32
- func (m *MetricsBucket) GetMSharedBlksDirtiedCnt() float32
- func (m *MetricsBucket) GetMSharedBlksDirtiedSum() float32
- func (m *MetricsBucket) GetMSharedBlksHitCnt() float32
- func (m *MetricsBucket) GetMSharedBlksHitSum() float32
- func (m *MetricsBucket) GetMSharedBlksReadCnt() float32
- func (m *MetricsBucket) GetMSharedBlksReadSum() float32
- func (m *MetricsBucket) GetMSharedBlksWrittenCnt() float32
- func (m *MetricsBucket) GetMSharedBlksWrittenSum() float32
- func (m *MetricsBucket) GetMSortRangeCnt() float32
- func (m *MetricsBucket) GetMSortRangeSum() float32
- func (m *MetricsBucket) GetMSortRowsCnt() float32
- func (m *MetricsBucket) GetMSortRowsSum() float32
- func (m *MetricsBucket) GetMSortScanCnt() float32
- func (m *MetricsBucket) GetMSortScanSum() float32
- func (m *MetricsBucket) GetMTempBlksReadCnt() float32
- func (m *MetricsBucket) GetMTempBlksReadSum() float32
- func (m *MetricsBucket) GetMTempBlksWrittenCnt() float32
- func (m *MetricsBucket) GetMTempBlksWrittenSum() float32
- func (m *MetricsBucket) GetMTmpDiskTablesCnt() float32
- func (m *MetricsBucket) GetMTmpDiskTablesMax() float32
- func (m *MetricsBucket) GetMTmpDiskTablesMin() float32
- func (m *MetricsBucket) GetMTmpDiskTablesP99() float32
- func (m *MetricsBucket) GetMTmpDiskTablesSum() float32
- func (m *MetricsBucket) GetMTmpTableCnt() float32
- func (m *MetricsBucket) GetMTmpTableOnDiskCnt() float32
- func (m *MetricsBucket) GetMTmpTableOnDiskSum() float32
- func (m *MetricsBucket) GetMTmpTableSizesCnt() float32
- func (m *MetricsBucket) GetMTmpTableSizesMax() float32
- func (m *MetricsBucket) GetMTmpTableSizesMin() float32
- func (m *MetricsBucket) GetMTmpTableSizesP99() float32
- func (m *MetricsBucket) GetMTmpTableSizesSum() float32
- func (m *MetricsBucket) GetMTmpTableSum() float32
- func (m *MetricsBucket) GetMTmpTablesCnt() float32
- func (m *MetricsBucket) GetMTmpTablesMax() float32
- func (m *MetricsBucket) GetMTmpTablesMin() float32
- func (m *MetricsBucket) GetMTmpTablesP99() float32
- func (m *MetricsBucket) GetMTmpTablesSum() float32
- func (m *MetricsBucket) GetMachineId() string
- func (m *MetricsBucket) GetNodeId() string
- func (m *MetricsBucket) GetNodeModel() string
- func (m *MetricsBucket) GetNodeName() string
- func (m *MetricsBucket) GetNodeType() string
- func (m *MetricsBucket) GetNumQueries() float32
- func (m *MetricsBucket) GetNumQueriesWithErrors() float32
- func (m *MetricsBucket) GetNumQueriesWithWarnings() float32
- func (m *MetricsBucket) GetPeriodLengthSecs() uint32
- func (m *MetricsBucket) GetPeriodStartUnixSecs() uint32
- func (m *MetricsBucket) GetQueryid() string
- func (m *MetricsBucket) GetRegion() string
- func (m *MetricsBucket) GetReplicationSet() string
- func (m *MetricsBucket) GetSchema() string
- func (m *MetricsBucket) GetServiceId() string
- func (m *MetricsBucket) GetServiceName() string
- func (m *MetricsBucket) GetServiceType() string
- func (m *MetricsBucket) GetTables() []string
- func (m *MetricsBucket) GetUsername() string
- func (m *MetricsBucket) GetWarnings() map[uint64]uint64
- func (*MetricsBucket) ProtoMessage()
- func (m *MetricsBucket) Reset()
- func (m *MetricsBucket) String() string
- func (this *MetricsBucket) Validate() error
- func (m *MetricsBucket) XXX_DiscardUnknown()
- func (m *MetricsBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricsBucket) XXX_Merge(src proto.Message)
- func (m *MetricsBucket) XXX_Size() int
- func (m *MetricsBucket) XXX_Unmarshal(b []byte) error
- type MetricsNamesClient
- type MetricsNamesReply
- func (*MetricsNamesReply) Descriptor() ([]byte, []int)
- func (m *MetricsNamesReply) GetData() map[string]string
- func (*MetricsNamesReply) ProtoMessage()
- func (m *MetricsNamesReply) Reset()
- func (m *MetricsNamesReply) String() string
- func (this *MetricsNamesReply) Validate() error
- func (m *MetricsNamesReply) XXX_DiscardUnknown()
- func (m *MetricsNamesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricsNamesReply) XXX_Merge(src proto.Message)
- func (m *MetricsNamesReply) XXX_Size() int
- func (m *MetricsNamesReply) XXX_Unmarshal(b []byte) error
- type MetricsNamesRequest
- func (*MetricsNamesRequest) Descriptor() ([]byte, []int)
- func (*MetricsNamesRequest) ProtoMessage()
- func (m *MetricsNamesRequest) Reset()
- func (m *MetricsNamesRequest) String() string
- func (this *MetricsNamesRequest) Validate() error
- func (m *MetricsNamesRequest) XXX_DiscardUnknown()
- func (m *MetricsNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricsNamesRequest) XXX_Merge(src proto.Message)
- func (m *MetricsNamesRequest) XXX_Size() int
- func (m *MetricsNamesRequest) XXX_Unmarshal(b []byte) error
- type MetricsNamesServer
- type MetricsReply
- func (*MetricsReply) Descriptor() ([]byte, []int)
- func (m *MetricsReply) GetFingerprint() string
- func (m *MetricsReply) GetMetrics() map[string]*MetricValues
- func (m *MetricsReply) GetSparkline() []*Point
- func (m *MetricsReply) GetTotals() map[string]*MetricValues
- func (*MetricsReply) ProtoMessage()
- func (m *MetricsReply) Reset()
- func (m *MetricsReply) String() string
- func (this *MetricsReply) Validate() error
- func (m *MetricsReply) XXX_DiscardUnknown()
- func (m *MetricsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricsReply) XXX_Merge(src proto.Message)
- func (m *MetricsReply) XXX_Size() int
- func (m *MetricsReply) XXX_Unmarshal(b []byte) error
- type MetricsRequest
- func (*MetricsRequest) Descriptor() ([]byte, []int)
- func (m *MetricsRequest) GetFilterBy() string
- func (m *MetricsRequest) GetGroupBy() string
- func (m *MetricsRequest) GetIncludeOnlyFields() []string
- func (m *MetricsRequest) GetLabels() []*MapFieldEntry
- func (m *MetricsRequest) GetPeriodStartFrom() *timestamp.Timestamp
- func (m *MetricsRequest) GetPeriodStartTo() *timestamp.Timestamp
- func (m *MetricsRequest) GetTotals() bool
- func (*MetricsRequest) ProtoMessage()
- func (m *MetricsRequest) Reset()
- func (m *MetricsRequest) String() string
- func (this *MetricsRequest) Validate() error
- func (m *MetricsRequest) XXX_DiscardUnknown()
- func (m *MetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricsRequest) XXX_Merge(src proto.Message)
- func (m *MetricsRequest) XXX_Size() int
- func (m *MetricsRequest) XXX_Unmarshal(b []byte) error
- type ObjectDetailsClient
- type ObjectDetailsLabelsReply
- func (*ObjectDetailsLabelsReply) Descriptor() ([]byte, []int)
- func (m *ObjectDetailsLabelsReply) GetLabels() map[string]*ListLabelValues
- func (*ObjectDetailsLabelsReply) ProtoMessage()
- func (m *ObjectDetailsLabelsReply) Reset()
- func (m *ObjectDetailsLabelsReply) String() string
- func (this *ObjectDetailsLabelsReply) Validate() error
- func (m *ObjectDetailsLabelsReply) XXX_DiscardUnknown()
- func (m *ObjectDetailsLabelsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectDetailsLabelsReply) XXX_Merge(src proto.Message)
- func (m *ObjectDetailsLabelsReply) XXX_Size() int
- func (m *ObjectDetailsLabelsReply) XXX_Unmarshal(b []byte) error
- type ObjectDetailsLabelsRequest
- func (*ObjectDetailsLabelsRequest) Descriptor() ([]byte, []int)
- func (m *ObjectDetailsLabelsRequest) GetFilterBy() string
- func (m *ObjectDetailsLabelsRequest) GetGroupBy() string
- func (m *ObjectDetailsLabelsRequest) GetPeriodStartFrom() *timestamp.Timestamp
- func (m *ObjectDetailsLabelsRequest) GetPeriodStartTo() *timestamp.Timestamp
- func (*ObjectDetailsLabelsRequest) ProtoMessage()
- func (m *ObjectDetailsLabelsRequest) Reset()
- func (m *ObjectDetailsLabelsRequest) String() string
- func (this *ObjectDetailsLabelsRequest) Validate() error
- func (m *ObjectDetailsLabelsRequest) XXX_DiscardUnknown()
- func (m *ObjectDetailsLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectDetailsLabelsRequest) XXX_Merge(src proto.Message)
- func (m *ObjectDetailsLabelsRequest) XXX_Size() int
- func (m *ObjectDetailsLabelsRequest) XXX_Unmarshal(b []byte) error
- type ObjectDetailsServer
- type Point
- func (*Point) Descriptor() ([]byte, []int)
- func (m *Point) GetLoad() float32
- func (m *Point) GetMBlkReadTimeSumPerSec() float32
- func (m *Point) GetMBlkWriteTimeSumPerSec() float32
- func (m *Point) GetMBytesSentSumPerSec() float32
- func (m *Point) GetMDocsReturnedSumPerSec() float32
- func (m *Point) GetMDocsScannedSumPerSec() float32
- func (m *Point) GetMFilesortOnDiskSumPerSec() float32
- func (m *Point) GetMFilesortSumPerSec() float32
- func (m *Point) GetMFullJoinSumPerSec() float32
- func (m *Point) GetMFullScanSumPerSec() float32
- func (m *Point) GetMInnodbIoRBytesSumPerSec() float32
- func (m *Point) GetMInnodbIoROpsSumPerSec() float32
- func (m *Point) GetMInnodbIoRWaitSumPerSec() float32
- func (m *Point) GetMInnodbPagesDistinctSumPerSec() float32
- func (m *Point) GetMInnodbQueueWaitSumPerSec() float32
- func (m *Point) GetMInnodbRecLockWaitSumPerSec() float32
- func (m *Point) GetMLocalBlksDirtiedSumPerSec() float32
- func (m *Point) GetMLocalBlksHitSumPerSec() float32
- func (m *Point) GetMLocalBlksReadSumPerSec() float32
- func (m *Point) GetMLocalBlksWrittenSumPerSec() float32
- func (m *Point) GetMLockTimeSumPerSec() float32
- func (m *Point) GetMMergePassesSumPerSec() float32
- func (m *Point) GetMNoGoodIndexUsedSumPerSec() float32
- func (m *Point) GetMNoIndexUsedSumPerSec() float32
- func (m *Point) GetMQcHitSumPerSec() float32
- func (m *Point) GetMQueryLengthSumPerSec() float32
- func (m *Point) GetMQueryTimeSumPerSec() float32
- func (m *Point) GetMResponseLengthSumPerSec() float32
- func (m *Point) GetMRowsAffectedSumPerSec() float32
- func (m *Point) GetMRowsExaminedSumPerSec() float32
- func (m *Point) GetMRowsReadSumPerSec() float32
- func (m *Point) GetMRowsSentSumPerSec() float32
- func (m *Point) GetMSelectFullRangeJoinSumPerSec() float32
- func (m *Point) GetMSelectRangeCheckSumPerSec() float32
- func (m *Point) GetMSelectRangeSumPerSec() float32
- func (m *Point) GetMSharedBlksDirtiedSumPerSec() float32
- func (m *Point) GetMSharedBlksHitSumPerSec() float32
- func (m *Point) GetMSharedBlksReadSumPerSec() float32
- func (m *Point) GetMSharedBlksWrittenSumPerSec() float32
- func (m *Point) GetMSortRangeSumPerSec() float32
- func (m *Point) GetMSortRowsSumPerSec() float32
- func (m *Point) GetMSortScanSumPerSec() float32
- func (m *Point) GetMTempBlksReadSumPerSec() float32
- func (m *Point) GetMTempBlksWrittenSumPerSec() float32
- func (m *Point) GetMTmpDiskTablesSumPerSec() float32
- func (m *Point) GetMTmpTableOnDiskSumPerSec() float32
- func (m *Point) GetMTmpTableSizesSumPerSec() float32
- func (m *Point) GetMTmpTableSumPerSec() float32
- func (m *Point) GetMTmpTablesSumPerSec() float32
- func (m *Point) GetNumQueriesPerSec() float32
- func (m *Point) GetNumQueriesWithErrorsPerSec() float32
- func (m *Point) GetNumQueriesWithWarningsPerSec() float32
- func (m *Point) GetPoint() uint32
- func (m *Point) GetTimeFrame() uint32
- func (m *Point) GetTimestamp() string
- func (*Point) ProtoMessage()
- func (m *Point) Reset()
- func (m *Point) String() string
- func (this *Point) Validate() error
- func (m *Point) XXX_DiscardUnknown()
- func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Point) XXX_Merge(src proto.Message)
- func (m *Point) XXX_Size() int
- func (m *Point) XXX_Unmarshal(b []byte) error
- type ProfileClient
- type ProfileServer
- type QueryExample
- func (*QueryExample) Descriptor() ([]byte, []int)
- func (m *QueryExample) GetExample() string
- func (m *QueryExample) GetExampleFormat() ExampleFormatdeprecated
- func (m *QueryExample) GetExampleMetrics() string
- func (m *QueryExample) GetExampleType() ExampleType
- func (m *QueryExample) GetIsTruncated() uint32
- func (m *QueryExample) GetSchema() string
- func (m *QueryExample) GetServiceId() string
- func (m *QueryExample) GetServiceType() string
- func (m *QueryExample) GetTables() []string
- func (*QueryExample) ProtoMessage()
- func (m *QueryExample) Reset()
- func (m *QueryExample) String() string
- func (this *QueryExample) Validate() error
- func (m *QueryExample) XXX_DiscardUnknown()
- func (m *QueryExample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExample) XXX_Merge(src proto.Message)
- func (m *QueryExample) XXX_Size() int
- func (m *QueryExample) XXX_Unmarshal(b []byte) error
- type QueryExampleReply
- func (*QueryExampleReply) Descriptor() ([]byte, []int)
- func (m *QueryExampleReply) GetQueryExamples() []*QueryExample
- func (*QueryExampleReply) ProtoMessage()
- func (m *QueryExampleReply) Reset()
- func (m *QueryExampleReply) String() string
- func (this *QueryExampleReply) Validate() error
- func (m *QueryExampleReply) XXX_DiscardUnknown()
- func (m *QueryExampleReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExampleReply) XXX_Merge(src proto.Message)
- func (m *QueryExampleReply) XXX_Size() int
- func (m *QueryExampleReply) XXX_Unmarshal(b []byte) error
- type QueryExampleRequest
- func (*QueryExampleRequest) Descriptor() ([]byte, []int)
- func (m *QueryExampleRequest) GetFilterBy() string
- func (m *QueryExampleRequest) GetGroupBy() string
- func (m *QueryExampleRequest) GetLabels() []*MapFieldEntry
- func (m *QueryExampleRequest) GetLimit() uint32
- func (m *QueryExampleRequest) GetPeriodStartFrom() *timestamp.Timestamp
- func (m *QueryExampleRequest) GetPeriodStartTo() *timestamp.Timestamp
- func (*QueryExampleRequest) ProtoMessage()
- func (m *QueryExampleRequest) Reset()
- func (m *QueryExampleRequest) String() string
- func (this *QueryExampleRequest) Validate() error
- func (m *QueryExampleRequest) XXX_DiscardUnknown()
- func (m *QueryExampleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExampleRequest) XXX_Merge(src proto.Message)
- func (m *QueryExampleRequest) XXX_Size() int
- func (m *QueryExampleRequest) XXX_Unmarshal(b []byte) error
- type ReportMapFieldEntry
- func (*ReportMapFieldEntry) Descriptor() ([]byte, []int)
- func (m *ReportMapFieldEntry) GetKey() string
- func (m *ReportMapFieldEntry) GetValue() []string
- func (*ReportMapFieldEntry) ProtoMessage()
- func (m *ReportMapFieldEntry) Reset()
- func (m *ReportMapFieldEntry) String() string
- func (this *ReportMapFieldEntry) Validate() error
- func (m *ReportMapFieldEntry) XXX_DiscardUnknown()
- func (m *ReportMapFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportMapFieldEntry) XXX_Merge(src proto.Message)
- func (m *ReportMapFieldEntry) XXX_Size() int
- func (m *ReportMapFieldEntry) XXX_Unmarshal(b []byte) error
- type ReportReply
- func (*ReportReply) Descriptor() ([]byte, []int)
- func (m *ReportReply) GetLimit() uint32
- func (m *ReportReply) GetOffset() uint32
- func (m *ReportReply) GetRows() []*Row
- func (m *ReportReply) GetTotalRows() uint32
- func (*ReportReply) ProtoMessage()
- func (m *ReportReply) Reset()
- func (m *ReportReply) String() string
- func (this *ReportReply) Validate() error
- func (m *ReportReply) XXX_DiscardUnknown()
- func (m *ReportReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportReply) XXX_Merge(src proto.Message)
- func (m *ReportReply) XXX_Size() int
- func (m *ReportReply) XXX_Unmarshal(b []byte) error
- type ReportRequest
- func (*ReportRequest) Descriptor() ([]byte, []int)
- func (m *ReportRequest) GetColumns() []string
- func (m *ReportRequest) GetGroupBy() string
- func (m *ReportRequest) GetLabels() []*ReportMapFieldEntry
- func (m *ReportRequest) GetLimit() uint32
- func (m *ReportRequest) GetMainMetric() string
- func (m *ReportRequest) GetOffset() uint32
- func (m *ReportRequest) GetOrderBy() string
- func (m *ReportRequest) GetPeriodStartFrom() *timestamp.Timestamp
- func (m *ReportRequest) GetPeriodStartTo() *timestamp.Timestamp
- func (*ReportRequest) ProtoMessage()
- func (m *ReportRequest) Reset()
- func (m *ReportRequest) String() string
- func (this *ReportRequest) Validate() error
- func (m *ReportRequest) XXX_DiscardUnknown()
- func (m *ReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportRequest) XXX_Merge(src proto.Message)
- func (m *ReportRequest) XXX_Size() int
- func (m *ReportRequest) XXX_Unmarshal(b []byte) error
- type Row
- func (*Row) Descriptor() ([]byte, []int)
- func (m *Row) GetDimension() string
- func (m *Row) GetFingerprint() string
- func (m *Row) GetLoad() float32
- func (m *Row) GetMetrics() map[string]*Metric
- func (m *Row) GetNumQueries() uint32
- func (m *Row) GetQps() float32
- func (m *Row) GetRank() uint32
- func (m *Row) GetSparkline() []*Point
- func (*Row) ProtoMessage()
- func (m *Row) Reset()
- func (m *Row) String() string
- func (this *Row) Validate() error
- func (m *Row) XXX_DiscardUnknown()
- func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Row) XXX_Merge(src proto.Message)
- func (m *Row) XXX_Size() int
- func (m *Row) XXX_Unmarshal(b []byte) error
- type Stat
- func (*Stat) Descriptor() ([]byte, []int)
- func (m *Stat) GetAvg() float32
- func (m *Stat) GetCnt() float32
- func (m *Stat) GetMax() float32
- func (m *Stat) GetMin() float32
- func (m *Stat) GetP99() float32
- func (m *Stat) GetRate() float32
- func (m *Stat) GetSum() float32
- func (m *Stat) GetSumPerSec() float32
- func (*Stat) ProtoMessage()
- func (m *Stat) Reset()
- func (m *Stat) String() string
- func (this *Stat) Validate() error
- func (m *Stat) XXX_DiscardUnknown()
- func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stat) XXX_Merge(src proto.Message)
- func (m *Stat) XXX_Size() int
- func (m *Stat) XXX_Unmarshal(b []byte) error
- type UnimplementedCollectorServer
- type UnimplementedFiltersServer
- type UnimplementedMetricsNamesServer
- type UnimplementedObjectDetailsServer
- func (*UnimplementedObjectDetailsServer) GetLabels(ctx context.Context, req *ObjectDetailsLabelsRequest) (*ObjectDetailsLabelsReply, error)
- func (*UnimplementedObjectDetailsServer) GetMetrics(ctx context.Context, req *MetricsRequest) (*MetricsReply, error)
- func (*UnimplementedObjectDetailsServer) GetQueryExample(ctx context.Context, req *QueryExampleRequest) (*QueryExampleReply, error)
- type UnimplementedProfileServer
- type Values
- func (*Values) Descriptor() ([]byte, []int)
- func (m *Values) GetMainMetricPerSec() float32
- func (m *Values) GetMainMetricPercent() float32
- func (m *Values) GetValue() string
- func (*Values) ProtoMessage()
- func (m *Values) Reset()
- func (m *Values) String() string
- func (this *Values) Validate() error
- func (m *Values) XXX_DiscardUnknown()
- func (m *Values) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Values) XXX_Merge(src proto.Message)
- func (m *Values) XXX_Size() int
- func (m *Values) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ExampleFormat_name = map[int32]string{
0: "EXAMPLE_FORMAT_INVALID",
1: "EXAMPLE",
2: "FINGERPRINT",
}
var ExampleFormat_value = map[string]int32{
"EXAMPLE_FORMAT_INVALID": 0,
"EXAMPLE": 1,
"FINGERPRINT": 2,
}
var ExampleType_name = map[int32]string{
0: "EXAMPLE_TYPE_INVALID",
1: "RANDOM",
2: "SLOWEST",
3: "FASTEST",
4: "WITH_ERROR",
}
var ExampleType_value = map[string]int32{
"EXAMPLE_TYPE_INVALID": 0,
"RANDOM": 1,
"SLOWEST": 2,
"FASTEST": 3,
"WITH_ERROR": 4,
}
Functions ¶
func RegisterCollectorServer ¶
func RegisterCollectorServer(s *grpc.Server, srv CollectorServer)
func RegisterFiltersHandler ¶
func RegisterFiltersHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterFiltersHandler registers the http handlers for service Filters to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterFiltersHandlerClient ¶
func RegisterFiltersHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FiltersClient) error
RegisterFiltersHandlerClient registers the http handlers for service Filters to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FiltersClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FiltersClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FiltersClient" to call the correct interceptors.
func RegisterFiltersHandlerFromEndpoint ¶
func RegisterFiltersHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterFiltersHandlerFromEndpoint is same as RegisterFiltersHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterFiltersHandlerServer ¶
func RegisterFiltersHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FiltersServer) error
RegisterFiltersHandlerServer registers the http handlers for service Filters to "mux". UnaryRPC :call FiltersServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterFiltersServer ¶
func RegisterFiltersServer(s *grpc.Server, srv FiltersServer)
func RegisterMetricsNamesHandler ¶
func RegisterMetricsNamesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMetricsNamesHandler registers the http handlers for service MetricsNames to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMetricsNamesHandlerClient ¶
func RegisterMetricsNamesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MetricsNamesClient) error
RegisterMetricsNamesHandlerClient registers the http handlers for service MetricsNames to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MetricsNamesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MetricsNamesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MetricsNamesClient" to call the correct interceptors.
func RegisterMetricsNamesHandlerFromEndpoint ¶
func RegisterMetricsNamesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMetricsNamesHandlerFromEndpoint is same as RegisterMetricsNamesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMetricsNamesHandlerServer ¶
func RegisterMetricsNamesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MetricsNamesServer) error
RegisterMetricsNamesHandlerServer registers the http handlers for service MetricsNames to "mux". UnaryRPC :call MetricsNamesServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterMetricsNamesServer ¶
func RegisterMetricsNamesServer(s *grpc.Server, srv MetricsNamesServer)
func RegisterObjectDetailsHandler ¶
func RegisterObjectDetailsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterObjectDetailsHandler registers the http handlers for service ObjectDetails to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterObjectDetailsHandlerClient ¶
func RegisterObjectDetailsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ObjectDetailsClient) error
RegisterObjectDetailsHandlerClient registers the http handlers for service ObjectDetails to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ObjectDetailsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ObjectDetailsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ObjectDetailsClient" to call the correct interceptors.
func RegisterObjectDetailsHandlerFromEndpoint ¶
func RegisterObjectDetailsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterObjectDetailsHandlerFromEndpoint is same as RegisterObjectDetailsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterObjectDetailsHandlerServer ¶
func RegisterObjectDetailsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ObjectDetailsServer) error
RegisterObjectDetailsHandlerServer registers the http handlers for service ObjectDetails to "mux". UnaryRPC :call ObjectDetailsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterObjectDetailsServer ¶
func RegisterObjectDetailsServer(s *grpc.Server, srv ObjectDetailsServer)
func RegisterProfileHandler ¶
func RegisterProfileHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterProfileHandler registers the http handlers for service Profile to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterProfileHandlerClient ¶
func RegisterProfileHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProfileClient) error
RegisterProfileHandlerClient registers the http handlers for service Profile to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProfileClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProfileClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProfileClient" to call the correct interceptors.
func RegisterProfileHandlerFromEndpoint ¶
func RegisterProfileHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterProfileHandlerFromEndpoint is same as RegisterProfileHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterProfileHandlerServer ¶
func RegisterProfileHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProfileServer) error
RegisterProfileHandlerServer registers the http handlers for service Profile to "mux". UnaryRPC :call ProfileServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterProfileServer ¶
func RegisterProfileServer(s *grpc.Server, srv ProfileServer)
Types ¶
type CollectRequest ¶
type CollectRequest struct { MetricsBucket []*MetricsBucket `protobuf:"bytes,1,rep,name=metrics_bucket,json=metricsBucket,proto3" json:"metrics_bucket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CollectRequest) Descriptor ¶
func (*CollectRequest) Descriptor() ([]byte, []int)
func (*CollectRequest) GetMetricsBucket ¶
func (m *CollectRequest) GetMetricsBucket() []*MetricsBucket
func (*CollectRequest) ProtoMessage ¶
func (*CollectRequest) ProtoMessage()
func (*CollectRequest) Reset ¶
func (m *CollectRequest) Reset()
func (*CollectRequest) String ¶
func (m *CollectRequest) String() string
func (*CollectRequest) Validate ¶
func (this *CollectRequest) Validate() error
func (*CollectRequest) XXX_DiscardUnknown ¶
func (m *CollectRequest) XXX_DiscardUnknown()
func (*CollectRequest) XXX_Marshal ¶
func (m *CollectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectRequest) XXX_Merge ¶
func (m *CollectRequest) XXX_Merge(src proto.Message)
func (*CollectRequest) XXX_Size ¶
func (m *CollectRequest) XXX_Size() int
func (*CollectRequest) XXX_Unmarshal ¶
func (m *CollectRequest) XXX_Unmarshal(b []byte) error
type CollectResponse ¶
type CollectResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CollectResponse) Descriptor ¶
func (*CollectResponse) Descriptor() ([]byte, []int)
func (*CollectResponse) ProtoMessage ¶
func (*CollectResponse) ProtoMessage()
func (*CollectResponse) Reset ¶
func (m *CollectResponse) Reset()
func (*CollectResponse) String ¶
func (m *CollectResponse) String() string
func (*CollectResponse) Validate ¶
func (this *CollectResponse) Validate() error
func (*CollectResponse) XXX_DiscardUnknown ¶
func (m *CollectResponse) XXX_DiscardUnknown()
func (*CollectResponse) XXX_Marshal ¶
func (m *CollectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectResponse) XXX_Merge ¶
func (m *CollectResponse) XXX_Merge(src proto.Message)
func (*CollectResponse) XXX_Size ¶
func (m *CollectResponse) XXX_Size() int
func (*CollectResponse) XXX_Unmarshal ¶
func (m *CollectResponse) XXX_Unmarshal(b []byte) error
type CollectorClient ¶
type CollectorClient interface { // Collect accepts data from pmm-agent (via pmm-managed). Collect(ctx context.Context, in *CollectRequest, opts ...grpc.CallOption) (*CollectResponse, error) }
CollectorClient is the client API for Collector service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCollectorClient ¶
func NewCollectorClient(cc grpc.ClientConnInterface) CollectorClient
type CollectorServer ¶
type CollectorServer interface { // Collect accepts data from pmm-agent (via pmm-managed). Collect(context.Context, *CollectRequest) (*CollectResponse, error) }
CollectorServer is the server API for Collector service.
type ExampleFormat
deprecated
type ExampleFormat int32
ExampleFormat is format of query example: real or query without values.
Deprecated: is not used, should not be used, should be removed.
const ( ExampleFormat_EXAMPLE_FORMAT_INVALID ExampleFormat = 0 // Deprecated: Do not use. ExampleFormat_EXAMPLE ExampleFormat = 1 // Deprecated: Do not use. ExampleFormat_FINGERPRINT ExampleFormat = 2 // Deprecated: Do not use. )
func (ExampleFormat) EnumDescriptor ¶
func (ExampleFormat) EnumDescriptor() ([]byte, []int)
func (ExampleFormat) String ¶
func (x ExampleFormat) String() string
type ExampleType ¶
type ExampleType int32
ExampleType is a type of query example selected for this query class in given period of time.
const ( ExampleType_EXAMPLE_TYPE_INVALID ExampleType = 0 ExampleType_RANDOM ExampleType = 1 ExampleType_SLOWEST ExampleType = 2 ExampleType_FASTEST ExampleType = 3 ExampleType_WITH_ERROR ExampleType = 4 )
func (ExampleType) EnumDescriptor ¶
func (ExampleType) EnumDescriptor() ([]byte, []int)
func (ExampleType) String ¶
func (x ExampleType) String() string
type FiltersClient ¶
type FiltersClient interface { // Get gets map of metrics names. Get(ctx context.Context, in *FiltersRequest, opts ...grpc.CallOption) (*FiltersReply, error) }
FiltersClient is the client API for Filters service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFiltersClient ¶
func NewFiltersClient(cc grpc.ClientConnInterface) FiltersClient
type FiltersReply ¶
type FiltersReply struct { Labels map[string]*ListLabels `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FiltersReply is map of labels for given period by key. Key is label's name and value is label's value and how many times it occur.
func (*FiltersReply) Descriptor ¶
func (*FiltersReply) Descriptor() ([]byte, []int)
func (*FiltersReply) GetLabels ¶
func (m *FiltersReply) GetLabels() map[string]*ListLabels
func (*FiltersReply) ProtoMessage ¶
func (*FiltersReply) ProtoMessage()
func (*FiltersReply) Reset ¶
func (m *FiltersReply) Reset()
func (*FiltersReply) String ¶
func (m *FiltersReply) String() string
func (*FiltersReply) Validate ¶
func (this *FiltersReply) Validate() error
func (*FiltersReply) XXX_DiscardUnknown ¶
func (m *FiltersReply) XXX_DiscardUnknown()
func (*FiltersReply) XXX_Marshal ¶
func (m *FiltersReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FiltersReply) XXX_Merge ¶
func (m *FiltersReply) XXX_Merge(src proto.Message)
func (*FiltersReply) XXX_Size ¶
func (m *FiltersReply) XXX_Size() int
func (*FiltersReply) XXX_Unmarshal ¶
func (m *FiltersReply) XXX_Unmarshal(b []byte) error
type FiltersRequest ¶
type FiltersRequest struct { PeriodStartFrom *timestamp.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamp.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` MainMetricName string `protobuf:"bytes,3,opt,name=main_metric_name,json=mainMetricName,proto3" json:"main_metric_name,omitempty"` Labels []*MapFieldEntry `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FiltersRequest contains period for which we need filters.
func (*FiltersRequest) Descriptor ¶
func (*FiltersRequest) Descriptor() ([]byte, []int)
func (*FiltersRequest) GetLabels ¶
func (m *FiltersRequest) GetLabels() []*MapFieldEntry
func (*FiltersRequest) GetMainMetricName ¶
func (m *FiltersRequest) GetMainMetricName() string
func (*FiltersRequest) GetPeriodStartFrom ¶
func (m *FiltersRequest) GetPeriodStartFrom() *timestamp.Timestamp
func (*FiltersRequest) GetPeriodStartTo ¶
func (m *FiltersRequest) GetPeriodStartTo() *timestamp.Timestamp
func (*FiltersRequest) ProtoMessage ¶
func (*FiltersRequest) ProtoMessage()
func (*FiltersRequest) Reset ¶
func (m *FiltersRequest) Reset()
func (*FiltersRequest) String ¶
func (m *FiltersRequest) String() string
func (*FiltersRequest) Validate ¶
func (this *FiltersRequest) Validate() error
func (*FiltersRequest) XXX_DiscardUnknown ¶
func (m *FiltersRequest) XXX_DiscardUnknown()
func (*FiltersRequest) XXX_Marshal ¶
func (m *FiltersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FiltersRequest) XXX_Merge ¶
func (m *FiltersRequest) XXX_Merge(src proto.Message)
func (*FiltersRequest) XXX_Size ¶
func (m *FiltersRequest) XXX_Size() int
func (*FiltersRequest) XXX_Unmarshal ¶
func (m *FiltersRequest) XXX_Unmarshal(b []byte) error
type FiltersServer ¶
type FiltersServer interface { // Get gets map of metrics names. Get(context.Context, *FiltersRequest) (*FiltersReply, error) }
FiltersServer is the server API for Filters service.
type Labels ¶
type Labels struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Labels are list of labels or dimensions values.
func (*Labels) Descriptor ¶
func (*Labels) ProtoMessage ¶
func (*Labels) ProtoMessage()
func (*Labels) XXX_DiscardUnknown ¶
func (m *Labels) XXX_DiscardUnknown()
func (*Labels) XXX_Marshal ¶
func (*Labels) XXX_Unmarshal ¶
type ListLabelValues ¶
type ListLabelValues struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListLabelValues is list of label's values.
func (*ListLabelValues) Descriptor ¶
func (*ListLabelValues) Descriptor() ([]byte, []int)
func (*ListLabelValues) GetValues ¶
func (m *ListLabelValues) GetValues() []string
func (*ListLabelValues) ProtoMessage ¶
func (*ListLabelValues) ProtoMessage()
func (*ListLabelValues) Reset ¶
func (m *ListLabelValues) Reset()
func (*ListLabelValues) String ¶
func (m *ListLabelValues) String() string
func (*ListLabelValues) Validate ¶
func (this *ListLabelValues) Validate() error
func (*ListLabelValues) XXX_DiscardUnknown ¶
func (m *ListLabelValues) XXX_DiscardUnknown()
func (*ListLabelValues) XXX_Marshal ¶
func (m *ListLabelValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListLabelValues) XXX_Merge ¶
func (m *ListLabelValues) XXX_Merge(src proto.Message)
func (*ListLabelValues) XXX_Size ¶
func (m *ListLabelValues) XXX_Size() int
func (*ListLabelValues) XXX_Unmarshal ¶
func (m *ListLabelValues) XXX_Unmarshal(b []byte) error
type ListLabels ¶
type ListLabels struct { Name []*Values `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListLabels is list of label's values: duplicates are impossible.
func (*ListLabels) Descriptor ¶
func (*ListLabels) Descriptor() ([]byte, []int)
func (*ListLabels) GetName ¶
func (m *ListLabels) GetName() []*Values
func (*ListLabels) ProtoMessage ¶
func (*ListLabels) ProtoMessage()
func (*ListLabels) Reset ¶
func (m *ListLabels) Reset()
func (*ListLabels) String ¶
func (m *ListLabels) String() string
func (*ListLabels) Validate ¶
func (this *ListLabels) Validate() error
func (*ListLabels) XXX_DiscardUnknown ¶
func (m *ListLabels) XXX_DiscardUnknown()
func (*ListLabels) XXX_Marshal ¶
func (m *ListLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListLabels) XXX_Merge ¶
func (m *ListLabels) XXX_Merge(src proto.Message)
func (*ListLabels) XXX_Size ¶
func (m *ListLabels) XXX_Size() int
func (*ListLabels) XXX_Unmarshal ¶
func (m *ListLabels) XXX_Unmarshal(b []byte) error
type MapFieldEntry ¶
type MapFieldEntry struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MapFieldEntry allows to pass labels/dimensions in form like {"server": ["db1", "db2"...]}.
func (*MapFieldEntry) Descriptor ¶
func (*MapFieldEntry) Descriptor() ([]byte, []int)
func (*MapFieldEntry) GetKey ¶
func (m *MapFieldEntry) GetKey() string
func (*MapFieldEntry) GetValue ¶
func (m *MapFieldEntry) GetValue() []string
func (*MapFieldEntry) ProtoMessage ¶
func (*MapFieldEntry) ProtoMessage()
func (*MapFieldEntry) Reset ¶
func (m *MapFieldEntry) Reset()
func (*MapFieldEntry) String ¶
func (m *MapFieldEntry) String() string
func (*MapFieldEntry) Validate ¶
func (this *MapFieldEntry) Validate() error
func (*MapFieldEntry) XXX_DiscardUnknown ¶
func (m *MapFieldEntry) XXX_DiscardUnknown()
func (*MapFieldEntry) XXX_Marshal ¶
func (m *MapFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MapFieldEntry) XXX_Merge ¶
func (m *MapFieldEntry) XXX_Merge(src proto.Message)
func (*MapFieldEntry) XXX_Size ¶
func (m *MapFieldEntry) XXX_Size() int
func (*MapFieldEntry) XXX_Unmarshal ¶
func (m *MapFieldEntry) XXX_Unmarshal(b []byte) error
type Metric ¶
type Metric struct { Stats *Stat `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metric cell.
func (*Metric) Descriptor ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) XXX_DiscardUnknown ¶
func (m *Metric) XXX_DiscardUnknown()
func (*Metric) XXX_Marshal ¶
func (*Metric) XXX_Unmarshal ¶
type MetricValues ¶
type MetricValues struct { Rate float32 `protobuf:"fixed32,1,opt,name=rate,proto3" json:"rate,omitempty"` Cnt float32 `protobuf:"fixed32,2,opt,name=cnt,proto3" json:"cnt,omitempty"` Sum float32 `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"` Min float32 `protobuf:"fixed32,4,opt,name=min,proto3" json:"min,omitempty"` Max float32 `protobuf:"fixed32,5,opt,name=max,proto3" json:"max,omitempty"` Avg float32 `protobuf:"fixed32,6,opt,name=avg,proto3" json:"avg,omitempty"` P99 float32 `protobuf:"fixed32,7,opt,name=p99,proto3" json:"p99,omitempty"` PercentOfTotal float32 `protobuf:"fixed32,8,opt,name=percent_of_total,json=percentOfTotal,proto3" json:"percent_of_total,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MetricValues is statistics of specific metric.
func (*MetricValues) Descriptor ¶
func (*MetricValues) Descriptor() ([]byte, []int)
func (*MetricValues) GetAvg ¶
func (m *MetricValues) GetAvg() float32
func (*MetricValues) GetCnt ¶
func (m *MetricValues) GetCnt() float32
func (*MetricValues) GetMax ¶
func (m *MetricValues) GetMax() float32
func (*MetricValues) GetMin ¶
func (m *MetricValues) GetMin() float32
func (*MetricValues) GetP99 ¶
func (m *MetricValues) GetP99() float32
func (*MetricValues) GetPercentOfTotal ¶
func (m *MetricValues) GetPercentOfTotal() float32
func (*MetricValues) GetRate ¶
func (m *MetricValues) GetRate() float32
func (*MetricValues) GetSum ¶
func (m *MetricValues) GetSum() float32
func (*MetricValues) ProtoMessage ¶
func (*MetricValues) ProtoMessage()
func (*MetricValues) Reset ¶
func (m *MetricValues) Reset()
func (*MetricValues) String ¶
func (m *MetricValues) String() string
func (*MetricValues) Validate ¶
func (this *MetricValues) Validate() error
func (*MetricValues) XXX_DiscardUnknown ¶
func (m *MetricValues) XXX_DiscardUnknown()
func (*MetricValues) XXX_Marshal ¶
func (m *MetricValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricValues) XXX_Merge ¶
func (m *MetricValues) XXX_Merge(src proto.Message)
func (*MetricValues) XXX_Size ¶
func (m *MetricValues) XXX_Size() int
func (*MetricValues) XXX_Unmarshal ¶
func (m *MetricValues) XXX_Unmarshal(b []byte) error
type MetricsBucket ¶
type MetricsBucket struct { // md5 of digest_text/fingerprint. Queryid string `protobuf:"bytes,1,opt,name=queryid,proto3" json:"queryid,omitempty"` // digest_text - query signature. Query without values. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Service Name (can be several Services on one Node). ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // MongoDB or PostgreSQL database. // Several databases can't be combined in a single declarative query. Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` // MySQL database or PostgreSQL schema. // Several schemas can be combined in a single declarative query. Schema string `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"` // Tables or Collections list. Tables []string `protobuf:"bytes,166,rep,name=tables,proto3" json:"tables,omitempty"` // client user name. Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"` // client IP or hostname. ClientHost string `protobuf:"bytes,7,opt,name=client_host,json=clientHost,proto3" json:"client_host,omitempty"` // Node identifier NodeId string `protobuf:"bytes,224,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Node name NodeName string `protobuf:"bytes,225,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Node type NodeType string `protobuf:"bytes,226,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"` // Machine identifier MachineId string `protobuf:"bytes,227,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` // Container identifier ContainerId string `protobuf:"bytes,228,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Container name ContainerName string `protobuf:"bytes,165,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` // Node model NodeModel string `protobuf:"bytes,164,opt,name=node_model,json=nodeModel,proto3" json:"node_model,omitempty"` // Region name Region string `protobuf:"bytes,163,opt,name=region,proto3" json:"region,omitempty"` // Availability zone Az string `protobuf:"bytes,162,opt,name=az,proto3" json:"az,omitempty"` // Service identifier ServiceId string `protobuf:"bytes,229,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Type of service ServiceType string `protobuf:"bytes,160,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"` // Environment name Environment string `protobuf:"bytes,161,opt,name=environment,proto3" json:"environment,omitempty"` // Cluster name Cluster string `protobuf:"bytes,159,opt,name=cluster,proto3" json:"cluster,omitempty"` // Name of replication set ReplicationSet string `protobuf:"bytes,158,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Identifier of agent that collect and send metrics. AgentId string `protobuf:"bytes,9,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Metrics source. AgentType inventorypb.AgentType `protobuf:"varint,12,opt,name=agent_type,json=agentType,proto3,enum=inventory.AgentType" json:"agent_type,omitempty"` // Custom labels names:values. Labels map[string]string `` /* 153-byte string literal not displayed */ // Time when collection of bucket started. PeriodStartUnixSecs uint32 `protobuf:"varint,10,opt,name=period_start_unix_secs,json=periodStartUnixSecs,proto3" json:"period_start_unix_secs,omitempty"` // Duration of bucket. PeriodLengthSecs uint32 `protobuf:"varint,11,opt,name=period_length_secs,json=periodLengthSecs,proto3" json:"period_length_secs,omitempty"` // One of query example from set found in bucket. Example string `protobuf:"bytes,13,opt,name=example,proto3" json:"example,omitempty"` ExampleFormat ExampleFormat `` // Deprecated: Do not use. /* 133-byte string literal not displayed */ // Indicates if query examples is too long and was truncated. IsTruncated bool `protobuf:"varint,15,opt,name=is_truncated,json=isTruncated,proto3" json:"is_truncated,omitempty"` ExampleType ExampleType `protobuf:"varint,16,opt,name=example_type,json=exampleType,proto3,enum=qan.v1beta1.ExampleType" json:"example_type,omitempty"` // Metrics of query example in JSON format. ExampleMetrics string `protobuf:"bytes,17,opt,name=example_metrics,json=exampleMetrics,proto3" json:"example_metrics,omitempty"` // How many queries was with warnings in bucket. NumQueriesWithWarnings float32 `` /* 134-byte string literal not displayed */ // List of warnings: {code: count}. Warnings map[uint64]uint64 `` /* 160-byte string literal not displayed */ // How many queries was with error in bucket. NumQueriesWithErrors float32 `` /* 128-byte string literal not displayed */ // List of errors: {code: count}. Errors map[uint64]uint64 `` /* 156-byte string literal not displayed */ // Amount queries in this bucket. NumQueries float32 `protobuf:"fixed32,22,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` // How many times query_time was found. MQueryTimeCnt float32 `protobuf:"fixed32,23,opt,name=m_query_time_cnt,json=mQueryTimeCnt,proto3" json:"m_query_time_cnt,omitempty"` // The statement execution time in seconds. MQueryTimeSum float32 `protobuf:"fixed32,24,opt,name=m_query_time_sum,json=mQueryTimeSum,proto3" json:"m_query_time_sum,omitempty"` // Smallest value of query_time in bucket. MQueryTimeMin float32 `protobuf:"fixed32,25,opt,name=m_query_time_min,json=mQueryTimeMin,proto3" json:"m_query_time_min,omitempty"` // Biggest value of query_time in bucket. MQueryTimeMax float32 `protobuf:"fixed32,26,opt,name=m_query_time_max,json=mQueryTimeMax,proto3" json:"m_query_time_max,omitempty"` // 99 percentile of value of query_time in bucket. MQueryTimeP99 float32 `protobuf:"fixed32,27,opt,name=m_query_time_p99,json=mQueryTimeP99,proto3" json:"m_query_time_p99,omitempty"` MLockTimeCnt float32 `protobuf:"fixed32,28,opt,name=m_lock_time_cnt,json=mLockTimeCnt,proto3" json:"m_lock_time_cnt,omitempty"` // The time to acquire locks in seconds. MLockTimeSum float32 `protobuf:"fixed32,29,opt,name=m_lock_time_sum,json=mLockTimeSum,proto3" json:"m_lock_time_sum,omitempty"` MLockTimeMin float32 `protobuf:"fixed32,30,opt,name=m_lock_time_min,json=mLockTimeMin,proto3" json:"m_lock_time_min,omitempty"` MLockTimeMax float32 `protobuf:"fixed32,31,opt,name=m_lock_time_max,json=mLockTimeMax,proto3" json:"m_lock_time_max,omitempty"` MLockTimeP99 float32 `protobuf:"fixed32,32,opt,name=m_lock_time_p99,json=mLockTimeP99,proto3" json:"m_lock_time_p99,omitempty"` MRowsSentCnt float32 `protobuf:"fixed32,33,opt,name=m_rows_sent_cnt,json=mRowsSentCnt,proto3" json:"m_rows_sent_cnt,omitempty"` // The number of rows sent to the client. MRowsSentSum float32 `protobuf:"fixed32,34,opt,name=m_rows_sent_sum,json=mRowsSentSum,proto3" json:"m_rows_sent_sum,omitempty"` MRowsSentMin float32 `protobuf:"fixed32,35,opt,name=m_rows_sent_min,json=mRowsSentMin,proto3" json:"m_rows_sent_min,omitempty"` MRowsSentMax float32 `protobuf:"fixed32,36,opt,name=m_rows_sent_max,json=mRowsSentMax,proto3" json:"m_rows_sent_max,omitempty"` MRowsSentP99 float32 `protobuf:"fixed32,37,opt,name=m_rows_sent_p99,json=mRowsSentP99,proto3" json:"m_rows_sent_p99,omitempty"` MRowsExaminedCnt float32 `protobuf:"fixed32,38,opt,name=m_rows_examined_cnt,json=mRowsExaminedCnt,proto3" json:"m_rows_examined_cnt,omitempty"` // Number of rows scanned - SELECT. MRowsExaminedSum float32 `protobuf:"fixed32,39,opt,name=m_rows_examined_sum,json=mRowsExaminedSum,proto3" json:"m_rows_examined_sum,omitempty"` MRowsExaminedMin float32 `protobuf:"fixed32,40,opt,name=m_rows_examined_min,json=mRowsExaminedMin,proto3" json:"m_rows_examined_min,omitempty"` MRowsExaminedMax float32 `protobuf:"fixed32,41,opt,name=m_rows_examined_max,json=mRowsExaminedMax,proto3" json:"m_rows_examined_max,omitempty"` MRowsExaminedP99 float32 `protobuf:"fixed32,42,opt,name=m_rows_examined_p99,json=mRowsExaminedP99,proto3" json:"m_rows_examined_p99,omitempty"` MRowsAffectedCnt float32 `protobuf:"fixed32,43,opt,name=m_rows_affected_cnt,json=mRowsAffectedCnt,proto3" json:"m_rows_affected_cnt,omitempty"` // Number of rows changed - UPDATE, DELETE, INSERT. MRowsAffectedSum float32 `protobuf:"fixed32,44,opt,name=m_rows_affected_sum,json=mRowsAffectedSum,proto3" json:"m_rows_affected_sum,omitempty"` MRowsAffectedMin float32 `protobuf:"fixed32,45,opt,name=m_rows_affected_min,json=mRowsAffectedMin,proto3" json:"m_rows_affected_min,omitempty"` MRowsAffectedMax float32 `protobuf:"fixed32,46,opt,name=m_rows_affected_max,json=mRowsAffectedMax,proto3" json:"m_rows_affected_max,omitempty"` MRowsAffectedP99 float32 `protobuf:"fixed32,47,opt,name=m_rows_affected_p99,json=mRowsAffectedP99,proto3" json:"m_rows_affected_p99,omitempty"` MRowsReadCnt float32 `protobuf:"fixed32,48,opt,name=m_rows_read_cnt,json=mRowsReadCnt,proto3" json:"m_rows_read_cnt,omitempty"` // The number of rows read from tables. MRowsReadSum float32 `protobuf:"fixed32,49,opt,name=m_rows_read_sum,json=mRowsReadSum,proto3" json:"m_rows_read_sum,omitempty"` MRowsReadMin float32 `protobuf:"fixed32,50,opt,name=m_rows_read_min,json=mRowsReadMin,proto3" json:"m_rows_read_min,omitempty"` MRowsReadMax float32 `protobuf:"fixed32,51,opt,name=m_rows_read_max,json=mRowsReadMax,proto3" json:"m_rows_read_max,omitempty"` MRowsReadP99 float32 `protobuf:"fixed32,52,opt,name=m_rows_read_p99,json=mRowsReadP99,proto3" json:"m_rows_read_p99,omitempty"` MMergePassesCnt float32 `protobuf:"fixed32,53,opt,name=m_merge_passes_cnt,json=mMergePassesCnt,proto3" json:"m_merge_passes_cnt,omitempty"` // The number of merge passes that the sort algorithm has had to do. MMergePassesSum float32 `protobuf:"fixed32,54,opt,name=m_merge_passes_sum,json=mMergePassesSum,proto3" json:"m_merge_passes_sum,omitempty"` MMergePassesMin float32 `protobuf:"fixed32,55,opt,name=m_merge_passes_min,json=mMergePassesMin,proto3" json:"m_merge_passes_min,omitempty"` MMergePassesMax float32 `protobuf:"fixed32,56,opt,name=m_merge_passes_max,json=mMergePassesMax,proto3" json:"m_merge_passes_max,omitempty"` MMergePassesP99 float32 `protobuf:"fixed32,57,opt,name=m_merge_passes_p99,json=mMergePassesP99,proto3" json:"m_merge_passes_p99,omitempty"` MInnodbIoROpsCnt float32 `protobuf:"fixed32,58,opt,name=m_innodb_io_r_ops_cnt,json=mInnodbIoROpsCnt,proto3" json:"m_innodb_io_r_ops_cnt,omitempty"` // Counts the number of page read operations scheduled. MInnodbIoROpsSum float32 `protobuf:"fixed32,59,opt,name=m_innodb_io_r_ops_sum,json=mInnodbIoROpsSum,proto3" json:"m_innodb_io_r_ops_sum,omitempty"` MInnodbIoROpsMin float32 `protobuf:"fixed32,60,opt,name=m_innodb_io_r_ops_min,json=mInnodbIoROpsMin,proto3" json:"m_innodb_io_r_ops_min,omitempty"` MInnodbIoROpsMax float32 `protobuf:"fixed32,61,opt,name=m_innodb_io_r_ops_max,json=mInnodbIoROpsMax,proto3" json:"m_innodb_io_r_ops_max,omitempty"` MInnodbIoROpsP99 float32 `protobuf:"fixed32,62,opt,name=m_innodb_io_r_ops_p99,json=mInnodbIoROpsP99,proto3" json:"m_innodb_io_r_ops_p99,omitempty"` MInnodbIoRBytesCnt float32 `` /* 126-byte string literal not displayed */ // Similar to innodb_IO_r_ops, but the unit is bytes. MInnodbIoRBytesSum float32 `` /* 126-byte string literal not displayed */ MInnodbIoRBytesMin float32 `` /* 126-byte string literal not displayed */ MInnodbIoRBytesMax float32 `` /* 126-byte string literal not displayed */ MInnodbIoRBytesP99 float32 `` /* 126-byte string literal not displayed */ MInnodbIoRWaitCnt float32 `protobuf:"fixed32,68,opt,name=m_innodb_io_r_wait_cnt,json=mInnodbIoRWaitCnt,proto3" json:"m_innodb_io_r_wait_cnt,omitempty"` // Shows how long (in seconds) it took InnoDB to actually read the data from storage. MInnodbIoRWaitSum float32 `protobuf:"fixed32,69,opt,name=m_innodb_io_r_wait_sum,json=mInnodbIoRWaitSum,proto3" json:"m_innodb_io_r_wait_sum,omitempty"` MInnodbIoRWaitMin float32 `protobuf:"fixed32,70,opt,name=m_innodb_io_r_wait_min,json=mInnodbIoRWaitMin,proto3" json:"m_innodb_io_r_wait_min,omitempty"` MInnodbIoRWaitMax float32 `protobuf:"fixed32,71,opt,name=m_innodb_io_r_wait_max,json=mInnodbIoRWaitMax,proto3" json:"m_innodb_io_r_wait_max,omitempty"` MInnodbIoRWaitP99 float32 `protobuf:"fixed32,72,opt,name=m_innodb_io_r_wait_p99,json=mInnodbIoRWaitP99,proto3" json:"m_innodb_io_r_wait_p99,omitempty"` MInnodbRecLockWaitCnt float32 `` /* 135-byte string literal not displayed */ // Shows how long (in seconds) the query waited for row locks. MInnodbRecLockWaitSum float32 `` /* 135-byte string literal not displayed */ MInnodbRecLockWaitMin float32 `` /* 135-byte string literal not displayed */ MInnodbRecLockWaitMax float32 `` /* 135-byte string literal not displayed */ MInnodbRecLockWaitP99 float32 `` /* 135-byte string literal not displayed */ MInnodbQueueWaitCnt float32 `` /* 127-byte string literal not displayed */ // Shows how long (in seconds) the query spent either waiting to enter the InnoDB queue or inside that queue waiting for execution. MInnodbQueueWaitSum float32 `` /* 127-byte string literal not displayed */ MInnodbQueueWaitMin float32 `` /* 127-byte string literal not displayed */ MInnodbQueueWaitMax float32 `` /* 127-byte string literal not displayed */ MInnodbQueueWaitP99 float32 `` /* 127-byte string literal not displayed */ MInnodbPagesDistinctCnt float32 `` /* 139-byte string literal not displayed */ // Counts approximately the number of unique pages the query accessed. MInnodbPagesDistinctSum float32 `` /* 139-byte string literal not displayed */ MInnodbPagesDistinctMin float32 `` /* 139-byte string literal not displayed */ MInnodbPagesDistinctMax float32 `` /* 139-byte string literal not displayed */ MInnodbPagesDistinctP99 float32 `` /* 139-byte string literal not displayed */ MQueryLengthCnt float32 `protobuf:"fixed32,88,opt,name=m_query_length_cnt,json=mQueryLengthCnt,proto3" json:"m_query_length_cnt,omitempty"` // Shows how long the query is. MQueryLengthSum float32 `protobuf:"fixed32,89,opt,name=m_query_length_sum,json=mQueryLengthSum,proto3" json:"m_query_length_sum,omitempty"` MQueryLengthMin float32 `protobuf:"fixed32,90,opt,name=m_query_length_min,json=mQueryLengthMin,proto3" json:"m_query_length_min,omitempty"` MQueryLengthMax float32 `protobuf:"fixed32,91,opt,name=m_query_length_max,json=mQueryLengthMax,proto3" json:"m_query_length_max,omitempty"` MQueryLengthP99 float32 `protobuf:"fixed32,92,opt,name=m_query_length_p99,json=mQueryLengthP99,proto3" json:"m_query_length_p99,omitempty"` MBytesSentCnt float32 `protobuf:"fixed32,93,opt,name=m_bytes_sent_cnt,json=mBytesSentCnt,proto3" json:"m_bytes_sent_cnt,omitempty"` // The number of bytes sent to all clients. MBytesSentSum float32 `protobuf:"fixed32,94,opt,name=m_bytes_sent_sum,json=mBytesSentSum,proto3" json:"m_bytes_sent_sum,omitempty"` MBytesSentMin float32 `protobuf:"fixed32,95,opt,name=m_bytes_sent_min,json=mBytesSentMin,proto3" json:"m_bytes_sent_min,omitempty"` MBytesSentMax float32 `protobuf:"fixed32,96,opt,name=m_bytes_sent_max,json=mBytesSentMax,proto3" json:"m_bytes_sent_max,omitempty"` MBytesSentP99 float32 `protobuf:"fixed32,97,opt,name=m_bytes_sent_p99,json=mBytesSentP99,proto3" json:"m_bytes_sent_p99,omitempty"` MTmpTablesCnt float32 `protobuf:"fixed32,98,opt,name=m_tmp_tables_cnt,json=mTmpTablesCnt,proto3" json:"m_tmp_tables_cnt,omitempty"` // Number of temporary tables created on memory for the query. MTmpTablesSum float32 `protobuf:"fixed32,99,opt,name=m_tmp_tables_sum,json=mTmpTablesSum,proto3" json:"m_tmp_tables_sum,omitempty"` MTmpTablesMin float32 `protobuf:"fixed32,100,opt,name=m_tmp_tables_min,json=mTmpTablesMin,proto3" json:"m_tmp_tables_min,omitempty"` MTmpTablesMax float32 `protobuf:"fixed32,101,opt,name=m_tmp_tables_max,json=mTmpTablesMax,proto3" json:"m_tmp_tables_max,omitempty"` MTmpTablesP99 float32 `protobuf:"fixed32,102,opt,name=m_tmp_tables_p99,json=mTmpTablesP99,proto3" json:"m_tmp_tables_p99,omitempty"` MTmpDiskTablesCnt float32 `protobuf:"fixed32,103,opt,name=m_tmp_disk_tables_cnt,json=mTmpDiskTablesCnt,proto3" json:"m_tmp_disk_tables_cnt,omitempty"` // Number of temporary tables created on disk for the query. MTmpDiskTablesSum float32 `protobuf:"fixed32,104,opt,name=m_tmp_disk_tables_sum,json=mTmpDiskTablesSum,proto3" json:"m_tmp_disk_tables_sum,omitempty"` MTmpDiskTablesMin float32 `protobuf:"fixed32,105,opt,name=m_tmp_disk_tables_min,json=mTmpDiskTablesMin,proto3" json:"m_tmp_disk_tables_min,omitempty"` MTmpDiskTablesMax float32 `protobuf:"fixed32,106,opt,name=m_tmp_disk_tables_max,json=mTmpDiskTablesMax,proto3" json:"m_tmp_disk_tables_max,omitempty"` MTmpDiskTablesP99 float32 `protobuf:"fixed32,107,opt,name=m_tmp_disk_tables_p99,json=mTmpDiskTablesP99,proto3" json:"m_tmp_disk_tables_p99,omitempty"` MTmpTableSizesCnt float32 `protobuf:"fixed32,108,opt,name=m_tmp_table_sizes_cnt,json=mTmpTableSizesCnt,proto3" json:"m_tmp_table_sizes_cnt,omitempty"` // Total Size in bytes for all temporary tables used in the query. MTmpTableSizesSum float32 `protobuf:"fixed32,109,opt,name=m_tmp_table_sizes_sum,json=mTmpTableSizesSum,proto3" json:"m_tmp_table_sizes_sum,omitempty"` MTmpTableSizesMin float32 `protobuf:"fixed32,110,opt,name=m_tmp_table_sizes_min,json=mTmpTableSizesMin,proto3" json:"m_tmp_table_sizes_min,omitempty"` MTmpTableSizesMax float32 `protobuf:"fixed32,111,opt,name=m_tmp_table_sizes_max,json=mTmpTableSizesMax,proto3" json:"m_tmp_table_sizes_max,omitempty"` MTmpTableSizesP99 float32 `protobuf:"fixed32,112,opt,name=m_tmp_table_sizes_p99,json=mTmpTableSizesP99,proto3" json:"m_tmp_table_sizes_p99,omitempty"` // // Boolean metrics: // - *_cnt - how many times this matric was met. // - *_sum - how many times this matric was true. // MQcHitCnt float32 `protobuf:"fixed32,113,opt,name=m_qc_hit_cnt,json=mQcHitCnt,proto3" json:"m_qc_hit_cnt,omitempty"` // Query Cache hits. MQcHitSum float32 `protobuf:"fixed32,114,opt,name=m_qc_hit_sum,json=mQcHitSum,proto3" json:"m_qc_hit_sum,omitempty"` MFullScanCnt float32 `protobuf:"fixed32,115,opt,name=m_full_scan_cnt,json=mFullScanCnt,proto3" json:"m_full_scan_cnt,omitempty"` // The query performed a full table scan. MFullScanSum float32 `protobuf:"fixed32,116,opt,name=m_full_scan_sum,json=mFullScanSum,proto3" json:"m_full_scan_sum,omitempty"` MFullJoinCnt float32 `protobuf:"fixed32,117,opt,name=m_full_join_cnt,json=mFullJoinCnt,proto3" json:"m_full_join_cnt,omitempty"` // The query performed a full join (a join without indexes). MFullJoinSum float32 `protobuf:"fixed32,118,opt,name=m_full_join_sum,json=mFullJoinSum,proto3" json:"m_full_join_sum,omitempty"` MTmpTableCnt float32 `protobuf:"fixed32,119,opt,name=m_tmp_table_cnt,json=mTmpTableCnt,proto3" json:"m_tmp_table_cnt,omitempty"` // The query created an implicit internal temporary table. MTmpTableSum float32 `protobuf:"fixed32,120,opt,name=m_tmp_table_sum,json=mTmpTableSum,proto3" json:"m_tmp_table_sum,omitempty"` MTmpTableOnDiskCnt float32 `` /* 127-byte string literal not displayed */ // The querys temporary table was stored on disk. MTmpTableOnDiskSum float32 `` /* 127-byte string literal not displayed */ MFilesortCnt float32 `protobuf:"fixed32,123,opt,name=m_filesort_cnt,json=mFilesortCnt,proto3" json:"m_filesort_cnt,omitempty"` // The query used a filesort. MFilesortSum float32 `protobuf:"fixed32,124,opt,name=m_filesort_sum,json=mFilesortSum,proto3" json:"m_filesort_sum,omitempty"` MFilesortOnDiskCnt float32 `protobuf:"fixed32,125,opt,name=m_filesort_on_disk_cnt,json=mFilesortOnDiskCnt,proto3" json:"m_filesort_on_disk_cnt,omitempty"` // The filesort was performed on disk. MFilesortOnDiskSum float32 `protobuf:"fixed32,126,opt,name=m_filesort_on_disk_sum,json=mFilesortOnDiskSum,proto3" json:"m_filesort_on_disk_sum,omitempty"` MSelectFullRangeJoinCnt float32 `` /* 142-byte string literal not displayed */ // The number of joins that used a range search on a reference table. MSelectFullRangeJoinSum float32 `` /* 142-byte string literal not displayed */ MSelectRangeCnt float32 `protobuf:"fixed32,129,opt,name=m_select_range_cnt,json=mSelectRangeCnt,proto3" json:"m_select_range_cnt,omitempty"` // The number of joins that used ranges on the first table. MSelectRangeSum float32 `protobuf:"fixed32,130,opt,name=m_select_range_sum,json=mSelectRangeSum,proto3" json:"m_select_range_sum,omitempty"` MSelectRangeCheckCnt float32 `` /* 131-byte string literal not displayed */ // The number of joins without keys that check for key usage after each row. MSelectRangeCheckSum float32 `` /* 131-byte string literal not displayed */ MSortRangeCnt float32 `protobuf:"fixed32,133,opt,name=m_sort_range_cnt,json=mSortRangeCnt,proto3" json:"m_sort_range_cnt,omitempty"` // The number of sorts that were done using ranges. MSortRangeSum float32 `protobuf:"fixed32,134,opt,name=m_sort_range_sum,json=mSortRangeSum,proto3" json:"m_sort_range_sum,omitempty"` MSortRowsCnt float32 `protobuf:"fixed32,135,opt,name=m_sort_rows_cnt,json=mSortRowsCnt,proto3" json:"m_sort_rows_cnt,omitempty"` // The number of sorted rows. MSortRowsSum float32 `protobuf:"fixed32,136,opt,name=m_sort_rows_sum,json=mSortRowsSum,proto3" json:"m_sort_rows_sum,omitempty"` MSortScanCnt float32 `protobuf:"fixed32,137,opt,name=m_sort_scan_cnt,json=mSortScanCnt,proto3" json:"m_sort_scan_cnt,omitempty"` // The number of sorts that were done by scanning the table. MSortScanSum float32 `protobuf:"fixed32,138,opt,name=m_sort_scan_sum,json=mSortScanSum,proto3" json:"m_sort_scan_sum,omitempty"` MNoIndexUsedCnt float32 `protobuf:"fixed32,139,opt,name=m_no_index_used_cnt,json=mNoIndexUsedCnt,proto3" json:"m_no_index_used_cnt,omitempty"` // The number of queries without index. MNoIndexUsedSum float32 `protobuf:"fixed32,140,opt,name=m_no_index_used_sum,json=mNoIndexUsedSum,proto3" json:"m_no_index_used_sum,omitempty"` MNoGoodIndexUsedCnt float32 `` /* 130-byte string literal not displayed */ // The number of queries without good index. MNoGoodIndexUsedSum float32 `` /* 130-byte string literal not displayed */ MDocsReturnedCnt float32 `protobuf:"fixed32,143,opt,name=m_docs_returned_cnt,json=mDocsReturnedCnt,proto3" json:"m_docs_returned_cnt,omitempty"` // The number of returned documents. MDocsReturnedSum float32 `protobuf:"fixed32,144,opt,name=m_docs_returned_sum,json=mDocsReturnedSum,proto3" json:"m_docs_returned_sum,omitempty"` MDocsReturnedMin float32 `protobuf:"fixed32,145,opt,name=m_docs_returned_min,json=mDocsReturnedMin,proto3" json:"m_docs_returned_min,omitempty"` MDocsReturnedMax float32 `protobuf:"fixed32,146,opt,name=m_docs_returned_max,json=mDocsReturnedMax,proto3" json:"m_docs_returned_max,omitempty"` MDocsReturnedP99 float32 `protobuf:"fixed32,147,opt,name=m_docs_returned_p99,json=mDocsReturnedP99,proto3" json:"m_docs_returned_p99,omitempty"` MResponseLengthCnt float32 `protobuf:"fixed32,148,opt,name=m_response_length_cnt,json=mResponseLengthCnt,proto3" json:"m_response_length_cnt,omitempty"` // The response length of the query result in bytes. MResponseLengthSum float32 `protobuf:"fixed32,149,opt,name=m_response_length_sum,json=mResponseLengthSum,proto3" json:"m_response_length_sum,omitempty"` MResponseLengthMin float32 `protobuf:"fixed32,150,opt,name=m_response_length_min,json=mResponseLengthMin,proto3" json:"m_response_length_min,omitempty"` MResponseLengthMax float32 `protobuf:"fixed32,151,opt,name=m_response_length_max,json=mResponseLengthMax,proto3" json:"m_response_length_max,omitempty"` MResponseLengthP99 float32 `protobuf:"fixed32,152,opt,name=m_response_length_p99,json=mResponseLengthP99,proto3" json:"m_response_length_p99,omitempty"` MDocsScannedCnt float32 `protobuf:"fixed32,153,opt,name=m_docs_scanned_cnt,json=mDocsScannedCnt,proto3" json:"m_docs_scanned_cnt,omitempty"` // The number of scanned documents. MDocsScannedSum float32 `protobuf:"fixed32,154,opt,name=m_docs_scanned_sum,json=mDocsScannedSum,proto3" json:"m_docs_scanned_sum,omitempty"` MDocsScannedMin float32 `protobuf:"fixed32,155,opt,name=m_docs_scanned_min,json=mDocsScannedMin,proto3" json:"m_docs_scanned_min,omitempty"` MDocsScannedMax float32 `protobuf:"fixed32,156,opt,name=m_docs_scanned_max,json=mDocsScannedMax,proto3" json:"m_docs_scanned_max,omitempty"` MDocsScannedP99 float32 `protobuf:"fixed32,157,opt,name=m_docs_scanned_p99,json=mDocsScannedP99,proto3" json:"m_docs_scanned_p99,omitempty"` // Total number of shared block cache hits by the statement. // Total number of shared blocks read by the statement. // Total number of shared blocks dirtied by the statement. // Total number of shared blocks written by the statement. MLocalBlksHitCnt float32 `protobuf:"fixed32,208,opt,name=m_local_blks_hit_cnt,json=mLocalBlksHitCnt,proto3" json:"m_local_blks_hit_cnt,omitempty"` // Total number of local block cache hits by the statement. MLocalBlksHitSum float32 `protobuf:"fixed32,209,opt,name=m_local_blks_hit_sum,json=mLocalBlksHitSum,proto3" json:"m_local_blks_hit_sum,omitempty"` MLocalBlksReadCnt float32 `protobuf:"fixed32,210,opt,name=m_local_blks_read_cnt,json=mLocalBlksReadCnt,proto3" json:"m_local_blks_read_cnt,omitempty"` // Total number of local blocks read by the statement. MLocalBlksReadSum float32 `protobuf:"fixed32,211,opt,name=m_local_blks_read_sum,json=mLocalBlksReadSum,proto3" json:"m_local_blks_read_sum,omitempty"` MLocalBlksDirtiedCnt float32 `` /* 131-byte string literal not displayed */ // Total number of local blocks dirtied by the statement. MLocalBlksDirtiedSum float32 `` /* 131-byte string literal not displayed */ MLocalBlksWrittenCnt float32 `` /* 131-byte string literal not displayed */ // Total number of local blocks written by the statement. MLocalBlksWrittenSum float32 `` /* 131-byte string literal not displayed */ MTempBlksReadCnt float32 `protobuf:"fixed32,216,opt,name=m_temp_blks_read_cnt,json=mTempBlksReadCnt,proto3" json:"m_temp_blks_read_cnt,omitempty"` // Total number of temp blocks read by the statement. MTempBlksReadSum float32 `protobuf:"fixed32,217,opt,name=m_temp_blks_read_sum,json=mTempBlksReadSum,proto3" json:"m_temp_blks_read_sum,omitempty"` MTempBlksWrittenCnt float32 `` /* 128-byte string literal not displayed */ // Total number of temp blocks written by the statement. MTempBlksWrittenSum float32 `` /* 128-byte string literal not displayed */ MBlkReadTimeCnt float32 `protobuf:"fixed32,220,opt,name=m_blk_read_time_cnt,json=mBlkReadTimeCnt,proto3" json:"m_blk_read_time_cnt,omitempty"` // Total time the statement spent reading blocks, in milliseconds (if track_io_timing is enabled, otherwise zero). MBlkReadTimeSum float32 `protobuf:"fixed32,221,opt,name=m_blk_read_time_sum,json=mBlkReadTimeSum,proto3" json:"m_blk_read_time_sum,omitempty"` MBlkWriteTimeCnt float32 `protobuf:"fixed32,222,opt,name=m_blk_write_time_cnt,json=mBlkWriteTimeCnt,proto3" json:"m_blk_write_time_cnt,omitempty"` // Total time the statement spent writing blocks, in milliseconds (if track_io_timing is enabled, otherwise zero). MBlkWriteTimeSum float32 `protobuf:"fixed32,223,opt,name=m_blk_write_time_sum,json=mBlkWriteTimeSum,proto3" json:"m_blk_write_time_sum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MetricsBucket is aggregated message created by pmm-agent. Contains information about one query selected in defined way from query class in specific period of time.
func (*MetricsBucket) Descriptor ¶
func (*MetricsBucket) Descriptor() ([]byte, []int)
func (*MetricsBucket) GetAgentId ¶
func (m *MetricsBucket) GetAgentId() string
func (*MetricsBucket) GetAgentType ¶
func (m *MetricsBucket) GetAgentType() inventorypb.AgentType
func (*MetricsBucket) GetAz ¶
func (m *MetricsBucket) GetAz() string
func (*MetricsBucket) GetClientHost ¶
func (m *MetricsBucket) GetClientHost() string
func (*MetricsBucket) GetCluster ¶
func (m *MetricsBucket) GetCluster() string
func (*MetricsBucket) GetContainerId ¶
func (m *MetricsBucket) GetContainerId() string
func (*MetricsBucket) GetContainerName ¶
func (m *MetricsBucket) GetContainerName() string
func (*MetricsBucket) GetDatabase ¶
func (m *MetricsBucket) GetDatabase() string
func (*MetricsBucket) GetEnvironment ¶
func (m *MetricsBucket) GetEnvironment() string
func (*MetricsBucket) GetErrors ¶
func (m *MetricsBucket) GetErrors() map[uint64]uint64
func (*MetricsBucket) GetExample ¶
func (m *MetricsBucket) GetExample() string
func (*MetricsBucket) GetExampleFormat
deprecated
func (m *MetricsBucket) GetExampleFormat() ExampleFormat
Deprecated: Do not use.
func (*MetricsBucket) GetExampleMetrics ¶
func (m *MetricsBucket) GetExampleMetrics() string
func (*MetricsBucket) GetExampleType ¶
func (m *MetricsBucket) GetExampleType() ExampleType
func (*MetricsBucket) GetFingerprint ¶
func (m *MetricsBucket) GetFingerprint() string
func (*MetricsBucket) GetIsTruncated ¶
func (m *MetricsBucket) GetIsTruncated() bool
func (*MetricsBucket) GetLabels ¶
func (m *MetricsBucket) GetLabels() map[string]string
func (*MetricsBucket) GetMBlkReadTimeCnt ¶
func (m *MetricsBucket) GetMBlkReadTimeCnt() float32
func (*MetricsBucket) GetMBlkReadTimeSum ¶
func (m *MetricsBucket) GetMBlkReadTimeSum() float32
func (*MetricsBucket) GetMBlkWriteTimeCnt ¶
func (m *MetricsBucket) GetMBlkWriteTimeCnt() float32
func (*MetricsBucket) GetMBlkWriteTimeSum ¶
func (m *MetricsBucket) GetMBlkWriteTimeSum() float32
func (*MetricsBucket) GetMBytesSentCnt ¶
func (m *MetricsBucket) GetMBytesSentCnt() float32
func (*MetricsBucket) GetMBytesSentMax ¶
func (m *MetricsBucket) GetMBytesSentMax() float32
func (*MetricsBucket) GetMBytesSentMin ¶
func (m *MetricsBucket) GetMBytesSentMin() float32
func (*MetricsBucket) GetMBytesSentP99 ¶
func (m *MetricsBucket) GetMBytesSentP99() float32
func (*MetricsBucket) GetMBytesSentSum ¶
func (m *MetricsBucket) GetMBytesSentSum() float32
func (*MetricsBucket) GetMDocsReturnedCnt ¶
func (m *MetricsBucket) GetMDocsReturnedCnt() float32
func (*MetricsBucket) GetMDocsReturnedMax ¶
func (m *MetricsBucket) GetMDocsReturnedMax() float32
func (*MetricsBucket) GetMDocsReturnedMin ¶
func (m *MetricsBucket) GetMDocsReturnedMin() float32
func (*MetricsBucket) GetMDocsReturnedP99 ¶
func (m *MetricsBucket) GetMDocsReturnedP99() float32
func (*MetricsBucket) GetMDocsReturnedSum ¶
func (m *MetricsBucket) GetMDocsReturnedSum() float32
func (*MetricsBucket) GetMDocsScannedCnt ¶
func (m *MetricsBucket) GetMDocsScannedCnt() float32
func (*MetricsBucket) GetMDocsScannedMax ¶
func (m *MetricsBucket) GetMDocsScannedMax() float32
func (*MetricsBucket) GetMDocsScannedMin ¶
func (m *MetricsBucket) GetMDocsScannedMin() float32
func (*MetricsBucket) GetMDocsScannedP99 ¶
func (m *MetricsBucket) GetMDocsScannedP99() float32
func (*MetricsBucket) GetMDocsScannedSum ¶
func (m *MetricsBucket) GetMDocsScannedSum() float32
func (*MetricsBucket) GetMFilesortCnt ¶
func (m *MetricsBucket) GetMFilesortCnt() float32
func (*MetricsBucket) GetMFilesortOnDiskCnt ¶
func (m *MetricsBucket) GetMFilesortOnDiskCnt() float32
func (*MetricsBucket) GetMFilesortOnDiskSum ¶
func (m *MetricsBucket) GetMFilesortOnDiskSum() float32
func (*MetricsBucket) GetMFilesortSum ¶
func (m *MetricsBucket) GetMFilesortSum() float32
func (*MetricsBucket) GetMFullJoinCnt ¶
func (m *MetricsBucket) GetMFullJoinCnt() float32
func (*MetricsBucket) GetMFullJoinSum ¶
func (m *MetricsBucket) GetMFullJoinSum() float32
func (*MetricsBucket) GetMFullScanCnt ¶
func (m *MetricsBucket) GetMFullScanCnt() float32
func (*MetricsBucket) GetMFullScanSum ¶
func (m *MetricsBucket) GetMFullScanSum() float32
func (*MetricsBucket) GetMInnodbIoRBytesCnt ¶
func (m *MetricsBucket) GetMInnodbIoRBytesCnt() float32
func (*MetricsBucket) GetMInnodbIoRBytesMax ¶
func (m *MetricsBucket) GetMInnodbIoRBytesMax() float32
func (*MetricsBucket) GetMInnodbIoRBytesMin ¶
func (m *MetricsBucket) GetMInnodbIoRBytesMin() float32
func (*MetricsBucket) GetMInnodbIoRBytesP99 ¶
func (m *MetricsBucket) GetMInnodbIoRBytesP99() float32
func (*MetricsBucket) GetMInnodbIoRBytesSum ¶
func (m *MetricsBucket) GetMInnodbIoRBytesSum() float32
func (*MetricsBucket) GetMInnodbIoROpsCnt ¶
func (m *MetricsBucket) GetMInnodbIoROpsCnt() float32
func (*MetricsBucket) GetMInnodbIoROpsMax ¶
func (m *MetricsBucket) GetMInnodbIoROpsMax() float32
func (*MetricsBucket) GetMInnodbIoROpsMin ¶
func (m *MetricsBucket) GetMInnodbIoROpsMin() float32
func (*MetricsBucket) GetMInnodbIoROpsP99 ¶
func (m *MetricsBucket) GetMInnodbIoROpsP99() float32
func (*MetricsBucket) GetMInnodbIoROpsSum ¶
func (m *MetricsBucket) GetMInnodbIoROpsSum() float32
func (*MetricsBucket) GetMInnodbIoRWaitCnt ¶
func (m *MetricsBucket) GetMInnodbIoRWaitCnt() float32
func (*MetricsBucket) GetMInnodbIoRWaitMax ¶
func (m *MetricsBucket) GetMInnodbIoRWaitMax() float32
func (*MetricsBucket) GetMInnodbIoRWaitMin ¶
func (m *MetricsBucket) GetMInnodbIoRWaitMin() float32
func (*MetricsBucket) GetMInnodbIoRWaitP99 ¶
func (m *MetricsBucket) GetMInnodbIoRWaitP99() float32
func (*MetricsBucket) GetMInnodbIoRWaitSum ¶
func (m *MetricsBucket) GetMInnodbIoRWaitSum() float32
func (*MetricsBucket) GetMInnodbPagesDistinctCnt ¶
func (m *MetricsBucket) GetMInnodbPagesDistinctCnt() float32
func (*MetricsBucket) GetMInnodbPagesDistinctMax ¶
func (m *MetricsBucket) GetMInnodbPagesDistinctMax() float32
func (*MetricsBucket) GetMInnodbPagesDistinctMin ¶
func (m *MetricsBucket) GetMInnodbPagesDistinctMin() float32
func (*MetricsBucket) GetMInnodbPagesDistinctP99 ¶
func (m *MetricsBucket) GetMInnodbPagesDistinctP99() float32
func (*MetricsBucket) GetMInnodbPagesDistinctSum ¶
func (m *MetricsBucket) GetMInnodbPagesDistinctSum() float32
func (*MetricsBucket) GetMInnodbQueueWaitCnt ¶
func (m *MetricsBucket) GetMInnodbQueueWaitCnt() float32
func (*MetricsBucket) GetMInnodbQueueWaitMax ¶
func (m *MetricsBucket) GetMInnodbQueueWaitMax() float32
func (*MetricsBucket) GetMInnodbQueueWaitMin ¶
func (m *MetricsBucket) GetMInnodbQueueWaitMin() float32
func (*MetricsBucket) GetMInnodbQueueWaitP99 ¶
func (m *MetricsBucket) GetMInnodbQueueWaitP99() float32
func (*MetricsBucket) GetMInnodbQueueWaitSum ¶
func (m *MetricsBucket) GetMInnodbQueueWaitSum() float32
func (*MetricsBucket) GetMInnodbRecLockWaitCnt ¶
func (m *MetricsBucket) GetMInnodbRecLockWaitCnt() float32
func (*MetricsBucket) GetMInnodbRecLockWaitMax ¶
func (m *MetricsBucket) GetMInnodbRecLockWaitMax() float32
func (*MetricsBucket) GetMInnodbRecLockWaitMin ¶
func (m *MetricsBucket) GetMInnodbRecLockWaitMin() float32
func (*MetricsBucket) GetMInnodbRecLockWaitP99 ¶
func (m *MetricsBucket) GetMInnodbRecLockWaitP99() float32
func (*MetricsBucket) GetMInnodbRecLockWaitSum ¶
func (m *MetricsBucket) GetMInnodbRecLockWaitSum() float32
func (*MetricsBucket) GetMLocalBlksDirtiedCnt ¶
func (m *MetricsBucket) GetMLocalBlksDirtiedCnt() float32
func (*MetricsBucket) GetMLocalBlksDirtiedSum ¶
func (m *MetricsBucket) GetMLocalBlksDirtiedSum() float32
func (*MetricsBucket) GetMLocalBlksHitCnt ¶
func (m *MetricsBucket) GetMLocalBlksHitCnt() float32
func (*MetricsBucket) GetMLocalBlksHitSum ¶
func (m *MetricsBucket) GetMLocalBlksHitSum() float32
func (*MetricsBucket) GetMLocalBlksReadCnt ¶
func (m *MetricsBucket) GetMLocalBlksReadCnt() float32
func (*MetricsBucket) GetMLocalBlksReadSum ¶
func (m *MetricsBucket) GetMLocalBlksReadSum() float32
func (*MetricsBucket) GetMLocalBlksWrittenCnt ¶
func (m *MetricsBucket) GetMLocalBlksWrittenCnt() float32
func (*MetricsBucket) GetMLocalBlksWrittenSum ¶
func (m *MetricsBucket) GetMLocalBlksWrittenSum() float32
func (*MetricsBucket) GetMLockTimeCnt ¶
func (m *MetricsBucket) GetMLockTimeCnt() float32
func (*MetricsBucket) GetMLockTimeMax ¶
func (m *MetricsBucket) GetMLockTimeMax() float32
func (*MetricsBucket) GetMLockTimeMin ¶
func (m *MetricsBucket) GetMLockTimeMin() float32
func (*MetricsBucket) GetMLockTimeP99 ¶
func (m *MetricsBucket) GetMLockTimeP99() float32
func (*MetricsBucket) GetMLockTimeSum ¶
func (m *MetricsBucket) GetMLockTimeSum() float32
func (*MetricsBucket) GetMMergePassesCnt ¶
func (m *MetricsBucket) GetMMergePassesCnt() float32
func (*MetricsBucket) GetMMergePassesMax ¶
func (m *MetricsBucket) GetMMergePassesMax() float32
func (*MetricsBucket) GetMMergePassesMin ¶
func (m *MetricsBucket) GetMMergePassesMin() float32
func (*MetricsBucket) GetMMergePassesP99 ¶
func (m *MetricsBucket) GetMMergePassesP99() float32
func (*MetricsBucket) GetMMergePassesSum ¶
func (m *MetricsBucket) GetMMergePassesSum() float32
func (*MetricsBucket) GetMNoGoodIndexUsedCnt ¶
func (m *MetricsBucket) GetMNoGoodIndexUsedCnt() float32
func (*MetricsBucket) GetMNoGoodIndexUsedSum ¶
func (m *MetricsBucket) GetMNoGoodIndexUsedSum() float32
func (*MetricsBucket) GetMNoIndexUsedCnt ¶
func (m *MetricsBucket) GetMNoIndexUsedCnt() float32
func (*MetricsBucket) GetMNoIndexUsedSum ¶
func (m *MetricsBucket) GetMNoIndexUsedSum() float32
func (*MetricsBucket) GetMQcHitCnt ¶
func (m *MetricsBucket) GetMQcHitCnt() float32
func (*MetricsBucket) GetMQcHitSum ¶
func (m *MetricsBucket) GetMQcHitSum() float32
func (*MetricsBucket) GetMQueryLengthCnt ¶
func (m *MetricsBucket) GetMQueryLengthCnt() float32
func (*MetricsBucket) GetMQueryLengthMax ¶
func (m *MetricsBucket) GetMQueryLengthMax() float32
func (*MetricsBucket) GetMQueryLengthMin ¶
func (m *MetricsBucket) GetMQueryLengthMin() float32
func (*MetricsBucket) GetMQueryLengthP99 ¶
func (m *MetricsBucket) GetMQueryLengthP99() float32
func (*MetricsBucket) GetMQueryLengthSum ¶
func (m *MetricsBucket) GetMQueryLengthSum() float32
func (*MetricsBucket) GetMQueryTimeCnt ¶
func (m *MetricsBucket) GetMQueryTimeCnt() float32
func (*MetricsBucket) GetMQueryTimeMax ¶
func (m *MetricsBucket) GetMQueryTimeMax() float32
func (*MetricsBucket) GetMQueryTimeMin ¶
func (m *MetricsBucket) GetMQueryTimeMin() float32
func (*MetricsBucket) GetMQueryTimeP99 ¶
func (m *MetricsBucket) GetMQueryTimeP99() float32
func (*MetricsBucket) GetMQueryTimeSum ¶
func (m *MetricsBucket) GetMQueryTimeSum() float32
func (*MetricsBucket) GetMResponseLengthCnt ¶
func (m *MetricsBucket) GetMResponseLengthCnt() float32
func (*MetricsBucket) GetMResponseLengthMax ¶
func (m *MetricsBucket) GetMResponseLengthMax() float32
func (*MetricsBucket) GetMResponseLengthMin ¶
func (m *MetricsBucket) GetMResponseLengthMin() float32
func (*MetricsBucket) GetMResponseLengthP99 ¶
func (m *MetricsBucket) GetMResponseLengthP99() float32
func (*MetricsBucket) GetMResponseLengthSum ¶
func (m *MetricsBucket) GetMResponseLengthSum() float32
func (*MetricsBucket) GetMRowsAffectedCnt ¶
func (m *MetricsBucket) GetMRowsAffectedCnt() float32
func (*MetricsBucket) GetMRowsAffectedMax ¶
func (m *MetricsBucket) GetMRowsAffectedMax() float32
func (*MetricsBucket) GetMRowsAffectedMin ¶
func (m *MetricsBucket) GetMRowsAffectedMin() float32
func (*MetricsBucket) GetMRowsAffectedP99 ¶
func (m *MetricsBucket) GetMRowsAffectedP99() float32
func (*MetricsBucket) GetMRowsAffectedSum ¶
func (m *MetricsBucket) GetMRowsAffectedSum() float32
func (*MetricsBucket) GetMRowsExaminedCnt ¶
func (m *MetricsBucket) GetMRowsExaminedCnt() float32
func (*MetricsBucket) GetMRowsExaminedMax ¶
func (m *MetricsBucket) GetMRowsExaminedMax() float32
func (*MetricsBucket) GetMRowsExaminedMin ¶
func (m *MetricsBucket) GetMRowsExaminedMin() float32
func (*MetricsBucket) GetMRowsExaminedP99 ¶
func (m *MetricsBucket) GetMRowsExaminedP99() float32
func (*MetricsBucket) GetMRowsExaminedSum ¶
func (m *MetricsBucket) GetMRowsExaminedSum() float32
func (*MetricsBucket) GetMRowsReadCnt ¶
func (m *MetricsBucket) GetMRowsReadCnt() float32
func (*MetricsBucket) GetMRowsReadMax ¶
func (m *MetricsBucket) GetMRowsReadMax() float32
func (*MetricsBucket) GetMRowsReadMin ¶
func (m *MetricsBucket) GetMRowsReadMin() float32
func (*MetricsBucket) GetMRowsReadP99 ¶
func (m *MetricsBucket) GetMRowsReadP99() float32
func (*MetricsBucket) GetMRowsReadSum ¶
func (m *MetricsBucket) GetMRowsReadSum() float32
func (*MetricsBucket) GetMRowsSentCnt ¶
func (m *MetricsBucket) GetMRowsSentCnt() float32
func (*MetricsBucket) GetMRowsSentMax ¶
func (m *MetricsBucket) GetMRowsSentMax() float32
func (*MetricsBucket) GetMRowsSentMin ¶
func (m *MetricsBucket) GetMRowsSentMin() float32
func (*MetricsBucket) GetMRowsSentP99 ¶
func (m *MetricsBucket) GetMRowsSentP99() float32
func (*MetricsBucket) GetMRowsSentSum ¶
func (m *MetricsBucket) GetMRowsSentSum() float32
func (*MetricsBucket) GetMSelectFullRangeJoinCnt ¶
func (m *MetricsBucket) GetMSelectFullRangeJoinCnt() float32
func (*MetricsBucket) GetMSelectFullRangeJoinSum ¶
func (m *MetricsBucket) GetMSelectFullRangeJoinSum() float32
func (*MetricsBucket) GetMSelectRangeCheckCnt ¶
func (m *MetricsBucket) GetMSelectRangeCheckCnt() float32
func (*MetricsBucket) GetMSelectRangeCheckSum ¶
func (m *MetricsBucket) GetMSelectRangeCheckSum() float32
func (*MetricsBucket) GetMSelectRangeCnt ¶
func (m *MetricsBucket) GetMSelectRangeCnt() float32
func (*MetricsBucket) GetMSelectRangeSum ¶
func (m *MetricsBucket) GetMSelectRangeSum() float32
func (*MetricsBucket) GetMSharedBlksDirtiedCnt ¶
func (m *MetricsBucket) GetMSharedBlksDirtiedCnt() float32
func (*MetricsBucket) GetMSharedBlksDirtiedSum ¶
func (m *MetricsBucket) GetMSharedBlksDirtiedSum() float32
func (*MetricsBucket) GetMSharedBlksHitCnt ¶
func (m *MetricsBucket) GetMSharedBlksHitCnt() float32
func (*MetricsBucket) GetMSharedBlksHitSum ¶
func (m *MetricsBucket) GetMSharedBlksHitSum() float32
func (*MetricsBucket) GetMSharedBlksReadCnt ¶
func (m *MetricsBucket) GetMSharedBlksReadCnt() float32
func (*MetricsBucket) GetMSharedBlksReadSum ¶
func (m *MetricsBucket) GetMSharedBlksReadSum() float32
func (*MetricsBucket) GetMSharedBlksWrittenCnt ¶
func (m *MetricsBucket) GetMSharedBlksWrittenCnt() float32
func (*MetricsBucket) GetMSharedBlksWrittenSum ¶
func (m *MetricsBucket) GetMSharedBlksWrittenSum() float32
func (*MetricsBucket) GetMSortRangeCnt ¶
func (m *MetricsBucket) GetMSortRangeCnt() float32
func (*MetricsBucket) GetMSortRangeSum ¶
func (m *MetricsBucket) GetMSortRangeSum() float32
func (*MetricsBucket) GetMSortRowsCnt ¶
func (m *MetricsBucket) GetMSortRowsCnt() float32
func (*MetricsBucket) GetMSortRowsSum ¶
func (m *MetricsBucket) GetMSortRowsSum() float32
func (*MetricsBucket) GetMSortScanCnt ¶
func (m *MetricsBucket) GetMSortScanCnt() float32
func (*MetricsBucket) GetMSortScanSum ¶
func (m *MetricsBucket) GetMSortScanSum() float32
func (*MetricsBucket) GetMTempBlksReadCnt ¶
func (m *MetricsBucket) GetMTempBlksReadCnt() float32
func (*MetricsBucket) GetMTempBlksReadSum ¶
func (m *MetricsBucket) GetMTempBlksReadSum() float32
func (*MetricsBucket) GetMTempBlksWrittenCnt ¶
func (m *MetricsBucket) GetMTempBlksWrittenCnt() float32
func (*MetricsBucket) GetMTempBlksWrittenSum ¶
func (m *MetricsBucket) GetMTempBlksWrittenSum() float32
func (*MetricsBucket) GetMTmpDiskTablesCnt ¶
func (m *MetricsBucket) GetMTmpDiskTablesCnt() float32
func (*MetricsBucket) GetMTmpDiskTablesMax ¶
func (m *MetricsBucket) GetMTmpDiskTablesMax() float32
func (*MetricsBucket) GetMTmpDiskTablesMin ¶
func (m *MetricsBucket) GetMTmpDiskTablesMin() float32
func (*MetricsBucket) GetMTmpDiskTablesP99 ¶
func (m *MetricsBucket) GetMTmpDiskTablesP99() float32
func (*MetricsBucket) GetMTmpDiskTablesSum ¶
func (m *MetricsBucket) GetMTmpDiskTablesSum() float32
func (*MetricsBucket) GetMTmpTableCnt ¶
func (m *MetricsBucket) GetMTmpTableCnt() float32
func (*MetricsBucket) GetMTmpTableOnDiskCnt ¶
func (m *MetricsBucket) GetMTmpTableOnDiskCnt() float32
func (*MetricsBucket) GetMTmpTableOnDiskSum ¶
func (m *MetricsBucket) GetMTmpTableOnDiskSum() float32
func (*MetricsBucket) GetMTmpTableSizesCnt ¶
func (m *MetricsBucket) GetMTmpTableSizesCnt() float32
func (*MetricsBucket) GetMTmpTableSizesMax ¶
func (m *MetricsBucket) GetMTmpTableSizesMax() float32
func (*MetricsBucket) GetMTmpTableSizesMin ¶
func (m *MetricsBucket) GetMTmpTableSizesMin() float32
func (*MetricsBucket) GetMTmpTableSizesP99 ¶
func (m *MetricsBucket) GetMTmpTableSizesP99() float32
func (*MetricsBucket) GetMTmpTableSizesSum ¶
func (m *MetricsBucket) GetMTmpTableSizesSum() float32
func (*MetricsBucket) GetMTmpTableSum ¶
func (m *MetricsBucket) GetMTmpTableSum() float32
func (*MetricsBucket) GetMTmpTablesCnt ¶
func (m *MetricsBucket) GetMTmpTablesCnt() float32
func (*MetricsBucket) GetMTmpTablesMax ¶
func (m *MetricsBucket) GetMTmpTablesMax() float32
func (*MetricsBucket) GetMTmpTablesMin ¶
func (m *MetricsBucket) GetMTmpTablesMin() float32
func (*MetricsBucket) GetMTmpTablesP99 ¶
func (m *MetricsBucket) GetMTmpTablesP99() float32
func (*MetricsBucket) GetMTmpTablesSum ¶
func (m *MetricsBucket) GetMTmpTablesSum() float32
func (*MetricsBucket) GetMachineId ¶
func (m *MetricsBucket) GetMachineId() string
func (*MetricsBucket) GetNodeId ¶
func (m *MetricsBucket) GetNodeId() string
func (*MetricsBucket) GetNodeModel ¶
func (m *MetricsBucket) GetNodeModel() string
func (*MetricsBucket) GetNodeName ¶
func (m *MetricsBucket) GetNodeName() string
func (*MetricsBucket) GetNodeType ¶
func (m *MetricsBucket) GetNodeType() string
func (*MetricsBucket) GetNumQueries ¶
func (m *MetricsBucket) GetNumQueries() float32
func (*MetricsBucket) GetNumQueriesWithErrors ¶
func (m *MetricsBucket) GetNumQueriesWithErrors() float32
func (*MetricsBucket) GetNumQueriesWithWarnings ¶
func (m *MetricsBucket) GetNumQueriesWithWarnings() float32
func (*MetricsBucket) GetPeriodLengthSecs ¶
func (m *MetricsBucket) GetPeriodLengthSecs() uint32
func (*MetricsBucket) GetPeriodStartUnixSecs ¶
func (m *MetricsBucket) GetPeriodStartUnixSecs() uint32
func (*MetricsBucket) GetQueryid ¶
func (m *MetricsBucket) GetQueryid() string
func (*MetricsBucket) GetRegion ¶
func (m *MetricsBucket) GetRegion() string
func (*MetricsBucket) GetReplicationSet ¶
func (m *MetricsBucket) GetReplicationSet() string
func (*MetricsBucket) GetSchema ¶
func (m *MetricsBucket) GetSchema() string
func (*MetricsBucket) GetServiceId ¶
func (m *MetricsBucket) GetServiceId() string
func (*MetricsBucket) GetServiceName ¶
func (m *MetricsBucket) GetServiceName() string
func (*MetricsBucket) GetServiceType ¶
func (m *MetricsBucket) GetServiceType() string
func (*MetricsBucket) GetTables ¶
func (m *MetricsBucket) GetTables() []string
func (*MetricsBucket) GetUsername ¶
func (m *MetricsBucket) GetUsername() string
func (*MetricsBucket) GetWarnings ¶
func (m *MetricsBucket) GetWarnings() map[uint64]uint64
func (*MetricsBucket) ProtoMessage ¶
func (*MetricsBucket) ProtoMessage()
func (*MetricsBucket) Reset ¶
func (m *MetricsBucket) Reset()
func (*MetricsBucket) String ¶
func (m *MetricsBucket) String() string
func (*MetricsBucket) Validate ¶
func (this *MetricsBucket) Validate() error
func (*MetricsBucket) XXX_DiscardUnknown ¶
func (m *MetricsBucket) XXX_DiscardUnknown()
func (*MetricsBucket) XXX_Marshal ¶
func (m *MetricsBucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricsBucket) XXX_Merge ¶
func (m *MetricsBucket) XXX_Merge(src proto.Message)
func (*MetricsBucket) XXX_Size ¶
func (m *MetricsBucket) XXX_Size() int
func (*MetricsBucket) XXX_Unmarshal ¶
func (m *MetricsBucket) XXX_Unmarshal(b []byte) error
type MetricsNamesClient ¶
type MetricsNamesClient interface { // GetMetricsNames gets map of metrics names. GetMetricsNames(ctx context.Context, in *MetricsNamesRequest, opts ...grpc.CallOption) (*MetricsNamesReply, error) }
MetricsNamesClient is the client API for MetricsNames service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMetricsNamesClient ¶
func NewMetricsNamesClient(cc grpc.ClientConnInterface) MetricsNamesClient
type MetricsNamesReply ¶
type MetricsNamesReply struct { Data map[string]string `` /* 149-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MetricsNamesReply is map of stored metrics: key is root of metric name in db (Ex:. [m_]query_time[_sum]); value - Human readable name of metrics.
func (*MetricsNamesReply) Descriptor ¶
func (*MetricsNamesReply) Descriptor() ([]byte, []int)
func (*MetricsNamesReply) GetData ¶
func (m *MetricsNamesReply) GetData() map[string]string
func (*MetricsNamesReply) ProtoMessage ¶
func (*MetricsNamesReply) ProtoMessage()
func (*MetricsNamesReply) Reset ¶
func (m *MetricsNamesReply) Reset()
func (*MetricsNamesReply) String ¶
func (m *MetricsNamesReply) String() string
func (*MetricsNamesReply) Validate ¶
func (this *MetricsNamesReply) Validate() error
func (*MetricsNamesReply) XXX_DiscardUnknown ¶
func (m *MetricsNamesReply) XXX_DiscardUnknown()
func (*MetricsNamesReply) XXX_Marshal ¶
func (m *MetricsNamesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricsNamesReply) XXX_Merge ¶
func (m *MetricsNamesReply) XXX_Merge(src proto.Message)
func (*MetricsNamesReply) XXX_Size ¶
func (m *MetricsNamesReply) XXX_Size() int
func (*MetricsNamesReply) XXX_Unmarshal ¶
func (m *MetricsNamesReply) XXX_Unmarshal(b []byte) error
type MetricsNamesRequest ¶
type MetricsNamesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MetricsNamesRequest is emty.
func (*MetricsNamesRequest) Descriptor ¶
func (*MetricsNamesRequest) Descriptor() ([]byte, []int)
func (*MetricsNamesRequest) ProtoMessage ¶
func (*MetricsNamesRequest) ProtoMessage()
func (*MetricsNamesRequest) Reset ¶
func (m *MetricsNamesRequest) Reset()
func (*MetricsNamesRequest) String ¶
func (m *MetricsNamesRequest) String() string
func (*MetricsNamesRequest) Validate ¶
func (this *MetricsNamesRequest) Validate() error
func (*MetricsNamesRequest) XXX_DiscardUnknown ¶
func (m *MetricsNamesRequest) XXX_DiscardUnknown()
func (*MetricsNamesRequest) XXX_Marshal ¶
func (m *MetricsNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricsNamesRequest) XXX_Merge ¶
func (m *MetricsNamesRequest) XXX_Merge(src proto.Message)
func (*MetricsNamesRequest) XXX_Size ¶
func (m *MetricsNamesRequest) XXX_Size() int
func (*MetricsNamesRequest) XXX_Unmarshal ¶
func (m *MetricsNamesRequest) XXX_Unmarshal(b []byte) error
type MetricsNamesServer ¶
type MetricsNamesServer interface { // GetMetricsNames gets map of metrics names. GetMetricsNames(context.Context, *MetricsNamesRequest) (*MetricsNamesReply, error) }
MetricsNamesServer is the server API for MetricsNames service.
type MetricsReply ¶
type MetricsReply struct { Metrics map[string]*MetricValues `` /* 155-byte string literal not displayed */ Sparkline []*Point `protobuf:"bytes,4,rep,name=sparkline,proto3" json:"sparkline,omitempty"` Totals map[string]*MetricValues `` /* 153-byte string literal not displayed */ Fingerprint string `protobuf:"bytes,6,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MetricsReply defines metrics for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.
func (*MetricsReply) Descriptor ¶
func (*MetricsReply) Descriptor() ([]byte, []int)
func (*MetricsReply) GetFingerprint ¶
func (m *MetricsReply) GetFingerprint() string
func (*MetricsReply) GetMetrics ¶
func (m *MetricsReply) GetMetrics() map[string]*MetricValues
func (*MetricsReply) GetSparkline ¶
func (m *MetricsReply) GetSparkline() []*Point
func (*MetricsReply) GetTotals ¶
func (m *MetricsReply) GetTotals() map[string]*MetricValues
func (*MetricsReply) ProtoMessage ¶
func (*MetricsReply) ProtoMessage()
func (*MetricsReply) Reset ¶
func (m *MetricsReply) Reset()
func (*MetricsReply) String ¶
func (m *MetricsReply) String() string
func (*MetricsReply) Validate ¶
func (this *MetricsReply) Validate() error
func (*MetricsReply) XXX_DiscardUnknown ¶
func (m *MetricsReply) XXX_DiscardUnknown()
func (*MetricsReply) XXX_Marshal ¶
func (m *MetricsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricsReply) XXX_Merge ¶
func (m *MetricsReply) XXX_Merge(src proto.Message)
func (*MetricsReply) XXX_Size ¶
func (m *MetricsReply) XXX_Size() int
func (*MetricsReply) XXX_Unmarshal ¶
func (m *MetricsReply) XXX_Unmarshal(b []byte) error
type MetricsRequest ¶
type MetricsRequest struct { PeriodStartFrom *timestamp.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamp.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` // dimension value: ex: queryid - 1D410B4BE5060972. FilterBy string `protobuf:"bytes,3,opt,name=filter_by,json=filterBy,proto3" json:"filter_by,omitempty"` // one of dimension: queryid | host ... GroupBy string `protobuf:"bytes,4,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` Labels []*MapFieldEntry `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"` IncludeOnlyFields []string `protobuf:"bytes,6,rep,name=include_only_fields,json=includeOnlyFields,proto3" json:"include_only_fields,omitempty"` // retrieve only values for totals, excluding N/A values Totals bool `protobuf:"varint,7,opt,name=totals,proto3" json:"totals,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MetricsRequest defines filtering of metrics for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.
func (*MetricsRequest) Descriptor ¶
func (*MetricsRequest) Descriptor() ([]byte, []int)
func (*MetricsRequest) GetFilterBy ¶
func (m *MetricsRequest) GetFilterBy() string
func (*MetricsRequest) GetGroupBy ¶
func (m *MetricsRequest) GetGroupBy() string
func (*MetricsRequest) GetIncludeOnlyFields ¶
func (m *MetricsRequest) GetIncludeOnlyFields() []string
func (*MetricsRequest) GetLabels ¶
func (m *MetricsRequest) GetLabels() []*MapFieldEntry
func (*MetricsRequest) GetPeriodStartFrom ¶
func (m *MetricsRequest) GetPeriodStartFrom() *timestamp.Timestamp
func (*MetricsRequest) GetPeriodStartTo ¶
func (m *MetricsRequest) GetPeriodStartTo() *timestamp.Timestamp
func (*MetricsRequest) GetTotals ¶
func (m *MetricsRequest) GetTotals() bool
func (*MetricsRequest) ProtoMessage ¶
func (*MetricsRequest) ProtoMessage()
func (*MetricsRequest) Reset ¶
func (m *MetricsRequest) Reset()
func (*MetricsRequest) String ¶
func (m *MetricsRequest) String() string
func (*MetricsRequest) Validate ¶
func (this *MetricsRequest) Validate() error
func (*MetricsRequest) XXX_DiscardUnknown ¶
func (m *MetricsRequest) XXX_DiscardUnknown()
func (*MetricsRequest) XXX_Marshal ¶
func (m *MetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetricsRequest) XXX_Merge ¶
func (m *MetricsRequest) XXX_Merge(src proto.Message)
func (*MetricsRequest) XXX_Size ¶
func (m *MetricsRequest) XXX_Size() int
func (*MetricsRequest) XXX_Unmarshal ¶
func (m *MetricsRequest) XXX_Unmarshal(b []byte) error
type ObjectDetailsClient ¶
type ObjectDetailsClient interface { // GetMetrics gets map of metrics for specific filtering. GetMetrics(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*MetricsReply, error) // GetQueryExample gets list of query examples. GetQueryExample(ctx context.Context, in *QueryExampleRequest, opts ...grpc.CallOption) (*QueryExampleReply, error) // GetLabels gets list of labels for object details. GetLabels(ctx context.Context, in *ObjectDetailsLabelsRequest, opts ...grpc.CallOption) (*ObjectDetailsLabelsReply, error) }
ObjectDetailsClient is the client API for ObjectDetails service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewObjectDetailsClient ¶
func NewObjectDetailsClient(cc grpc.ClientConnInterface) ObjectDetailsClient
type ObjectDetailsLabelsReply ¶
type ObjectDetailsLabelsReply struct { Labels map[string]*ListLabelValues `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ObjectDetailsLabelsReply is a map of labels names as keys and labels values as a list.
func (*ObjectDetailsLabelsReply) Descriptor ¶
func (*ObjectDetailsLabelsReply) Descriptor() ([]byte, []int)
func (*ObjectDetailsLabelsReply) GetLabels ¶
func (m *ObjectDetailsLabelsReply) GetLabels() map[string]*ListLabelValues
func (*ObjectDetailsLabelsReply) ProtoMessage ¶
func (*ObjectDetailsLabelsReply) ProtoMessage()
func (*ObjectDetailsLabelsReply) Reset ¶
func (m *ObjectDetailsLabelsReply) Reset()
func (*ObjectDetailsLabelsReply) String ¶
func (m *ObjectDetailsLabelsReply) String() string
func (*ObjectDetailsLabelsReply) Validate ¶
func (this *ObjectDetailsLabelsReply) Validate() error
func (*ObjectDetailsLabelsReply) XXX_DiscardUnknown ¶
func (m *ObjectDetailsLabelsReply) XXX_DiscardUnknown()
func (*ObjectDetailsLabelsReply) XXX_Marshal ¶
func (m *ObjectDetailsLabelsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectDetailsLabelsReply) XXX_Merge ¶
func (m *ObjectDetailsLabelsReply) XXX_Merge(src proto.Message)
func (*ObjectDetailsLabelsReply) XXX_Size ¶
func (m *ObjectDetailsLabelsReply) XXX_Size() int
func (*ObjectDetailsLabelsReply) XXX_Unmarshal ¶
func (m *ObjectDetailsLabelsReply) XXX_Unmarshal(b []byte) error
type ObjectDetailsLabelsRequest ¶
type ObjectDetailsLabelsRequest struct { PeriodStartFrom *timestamp.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamp.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` // dimension value: ex: queryid - 1D410B4BE5060972. FilterBy string `protobuf:"bytes,3,opt,name=filter_by,json=filterBy,proto3" json:"filter_by,omitempty"` // one of dimension: queryid | host ... GroupBy string `protobuf:"bytes,4,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ObjectDetailsLabelsRequest defines filtering of object detail's labels for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.
func (*ObjectDetailsLabelsRequest) Descriptor ¶
func (*ObjectDetailsLabelsRequest) Descriptor() ([]byte, []int)
func (*ObjectDetailsLabelsRequest) GetFilterBy ¶
func (m *ObjectDetailsLabelsRequest) GetFilterBy() string
func (*ObjectDetailsLabelsRequest) GetGroupBy ¶
func (m *ObjectDetailsLabelsRequest) GetGroupBy() string
func (*ObjectDetailsLabelsRequest) GetPeriodStartFrom ¶
func (m *ObjectDetailsLabelsRequest) GetPeriodStartFrom() *timestamp.Timestamp
func (*ObjectDetailsLabelsRequest) GetPeriodStartTo ¶
func (m *ObjectDetailsLabelsRequest) GetPeriodStartTo() *timestamp.Timestamp
func (*ObjectDetailsLabelsRequest) ProtoMessage ¶
func (*ObjectDetailsLabelsRequest) ProtoMessage()
func (*ObjectDetailsLabelsRequest) Reset ¶
func (m *ObjectDetailsLabelsRequest) Reset()
func (*ObjectDetailsLabelsRequest) String ¶
func (m *ObjectDetailsLabelsRequest) String() string
func (*ObjectDetailsLabelsRequest) Validate ¶
func (this *ObjectDetailsLabelsRequest) Validate() error
func (*ObjectDetailsLabelsRequest) XXX_DiscardUnknown ¶
func (m *ObjectDetailsLabelsRequest) XXX_DiscardUnknown()
func (*ObjectDetailsLabelsRequest) XXX_Marshal ¶
func (m *ObjectDetailsLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectDetailsLabelsRequest) XXX_Merge ¶
func (m *ObjectDetailsLabelsRequest) XXX_Merge(src proto.Message)
func (*ObjectDetailsLabelsRequest) XXX_Size ¶
func (m *ObjectDetailsLabelsRequest) XXX_Size() int
func (*ObjectDetailsLabelsRequest) XXX_Unmarshal ¶
func (m *ObjectDetailsLabelsRequest) XXX_Unmarshal(b []byte) error
type ObjectDetailsServer ¶
type ObjectDetailsServer interface { // GetMetrics gets map of metrics for specific filtering. GetMetrics(context.Context, *MetricsRequest) (*MetricsReply, error) // GetQueryExample gets list of query examples. GetQueryExample(context.Context, *QueryExampleRequest) (*QueryExampleReply, error) // GetLabels gets list of labels for object details. GetLabels(context.Context, *ObjectDetailsLabelsRequest) (*ObjectDetailsLabelsReply, error) }
ObjectDetailsServer is the server API for ObjectDetails service.
type Point ¶
type Point struct { // The serial number of the chart point from the largest time in the time interval to the lowest time in the time range. Point uint32 `protobuf:"varint,1,opt,name=point,proto3" json:"point,omitempty"` // Duration beetween two points. TimeFrame uint32 `protobuf:"varint,2,opt,name=time_frame,json=timeFrame,proto3" json:"time_frame,omitempty"` // Time of point in format RFC3339. Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // load is query_time / time_range. Load float32 `protobuf:"fixed32,53,opt,name=load,proto3" json:"load,omitempty"` // number of queries in bucket. NumQueriesPerSec float32 `protobuf:"fixed32,4,opt,name=num_queries_per_sec,json=numQueriesPerSec,proto3" json:"num_queries_per_sec,omitempty"` // number of queries with errors. NumQueriesWithErrorsPerSec float32 `` /* 150-byte string literal not displayed */ // number of queries with warnings. NumQueriesWithWarningsPerSec float32 `` /* 156-byte string literal not displayed */ // The statement execution time in seconds. MQueryTimeSumPerSec float32 `` /* 128-byte string literal not displayed */ // The time to acquire locks in seconds. MLockTimeSumPerSec float32 `protobuf:"fixed32,6,opt,name=m_lock_time_sum_per_sec,json=mLockTimeSumPerSec,proto3" json:"m_lock_time_sum_per_sec,omitempty"` // The number of rows sent to the client. MRowsSentSumPerSec float32 `protobuf:"fixed32,7,opt,name=m_rows_sent_sum_per_sec,json=mRowsSentSumPerSec,proto3" json:"m_rows_sent_sum_per_sec,omitempty"` // Number of rows scanned - SELECT. MRowsExaminedSumPerSec float32 `` /* 137-byte string literal not displayed */ // Number of rows changed - UPDATE, DELETE, INSERT. MRowsAffectedSumPerSec float32 `` /* 137-byte string literal not displayed */ // The number of rows read from tables. MRowsReadSumPerSec float32 `` /* 126-byte string literal not displayed */ // The number of merge passes that the sort algorithm has had to do. MMergePassesSumPerSec float32 `` /* 135-byte string literal not displayed */ // Counts the number of page read operations scheduled. MInnodbIoROpsSumPerSec float32 `` /* 142-byte string literal not displayed */ // Similar to innodb_IO_r_ops, but the unit is bytes. MInnodbIoRBytesSumPerSec float32 `` /* 148-byte string literal not displayed */ // Shows how long (in seconds) it took InnoDB to actually read the data from storage. MInnodbIoRWaitSumPerSec float32 `` /* 145-byte string literal not displayed */ // Shows how long (in seconds) the query waited for row locks. MInnodbRecLockWaitSumPerSec float32 `` /* 157-byte string literal not displayed */ // Shows how long (in seconds) the query spent either waiting to enter the InnoDB queue or inside that queue waiting for execution. MInnodbQueueWaitSumPerSec float32 `` /* 149-byte string literal not displayed */ // Counts approximately the number of unique pages the query accessed. MInnodbPagesDistinctSumPerSec float32 `` /* 161-byte string literal not displayed */ // Shows how long the query is. MQueryLengthSumPerSec float32 `` /* 135-byte string literal not displayed */ // The number of bytes sent to all clients. MBytesSentSumPerSec float32 `` /* 129-byte string literal not displayed */ // Number of temporary tables created on memory for the query. MTmpTablesSumPerSec float32 `` /* 129-byte string literal not displayed */ // Number of temporary tables created on disk for the query. MTmpDiskTablesSumPerSec float32 `` /* 143-byte string literal not displayed */ // Total Size in bytes for all temporary tables used in the query. MTmpTableSizesSumPerSec float32 `` /* 143-byte string literal not displayed */ // // Boolean metrics: // - *_sum_per_sec - how many times this matric was true. // // Query Cache hits. MQcHitSumPerSec float32 `protobuf:"fixed32,23,opt,name=m_qc_hit_sum_per_sec,json=mQcHitSumPerSec,proto3" json:"m_qc_hit_sum_per_sec,omitempty"` // The query performed a full table scan. MFullScanSumPerSec float32 `` /* 126-byte string literal not displayed */ // The query performed a full join (a join without indexes). MFullJoinSumPerSec float32 `` /* 126-byte string literal not displayed */ // The query created an implicit internal temporary table. MTmpTableSumPerSec float32 `` /* 126-byte string literal not displayed */ // The querys temporary table was stored on disk. MTmpTableOnDiskSumPerSec float32 `` /* 148-byte string literal not displayed */ // The query used a filesort. MFilesortSumPerSec float32 `protobuf:"fixed32,28,opt,name=m_filesort_sum_per_sec,json=mFilesortSumPerSec,proto3" json:"m_filesort_sum_per_sec,omitempty"` // The filesort was performed on disk. MFilesortOnDiskSumPerSec float32 `` /* 146-byte string literal not displayed */ // The number of joins that used a range search on a reference table. MSelectFullRangeJoinSumPerSec float32 `` /* 163-byte string literal not displayed */ // The number of joins that used ranges on the first table. MSelectRangeSumPerSec float32 `` /* 135-byte string literal not displayed */ // The number of joins without keys that check for key usage after each row. MSelectRangeCheckSumPerSec float32 `` /* 152-byte string literal not displayed */ // The number of sorts that were done using ranges. MSortRangeSumPerSec float32 `` /* 129-byte string literal not displayed */ // The number of sorted rows. MSortRowsSumPerSec float32 `` /* 126-byte string literal not displayed */ // The number of sorts that were done by scanning the table. MSortScanSumPerSec float32 `` /* 126-byte string literal not displayed */ // The number of queries without index. MNoIndexUsedSumPerSec float32 `` /* 137-byte string literal not displayed */ // The number of queries without good index. MNoGoodIndexUsedSumPerSec float32 `` /* 151-byte string literal not displayed */ // // MongoDB metrics. // // The number of returned documents. MDocsReturnedSumPerSec float32 `` /* 138-byte string literal not displayed */ // The response length of the query result in bytes. MResponseLengthSumPerSec float32 `` /* 144-byte string literal not displayed */ // The number of scanned documents. MDocsScannedSumPerSec float32 `` /* 135-byte string literal not displayed */ // PostgreSQL metrics. // // Total number of shared block cache hits by the statement. MSharedBlksHitSumPerSec float32 `` /* 143-byte string literal not displayed */ MSharedBlksReadSumPerSec float32 `` /* 146-byte string literal not displayed */ MSharedBlksDirtiedSumPerSec float32 `` /* 155-byte string literal not displayed */ MSharedBlksWrittenSumPerSec float32 `` /* 155-byte string literal not displayed */ // Total number of local block cache hits by the statement. MLocalBlksHitSumPerSec float32 `` /* 140-byte string literal not displayed */ // Total number of local blocks read by the statement. MLocalBlksReadSumPerSec float32 `` /* 143-byte string literal not displayed */ // Total number of local blocks dirtied by the statement. MLocalBlksDirtiedSumPerSec float32 `` /* 152-byte string literal not displayed */ // Total number of local blocks written by the statement. MLocalBlksWrittenSumPerSec float32 `` /* 152-byte string literal not displayed */ // Total number of temp blocks read by the statement. MTempBlksReadSumPerSec float32 `` /* 140-byte string literal not displayed */ // Total number of temp blocks written by the statement. MTempBlksWrittenSumPerSec float32 `` /* 149-byte string literal not displayed */ // Total time the statement spent reading blocks, in milliseconds (if track_io_timing is enabled, otherwise zero). MBlkReadTimeSumPerSec float32 `` /* 137-byte string literal not displayed */ // Total time the statement spent writing blocks, in milliseconds (if track_io_timing is enabled, otherwise zero). MBlkWriteTimeSumPerSec float32 `` /* 140-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Point contains values that represents abscissa (time) and ordinate (volume etc.) of every point in a coordinate system of Sparklines.
func (*Point) Descriptor ¶
func (*Point) GetMBlkReadTimeSumPerSec ¶
func (*Point) GetMBlkWriteTimeSumPerSec ¶
func (*Point) GetMBytesSentSumPerSec ¶
func (*Point) GetMDocsReturnedSumPerSec ¶
func (*Point) GetMDocsScannedSumPerSec ¶
func (*Point) GetMFilesortOnDiskSumPerSec ¶
func (*Point) GetMFilesortSumPerSec ¶
func (*Point) GetMFullJoinSumPerSec ¶
func (*Point) GetMFullScanSumPerSec ¶
func (*Point) GetMInnodbIoRBytesSumPerSec ¶
func (*Point) GetMInnodbIoROpsSumPerSec ¶
func (*Point) GetMInnodbIoRWaitSumPerSec ¶
func (*Point) GetMInnodbPagesDistinctSumPerSec ¶
func (*Point) GetMInnodbQueueWaitSumPerSec ¶
func (*Point) GetMInnodbRecLockWaitSumPerSec ¶
func (*Point) GetMLocalBlksDirtiedSumPerSec ¶
func (*Point) GetMLocalBlksHitSumPerSec ¶
func (*Point) GetMLocalBlksReadSumPerSec ¶
func (*Point) GetMLocalBlksWrittenSumPerSec ¶
func (*Point) GetMLockTimeSumPerSec ¶
func (*Point) GetMMergePassesSumPerSec ¶
func (*Point) GetMNoGoodIndexUsedSumPerSec ¶
func (*Point) GetMNoIndexUsedSumPerSec ¶
func (*Point) GetMQcHitSumPerSec ¶
func (*Point) GetMQueryLengthSumPerSec ¶
func (*Point) GetMQueryTimeSumPerSec ¶
func (*Point) GetMResponseLengthSumPerSec ¶
func (*Point) GetMRowsAffectedSumPerSec ¶
func (*Point) GetMRowsExaminedSumPerSec ¶
func (*Point) GetMRowsReadSumPerSec ¶
func (*Point) GetMRowsSentSumPerSec ¶
func (*Point) GetMSelectFullRangeJoinSumPerSec ¶
func (*Point) GetMSelectRangeCheckSumPerSec ¶
func (*Point) GetMSelectRangeSumPerSec ¶
func (*Point) GetMSharedBlksDirtiedSumPerSec ¶
func (*Point) GetMSharedBlksHitSumPerSec ¶
func (*Point) GetMSharedBlksReadSumPerSec ¶
func (*Point) GetMSharedBlksWrittenSumPerSec ¶
func (*Point) GetMSortRangeSumPerSec ¶
func (*Point) GetMSortRowsSumPerSec ¶
func (*Point) GetMSortScanSumPerSec ¶
func (*Point) GetMTempBlksReadSumPerSec ¶
func (*Point) GetMTempBlksWrittenSumPerSec ¶
func (*Point) GetMTmpDiskTablesSumPerSec ¶
func (*Point) GetMTmpTableOnDiskSumPerSec ¶
func (*Point) GetMTmpTableSizesSumPerSec ¶
func (*Point) GetMTmpTableSumPerSec ¶
func (*Point) GetMTmpTablesSumPerSec ¶
func (*Point) GetNumQueriesPerSec ¶
func (*Point) GetNumQueriesWithErrorsPerSec ¶
func (*Point) GetNumQueriesWithWarningsPerSec ¶
func (*Point) GetTimeFrame ¶
func (*Point) GetTimestamp ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) XXX_DiscardUnknown ¶
func (m *Point) XXX_DiscardUnknown()
func (*Point) XXX_Marshal ¶
func (*Point) XXX_Unmarshal ¶
type ProfileClient ¶
type ProfileClient interface { // GetReport returns list of metrics group by queryid or other dimentions. GetReport(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportReply, error) }
ProfileClient is the client API for Profile service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProfileClient ¶
func NewProfileClient(cc grpc.ClientConnInterface) ProfileClient
type ProfileServer ¶
type ProfileServer interface { // GetReport returns list of metrics group by queryid or other dimentions. GetReport(context.Context, *ReportRequest) (*ReportReply, error) }
ProfileServer is the server API for Profile service.
type QueryExample ¶
type QueryExample struct { Example string `protobuf:"bytes,1,opt,name=example,proto3" json:"example,omitempty"` ExampleFormat ExampleFormat `` // Deprecated: Do not use. /* 132-byte string literal not displayed */ ExampleType ExampleType `protobuf:"varint,3,opt,name=example_type,json=exampleType,proto3,enum=qan.v1beta1.ExampleType" json:"example_type,omitempty"` IsTruncated uint32 `protobuf:"varint,4,opt,name=is_truncated,json=isTruncated,proto3" json:"is_truncated,omitempty"` ExampleMetrics string `protobuf:"bytes,5,opt,name=example_metrics,json=exampleMetrics,proto3" json:"example_metrics,omitempty"` ServiceId string `protobuf:"bytes,6,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` ServiceType string `protobuf:"bytes,7,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"` Schema string `protobuf:"bytes,8,opt,name=schema,proto3" json:"schema,omitempty"` Tables []string `protobuf:"bytes,9,rep,name=tables,proto3" json:"tables,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
QueryExample shows query examples and their metrics.
func (*QueryExample) Descriptor ¶
func (*QueryExample) Descriptor() ([]byte, []int)
func (*QueryExample) GetExample ¶
func (m *QueryExample) GetExample() string
func (*QueryExample) GetExampleFormat
deprecated
func (m *QueryExample) GetExampleFormat() ExampleFormat
Deprecated: Do not use.
func (*QueryExample) GetExampleMetrics ¶
func (m *QueryExample) GetExampleMetrics() string
func (*QueryExample) GetExampleType ¶
func (m *QueryExample) GetExampleType() ExampleType
func (*QueryExample) GetIsTruncated ¶
func (m *QueryExample) GetIsTruncated() uint32
func (*QueryExample) GetSchema ¶
func (m *QueryExample) GetSchema() string
func (*QueryExample) GetServiceId ¶
func (m *QueryExample) GetServiceId() string
func (*QueryExample) GetServiceType ¶
func (m *QueryExample) GetServiceType() string
func (*QueryExample) GetTables ¶
func (m *QueryExample) GetTables() []string
func (*QueryExample) ProtoMessage ¶
func (*QueryExample) ProtoMessage()
func (*QueryExample) Reset ¶
func (m *QueryExample) Reset()
func (*QueryExample) String ¶
func (m *QueryExample) String() string
func (*QueryExample) Validate ¶
func (this *QueryExample) Validate() error
func (*QueryExample) XXX_DiscardUnknown ¶
func (m *QueryExample) XXX_DiscardUnknown()
func (*QueryExample) XXX_Marshal ¶
func (m *QueryExample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExample) XXX_Merge ¶
func (m *QueryExample) XXX_Merge(src proto.Message)
func (*QueryExample) XXX_Size ¶
func (m *QueryExample) XXX_Size() int
func (*QueryExample) XXX_Unmarshal ¶
func (m *QueryExample) XXX_Unmarshal(b []byte) error
type QueryExampleReply ¶
type QueryExampleReply struct { QueryExamples []*QueryExample `protobuf:"bytes,1,rep,name=query_examples,json=queryExamples,proto3" json:"query_examples,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
QueryExampleReply list of query examples.
func (*QueryExampleReply) Descriptor ¶
func (*QueryExampleReply) Descriptor() ([]byte, []int)
func (*QueryExampleReply) GetQueryExamples ¶
func (m *QueryExampleReply) GetQueryExamples() []*QueryExample
func (*QueryExampleReply) ProtoMessage ¶
func (*QueryExampleReply) ProtoMessage()
func (*QueryExampleReply) Reset ¶
func (m *QueryExampleReply) Reset()
func (*QueryExampleReply) String ¶
func (m *QueryExampleReply) String() string
func (*QueryExampleReply) Validate ¶
func (this *QueryExampleReply) Validate() error
func (*QueryExampleReply) XXX_DiscardUnknown ¶
func (m *QueryExampleReply) XXX_DiscardUnknown()
func (*QueryExampleReply) XXX_Marshal ¶
func (m *QueryExampleReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExampleReply) XXX_Merge ¶
func (m *QueryExampleReply) XXX_Merge(src proto.Message)
func (*QueryExampleReply) XXX_Size ¶
func (m *QueryExampleReply) XXX_Size() int
func (*QueryExampleReply) XXX_Unmarshal ¶
func (m *QueryExampleReply) XXX_Unmarshal(b []byte) error
type QueryExampleRequest ¶
type QueryExampleRequest struct { PeriodStartFrom *timestamp.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamp.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` // dimension value: ex: queryid - 1D410B4BE5060972. FilterBy string `protobuf:"bytes,3,opt,name=filter_by,json=filterBy,proto3" json:"filter_by,omitempty"` // one of dimension: queryid | host ... GroupBy string `protobuf:"bytes,4,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` Labels []*MapFieldEntry `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"` Limit uint32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
QueryExampleRequest defines filtering of query examples for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.
func (*QueryExampleRequest) Descriptor ¶
func (*QueryExampleRequest) Descriptor() ([]byte, []int)
func (*QueryExampleRequest) GetFilterBy ¶
func (m *QueryExampleRequest) GetFilterBy() string
func (*QueryExampleRequest) GetGroupBy ¶
func (m *QueryExampleRequest) GetGroupBy() string
func (*QueryExampleRequest) GetLabels ¶
func (m *QueryExampleRequest) GetLabels() []*MapFieldEntry
func (*QueryExampleRequest) GetLimit ¶
func (m *QueryExampleRequest) GetLimit() uint32
func (*QueryExampleRequest) GetPeriodStartFrom ¶
func (m *QueryExampleRequest) GetPeriodStartFrom() *timestamp.Timestamp
func (*QueryExampleRequest) GetPeriodStartTo ¶
func (m *QueryExampleRequest) GetPeriodStartTo() *timestamp.Timestamp
func (*QueryExampleRequest) ProtoMessage ¶
func (*QueryExampleRequest) ProtoMessage()
func (*QueryExampleRequest) Reset ¶
func (m *QueryExampleRequest) Reset()
func (*QueryExampleRequest) String ¶
func (m *QueryExampleRequest) String() string
func (*QueryExampleRequest) Validate ¶
func (this *QueryExampleRequest) Validate() error
func (*QueryExampleRequest) XXX_DiscardUnknown ¶
func (m *QueryExampleRequest) XXX_DiscardUnknown()
func (*QueryExampleRequest) XXX_Marshal ¶
func (m *QueryExampleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExampleRequest) XXX_Merge ¶
func (m *QueryExampleRequest) XXX_Merge(src proto.Message)
func (*QueryExampleRequest) XXX_Size ¶
func (m *QueryExampleRequest) XXX_Size() int
func (*QueryExampleRequest) XXX_Unmarshal ¶
func (m *QueryExampleRequest) XXX_Unmarshal(b []byte) error
type ReportMapFieldEntry ¶
type ReportMapFieldEntry struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ReportMapFieldEntry allows to pass labels/dimentions in form like {"server": ["db1", "db2"...]}.
func (*ReportMapFieldEntry) Descriptor ¶
func (*ReportMapFieldEntry) Descriptor() ([]byte, []int)
func (*ReportMapFieldEntry) GetKey ¶
func (m *ReportMapFieldEntry) GetKey() string
func (*ReportMapFieldEntry) GetValue ¶
func (m *ReportMapFieldEntry) GetValue() []string
func (*ReportMapFieldEntry) ProtoMessage ¶
func (*ReportMapFieldEntry) ProtoMessage()
func (*ReportMapFieldEntry) Reset ¶
func (m *ReportMapFieldEntry) Reset()
func (*ReportMapFieldEntry) String ¶
func (m *ReportMapFieldEntry) String() string
func (*ReportMapFieldEntry) Validate ¶
func (this *ReportMapFieldEntry) Validate() error
func (*ReportMapFieldEntry) XXX_DiscardUnknown ¶
func (m *ReportMapFieldEntry) XXX_DiscardUnknown()
func (*ReportMapFieldEntry) XXX_Marshal ¶
func (m *ReportMapFieldEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportMapFieldEntry) XXX_Merge ¶
func (m *ReportMapFieldEntry) XXX_Merge(src proto.Message)
func (*ReportMapFieldEntry) XXX_Size ¶
func (m *ReportMapFieldEntry) XXX_Size() int
func (*ReportMapFieldEntry) XXX_Unmarshal ¶
func (m *ReportMapFieldEntry) XXX_Unmarshal(b []byte) error
type ReportReply ¶
type ReportReply struct { TotalRows uint32 `protobuf:"varint,1,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Rows []*Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ReportReply is list of reports per quieryids, hosts etc.
func (*ReportReply) Descriptor ¶
func (*ReportReply) Descriptor() ([]byte, []int)
func (*ReportReply) GetLimit ¶
func (m *ReportReply) GetLimit() uint32
func (*ReportReply) GetOffset ¶
func (m *ReportReply) GetOffset() uint32
func (*ReportReply) GetRows ¶
func (m *ReportReply) GetRows() []*Row
func (*ReportReply) GetTotalRows ¶
func (m *ReportReply) GetTotalRows() uint32
func (*ReportReply) ProtoMessage ¶
func (*ReportReply) ProtoMessage()
func (*ReportReply) Reset ¶
func (m *ReportReply) Reset()
func (*ReportReply) String ¶
func (m *ReportReply) String() string
func (*ReportReply) Validate ¶
func (this *ReportReply) Validate() error
func (*ReportReply) XXX_DiscardUnknown ¶
func (m *ReportReply) XXX_DiscardUnknown()
func (*ReportReply) XXX_Marshal ¶
func (m *ReportReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportReply) XXX_Merge ¶
func (m *ReportReply) XXX_Merge(src proto.Message)
func (*ReportReply) XXX_Size ¶
func (m *ReportReply) XXX_Size() int
func (*ReportReply) XXX_Unmarshal ¶
func (m *ReportReply) XXX_Unmarshal(b []byte) error
type ReportRequest ¶
type ReportRequest struct { PeriodStartFrom *timestamp.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamp.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` GroupBy string `protobuf:"bytes,3,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` Labels []*ReportMapFieldEntry `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` Columns []string `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"` OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Offset uint32 `protobuf:"varint,7,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint32 `protobuf:"varint,8,opt,name=limit,proto3" json:"limit,omitempty"` MainMetric string `protobuf:"bytes,9,opt,name=main_metric,json=mainMetric,proto3" json:"main_metric,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ReportRequest defines filtering of metrics report for db server or other dimentions.
func (*ReportRequest) Descriptor ¶
func (*ReportRequest) Descriptor() ([]byte, []int)
func (*ReportRequest) GetColumns ¶
func (m *ReportRequest) GetColumns() []string
func (*ReportRequest) GetGroupBy ¶
func (m *ReportRequest) GetGroupBy() string
func (*ReportRequest) GetLabels ¶
func (m *ReportRequest) GetLabels() []*ReportMapFieldEntry
func (*ReportRequest) GetLimit ¶
func (m *ReportRequest) GetLimit() uint32
func (*ReportRequest) GetMainMetric ¶
func (m *ReportRequest) GetMainMetric() string
func (*ReportRequest) GetOffset ¶
func (m *ReportRequest) GetOffset() uint32
func (*ReportRequest) GetOrderBy ¶
func (m *ReportRequest) GetOrderBy() string
func (*ReportRequest) GetPeriodStartFrom ¶
func (m *ReportRequest) GetPeriodStartFrom() *timestamp.Timestamp
func (*ReportRequest) GetPeriodStartTo ¶
func (m *ReportRequest) GetPeriodStartTo() *timestamp.Timestamp
func (*ReportRequest) ProtoMessage ¶
func (*ReportRequest) ProtoMessage()
func (*ReportRequest) Reset ¶
func (m *ReportRequest) Reset()
func (*ReportRequest) String ¶
func (m *ReportRequest) String() string
func (*ReportRequest) Validate ¶
func (this *ReportRequest) Validate() error
func (*ReportRequest) XXX_DiscardUnknown ¶
func (m *ReportRequest) XXX_DiscardUnknown()
func (*ReportRequest) XXX_Marshal ¶
func (m *ReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportRequest) XXX_Merge ¶
func (m *ReportRequest) XXX_Merge(src proto.Message)
func (*ReportRequest) XXX_Size ¶
func (m *ReportRequest) XXX_Size() int
func (*ReportRequest) XXX_Unmarshal ¶
func (m *ReportRequest) XXX_Unmarshal(b []byte) error
type Row ¶
type Row struct { Rank uint32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` Dimension string `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"` Metrics map[string]*Metric `` /* 155-byte string literal not displayed */ Sparkline []*Point `protobuf:"bytes,4,rep,name=sparkline,proto3" json:"sparkline,omitempty"` Fingerprint string `protobuf:"bytes,5,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` NumQueries uint32 `protobuf:"varint,6,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` Qps float32 `protobuf:"fixed32,7,opt,name=qps,proto3" json:"qps,omitempty"` Load float32 `protobuf:"fixed32,8,opt,name=load,proto3" json:"load,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Row define metrics for selected dimention.
func (*Row) Descriptor ¶
func (*Row) GetDimension ¶
func (*Row) GetFingerprint ¶
func (*Row) GetMetrics ¶
func (*Row) GetNumQueries ¶
func (*Row) GetSparkline ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) XXX_DiscardUnknown ¶
func (m *Row) XXX_DiscardUnknown()
func (*Row) XXX_Unmarshal ¶
type Stat ¶
type Stat struct { Rate float32 `protobuf:"fixed32,1,opt,name=rate,proto3" json:"rate,omitempty"` Cnt float32 `protobuf:"fixed32,2,opt,name=cnt,proto3" json:"cnt,omitempty"` Sum float32 `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"` Min float32 `protobuf:"fixed32,4,opt,name=min,proto3" json:"min,omitempty"` Max float32 `protobuf:"fixed32,5,opt,name=max,proto3" json:"max,omitempty"` P99 float32 `protobuf:"fixed32,6,opt,name=p99,proto3" json:"p99,omitempty"` Avg float32 `protobuf:"fixed32,7,opt,name=avg,proto3" json:"avg,omitempty"` SumPerSec float32 `protobuf:"fixed32,8,opt,name=sum_per_sec,json=sumPerSec,proto3" json:"sum_per_sec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Stat is statistics of specific metric.
func (*Stat) Descriptor ¶
func (*Stat) GetSumPerSec ¶
func (*Stat) ProtoMessage ¶
func (*Stat) ProtoMessage()
func (*Stat) XXX_DiscardUnknown ¶
func (m *Stat) XXX_DiscardUnknown()
func (*Stat) XXX_Unmarshal ¶
type UnimplementedCollectorServer ¶
type UnimplementedCollectorServer struct { }
UnimplementedCollectorServer can be embedded to have forward compatible implementations.
func (*UnimplementedCollectorServer) Collect ¶
func (*UnimplementedCollectorServer) Collect(ctx context.Context, req *CollectRequest) (*CollectResponse, error)
type UnimplementedFiltersServer ¶
type UnimplementedFiltersServer struct { }
UnimplementedFiltersServer can be embedded to have forward compatible implementations.
func (*UnimplementedFiltersServer) Get ¶
func (*UnimplementedFiltersServer) Get(ctx context.Context, req *FiltersRequest) (*FiltersReply, error)
type UnimplementedMetricsNamesServer ¶
type UnimplementedMetricsNamesServer struct { }
UnimplementedMetricsNamesServer can be embedded to have forward compatible implementations.
func (*UnimplementedMetricsNamesServer) GetMetricsNames ¶
func (*UnimplementedMetricsNamesServer) GetMetricsNames(ctx context.Context, req *MetricsNamesRequest) (*MetricsNamesReply, error)
type UnimplementedObjectDetailsServer ¶
type UnimplementedObjectDetailsServer struct { }
UnimplementedObjectDetailsServer can be embedded to have forward compatible implementations.
func (*UnimplementedObjectDetailsServer) GetLabels ¶
func (*UnimplementedObjectDetailsServer) GetLabels(ctx context.Context, req *ObjectDetailsLabelsRequest) (*ObjectDetailsLabelsReply, error)
func (*UnimplementedObjectDetailsServer) GetMetrics ¶
func (*UnimplementedObjectDetailsServer) GetMetrics(ctx context.Context, req *MetricsRequest) (*MetricsReply, error)
func (*UnimplementedObjectDetailsServer) GetQueryExample ¶
func (*UnimplementedObjectDetailsServer) GetQueryExample(ctx context.Context, req *QueryExampleRequest) (*QueryExampleReply, error)
type UnimplementedProfileServer ¶
type UnimplementedProfileServer struct { }
UnimplementedProfileServer can be embedded to have forward compatible implementations.
func (*UnimplementedProfileServer) GetReport ¶
func (*UnimplementedProfileServer) GetReport(ctx context.Context, req *ReportRequest) (*ReportReply, error)
type Values ¶
type Values struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` MainMetricPercent float32 `protobuf:"fixed32,2,opt,name=main_metric_percent,json=mainMetricPercent,proto3" json:"main_metric_percent,omitempty"` MainMetricPerSec float32 `protobuf:"fixed32,3,opt,name=main_metric_per_sec,json=mainMetricPerSec,proto3" json:"main_metric_per_sec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Values is label values and main metric percent and per second.
func (*Values) Descriptor ¶
func (*Values) GetMainMetricPerSec ¶
func (*Values) GetMainMetricPercent ¶
func (*Values) ProtoMessage ¶
func (*Values) ProtoMessage()
func (*Values) XXX_DiscardUnknown ¶
func (m *Values) XXX_DiscardUnknown()
func (*Values) XXX_Marshal ¶
func (*Values) XXX_Unmarshal ¶
Source Files ¶
- collector.pb.go
- collector.validator.pb.go
- filters.pb.go
- filters.pb.gw.go
- filters.validator.pb.go
- metrics_names.pb.go
- metrics_names.pb.gw.go
- metrics_names.validator.pb.go
- object_details.pb.go
- object_details.pb.gw.go
- object_details.validator.pb.go
- profile.pb.go
- profile.pb.gw.go
- profile.validator.pb.go
- qan.pb.go
- qan.validator.pb.go