qanpb

package
v2.18.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: AGPL-3.0 Imports: 22 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var (
	ExampleFormat_name = map[int32]string{
		0: "EXAMPLE_FORMAT_INVALID",
		1: "EXAMPLE",
		2: "FINGERPRINT",
	}
	ExampleFormat_value = map[string]int32{
		"EXAMPLE_FORMAT_INVALID": 0,
		"EXAMPLE":                1,
		"FINGERPRINT":            2,
	}
)

Enum value maps for ExampleFormat.

View Source
var (
	ExampleType_name = map[int32]string{
		0: "EXAMPLE_TYPE_INVALID",
		1: "RANDOM",
		2: "SLOWEST",
		3: "FASTEST",
		4: "WITH_ERROR",
	}
	ExampleType_value = map[string]int32{
		"EXAMPLE_TYPE_INVALID": 0,
		"RANDOM":               1,
		"SLOWEST":              2,
		"FASTEST":              3,
		"WITH_ERROR":           4,
	}
)

Enum value maps for ExampleType.

View Source
var File_qanpb_collector_proto protoreflect.FileDescriptor
View Source
var File_qanpb_filters_proto protoreflect.FileDescriptor
View Source
var File_qanpb_metrics_names_proto protoreflect.FileDescriptor
View Source
var File_qanpb_object_details_proto protoreflect.FileDescriptor
View Source
var File_qanpb_profile_proto protoreflect.FileDescriptor
View Source
var File_qanpb_qan_proto protoreflect.FileDescriptor

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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterFiltersHandlerFromEndpoint instead.

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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMetricsNamesHandlerFromEndpoint instead.

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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterObjectDetailsHandlerFromEndpoint instead.

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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterProfileHandlerFromEndpoint instead.

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"`
	// contains filtered or unexported fields
}

func (*CollectRequest) Descriptor deprecated

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

Deprecated: Use CollectRequest.ProtoReflect.Descriptor instead.

func (*CollectRequest) GetMetricsBucket

func (x *CollectRequest) GetMetricsBucket() []*MetricsBucket

func (*CollectRequest) ProtoMessage

func (*CollectRequest) ProtoMessage()

func (*CollectRequest) ProtoReflect

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

func (*CollectRequest) Reset

func (x *CollectRequest) Reset()

func (*CollectRequest) String

func (x *CollectRequest) String() string

func (*CollectRequest) Validate

func (this *CollectRequest) Validate() error

type CollectResponse

type CollectResponse struct {
	// contains filtered or unexported fields
}

func (*CollectResponse) Descriptor deprecated

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

Deprecated: Use CollectResponse.ProtoReflect.Descriptor instead.

func (*CollectResponse) ProtoMessage

func (*CollectResponse) ProtoMessage()

func (*CollectResponse) ProtoReflect

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

func (*CollectResponse) Reset

func (x *CollectResponse) Reset()

func (*CollectResponse) String

func (x *CollectResponse) String() string

func (*CollectResponse) Validate

func (this *CollectResponse) Validate() 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 (
	// Deprecated: Do not use.
	ExampleFormat_EXAMPLE_FORMAT_INVALID ExampleFormat = 0
	// Deprecated: Do not use.
	ExampleFormat_EXAMPLE ExampleFormat = 1
	// Deprecated: Do not use.
	ExampleFormat_FINGERPRINT ExampleFormat = 2
)

func (ExampleFormat) Descriptor

func (ExampleFormat) Enum

func (x ExampleFormat) Enum() *ExampleFormat

func (ExampleFormat) EnumDescriptor deprecated

func (ExampleFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExampleFormat.Descriptor instead.

func (ExampleFormat) Number

func (ExampleFormat) String

func (x ExampleFormat) String() string

func (ExampleFormat) Type

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) Descriptor

func (ExampleType) Enum

func (x ExampleType) Enum() *ExampleType

func (ExampleType) EnumDescriptor deprecated

func (ExampleType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExampleType.Descriptor instead.

func (ExampleType) Number

func (x ExampleType) Number() protoreflect.EnumNumber

func (ExampleType) String

func (x ExampleType) String() string

func (ExampleType) Type

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 */
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use FiltersReply.ProtoReflect.Descriptor instead.

func (*FiltersReply) GetLabels

func (x *FiltersReply) GetLabels() map[string]*ListLabels

func (*FiltersReply) ProtoMessage

func (*FiltersReply) ProtoMessage()

func (*FiltersReply) ProtoReflect

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

func (*FiltersReply) Reset

func (x *FiltersReply) Reset()

func (*FiltersReply) String

func (x *FiltersReply) String() string

func (*FiltersReply) Validate

func (this *FiltersReply) Validate() 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"`
	// contains filtered or unexported fields
}

FiltersRequest contains period for which we need filters.

func (*FiltersRequest) Descriptor deprecated

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

Deprecated: Use FiltersRequest.ProtoReflect.Descriptor instead.

func (*FiltersRequest) GetLabels

func (x *FiltersRequest) GetLabels() []*MapFieldEntry

func (*FiltersRequest) GetMainMetricName

func (x *FiltersRequest) GetMainMetricName() string

func (*FiltersRequest) GetPeriodStartFrom

func (x *FiltersRequest) GetPeriodStartFrom() *timestamp.Timestamp

func (*FiltersRequest) GetPeriodStartTo

func (x *FiltersRequest) GetPeriodStartTo() *timestamp.Timestamp

func (*FiltersRequest) ProtoMessage

func (*FiltersRequest) ProtoMessage()

func (*FiltersRequest) ProtoReflect

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

func (*FiltersRequest) Reset

func (x *FiltersRequest) Reset()

func (*FiltersRequest) String

func (x *FiltersRequest) String() string

func (*FiltersRequest) Validate

func (this *FiltersRequest) Validate() 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"`
	// contains filtered or unexported fields
}

Labels are list of labels or dimensions values.

func (*Labels) Descriptor deprecated

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

Deprecated: Use Labels.ProtoReflect.Descriptor instead.

func (*Labels) GetValue

func (x *Labels) GetValue() []string

func (*Labels) ProtoMessage

func (*Labels) ProtoMessage()

func (*Labels) ProtoReflect

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

func (*Labels) Reset

func (x *Labels) Reset()

func (*Labels) String

func (x *Labels) String() string

func (*Labels) Validate

func (this *Labels) Validate() error

type ListLabelValues

type ListLabelValues struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

ListLabelValues is list of label's values.

func (*ListLabelValues) Descriptor deprecated

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

Deprecated: Use ListLabelValues.ProtoReflect.Descriptor instead.

func (*ListLabelValues) GetValues

func (x *ListLabelValues) GetValues() []string

func (*ListLabelValues) ProtoMessage

func (*ListLabelValues) ProtoMessage()

func (*ListLabelValues) ProtoReflect

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

func (*ListLabelValues) Reset

func (x *ListLabelValues) Reset()

func (*ListLabelValues) String

func (x *ListLabelValues) String() string

func (*ListLabelValues) Validate

func (this *ListLabelValues) Validate() error

type ListLabels

type ListLabels struct {
	Name []*Values `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ListLabels is list of label's values: duplicates are impossible.

func (*ListLabels) Descriptor deprecated

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

Deprecated: Use ListLabels.ProtoReflect.Descriptor instead.

func (*ListLabels) GetName

func (x *ListLabels) GetName() []*Values

func (*ListLabels) ProtoMessage

func (*ListLabels) ProtoMessage()

func (*ListLabels) ProtoReflect

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

func (*ListLabels) Reset

func (x *ListLabels) Reset()

func (*ListLabels) String

func (x *ListLabels) String() string

func (*ListLabels) Validate

func (this *ListLabels) Validate() 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"`
	// contains filtered or unexported fields
}

MapFieldEntry allows to pass labels/dimensions in form like {"server": ["db1", "db2"...]}.

func (*MapFieldEntry) Descriptor deprecated

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

Deprecated: Use MapFieldEntry.ProtoReflect.Descriptor instead.

func (*MapFieldEntry) GetKey

func (x *MapFieldEntry) GetKey() string

func (*MapFieldEntry) GetValue

func (x *MapFieldEntry) GetValue() []string

func (*MapFieldEntry) ProtoMessage

func (*MapFieldEntry) ProtoMessage()

func (*MapFieldEntry) ProtoReflect

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

func (*MapFieldEntry) Reset

func (x *MapFieldEntry) Reset()

func (*MapFieldEntry) String

func (x *MapFieldEntry) String() string

func (*MapFieldEntry) Validate

func (this *MapFieldEntry) Validate() error

type Metric

type Metric struct {
	Stats *Stat `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

Metric cell.

func (*Metric) Descriptor deprecated

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

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetStats

func (x *Metric) GetStats() *Stat

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

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

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) String

func (x *Metric) String() string

func (*Metric) Validate

func (this *Metric) Validate() error

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"`
	// contains filtered or unexported fields
}

MetricValues is statistics of specific metric.

func (*MetricValues) Descriptor deprecated

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

Deprecated: Use MetricValues.ProtoReflect.Descriptor instead.

func (*MetricValues) GetAvg

func (x *MetricValues) GetAvg() float32

func (*MetricValues) GetCnt

func (x *MetricValues) GetCnt() float32

func (*MetricValues) GetMax

func (x *MetricValues) GetMax() float32

func (*MetricValues) GetMin

func (x *MetricValues) GetMin() float32

func (*MetricValues) GetP99

func (x *MetricValues) GetP99() float32

func (*MetricValues) GetPercentOfTotal

func (x *MetricValues) GetPercentOfTotal() float32

func (*MetricValues) GetRate

func (x *MetricValues) GetRate() float32

func (*MetricValues) GetSum

func (x *MetricValues) GetSum() float32

func (*MetricValues) ProtoMessage

func (*MetricValues) ProtoMessage()

func (*MetricValues) ProtoReflect

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

func (*MetricValues) Reset

func (x *MetricValues) Reset()

func (*MetricValues) String

func (x *MetricValues) String() string

func (*MetricValues) Validate

func (this *MetricValues) Validate() 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"`
	// Deprecated: should not be used, should be removed.
	//
	// Deprecated: Do not use.
	ExampleFormat ExampleFormat `` /* 133-byte string literal not displayed */
	// Indicates if the query example is 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"`
	MSharedBlksHitCnt float32 `protobuf:"fixed32,200,opt,name=m_shared_blks_hit_cnt,json=mSharedBlksHitCnt,proto3" json:"m_shared_blks_hit_cnt,omitempty"`
	// Total number of shared block cache hits by the statement.
	MSharedBlksHitSum  float32 `protobuf:"fixed32,201,opt,name=m_shared_blks_hit_sum,json=mSharedBlksHitSum,proto3" json:"m_shared_blks_hit_sum,omitempty"`
	MSharedBlksReadCnt float32 `protobuf:"fixed32,202,opt,name=m_shared_blks_read_cnt,json=mSharedBlksReadCnt,proto3" json:"m_shared_blks_read_cnt,omitempty"`
	// Total number of shared blocks read by the statement.
	MSharedBlksReadSum    float32 `protobuf:"fixed32,203,opt,name=m_shared_blks_read_sum,json=mSharedBlksReadSum,proto3" json:"m_shared_blks_read_sum,omitempty"`
	MSharedBlksDirtiedCnt float32 `` /* 134-byte string literal not displayed */
	// Total number of shared blocks dirtied by the statement.
	MSharedBlksDirtiedSum float32 `` /* 134-byte string literal not displayed */
	MSharedBlksWrittenCnt float32 `` /* 134-byte string literal not displayed */
	// Total number of shared blocks written by the statement.
	MSharedBlksWrittenSum float32 `` /* 134-byte string literal not displayed */
	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"`
	MCpuUserTimeCnt  float32 `protobuf:"fixed32,230,opt,name=m_cpu_user_time_cnt,json=mCpuUserTimeCnt,proto3" json:"m_cpu_user_time_cnt,omitempty"`
	// Total time user spent in query.
	MCpuUserTimeSum float32 `protobuf:"fixed32,231,opt,name=m_cpu_user_time_sum,json=mCpuUserTimeSum,proto3" json:"m_cpu_user_time_sum,omitempty"`
	MCpuSysTimeCnt  float32 `protobuf:"fixed32,232,opt,name=m_cpu_sys_time_cnt,json=mCpuSysTimeCnt,proto3" json:"m_cpu_sys_time_cnt,omitempty"`
	// Total time system spent in query.
	MCpuSysTimeSum float32 `protobuf:"fixed32,233,opt,name=m_cpu_sys_time_sum,json=mCpuSysTimeSum,proto3" json:"m_cpu_sys_time_sum,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use MetricsBucket.ProtoReflect.Descriptor instead.

func (*MetricsBucket) GetAgentId

func (x *MetricsBucket) GetAgentId() string

func (*MetricsBucket) GetAgentType

func (x *MetricsBucket) GetAgentType() inventorypb.AgentType

func (*MetricsBucket) GetAz

func (x *MetricsBucket) GetAz() string

func (*MetricsBucket) GetClientHost

func (x *MetricsBucket) GetClientHost() string

func (*MetricsBucket) GetCluster

func (x *MetricsBucket) GetCluster() string

func (*MetricsBucket) GetContainerId

func (x *MetricsBucket) GetContainerId() string

func (*MetricsBucket) GetContainerName

func (x *MetricsBucket) GetContainerName() string

func (*MetricsBucket) GetDatabase

func (x *MetricsBucket) GetDatabase() string

func (*MetricsBucket) GetEnvironment

func (x *MetricsBucket) GetEnvironment() string

func (*MetricsBucket) GetErrors

func (x *MetricsBucket) GetErrors() map[uint64]uint64

func (*MetricsBucket) GetExample

func (x *MetricsBucket) GetExample() string

func (*MetricsBucket) GetExampleFormat deprecated

func (x *MetricsBucket) GetExampleFormat() ExampleFormat

Deprecated: Do not use.

func (*MetricsBucket) GetExampleMetrics

func (x *MetricsBucket) GetExampleMetrics() string

func (*MetricsBucket) GetExampleType

func (x *MetricsBucket) GetExampleType() ExampleType

func (*MetricsBucket) GetFingerprint

func (x *MetricsBucket) GetFingerprint() string

func (*MetricsBucket) GetIsTruncated

func (x *MetricsBucket) GetIsTruncated() bool

func (*MetricsBucket) GetLabels

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

func (*MetricsBucket) GetMBlkReadTimeCnt

func (x *MetricsBucket) GetMBlkReadTimeCnt() float32

func (*MetricsBucket) GetMBlkReadTimeSum

func (x *MetricsBucket) GetMBlkReadTimeSum() float32

func (*MetricsBucket) GetMBlkWriteTimeCnt

func (x *MetricsBucket) GetMBlkWriteTimeCnt() float32

func (*MetricsBucket) GetMBlkWriteTimeSum

func (x *MetricsBucket) GetMBlkWriteTimeSum() float32

func (*MetricsBucket) GetMBytesSentCnt

func (x *MetricsBucket) GetMBytesSentCnt() float32

func (*MetricsBucket) GetMBytesSentMax

func (x *MetricsBucket) GetMBytesSentMax() float32

func (*MetricsBucket) GetMBytesSentMin

func (x *MetricsBucket) GetMBytesSentMin() float32

func (*MetricsBucket) GetMBytesSentP99

func (x *MetricsBucket) GetMBytesSentP99() float32

func (*MetricsBucket) GetMBytesSentSum

func (x *MetricsBucket) GetMBytesSentSum() float32

func (*MetricsBucket) GetMCpuSysTimeCnt

func (x *MetricsBucket) GetMCpuSysTimeCnt() float32

func (*MetricsBucket) GetMCpuSysTimeSum

func (x *MetricsBucket) GetMCpuSysTimeSum() float32

func (*MetricsBucket) GetMCpuUserTimeCnt

func (x *MetricsBucket) GetMCpuUserTimeCnt() float32

func (*MetricsBucket) GetMCpuUserTimeSum

func (x *MetricsBucket) GetMCpuUserTimeSum() float32

func (*MetricsBucket) GetMDocsReturnedCnt

func (x *MetricsBucket) GetMDocsReturnedCnt() float32

func (*MetricsBucket) GetMDocsReturnedMax

func (x *MetricsBucket) GetMDocsReturnedMax() float32

func (*MetricsBucket) GetMDocsReturnedMin

func (x *MetricsBucket) GetMDocsReturnedMin() float32

func (*MetricsBucket) GetMDocsReturnedP99

func (x *MetricsBucket) GetMDocsReturnedP99() float32

func (*MetricsBucket) GetMDocsReturnedSum

func (x *MetricsBucket) GetMDocsReturnedSum() float32

func (*MetricsBucket) GetMDocsScannedCnt

func (x *MetricsBucket) GetMDocsScannedCnt() float32

func (*MetricsBucket) GetMDocsScannedMax

func (x *MetricsBucket) GetMDocsScannedMax() float32

func (*MetricsBucket) GetMDocsScannedMin

func (x *MetricsBucket) GetMDocsScannedMin() float32

func (*MetricsBucket) GetMDocsScannedP99

func (x *MetricsBucket) GetMDocsScannedP99() float32

func (*MetricsBucket) GetMDocsScannedSum

func (x *MetricsBucket) GetMDocsScannedSum() float32

func (*MetricsBucket) GetMFilesortCnt

func (x *MetricsBucket) GetMFilesortCnt() float32

func (*MetricsBucket) GetMFilesortOnDiskCnt

func (x *MetricsBucket) GetMFilesortOnDiskCnt() float32

func (*MetricsBucket) GetMFilesortOnDiskSum

func (x *MetricsBucket) GetMFilesortOnDiskSum() float32

func (*MetricsBucket) GetMFilesortSum

func (x *MetricsBucket) GetMFilesortSum() float32

func (*MetricsBucket) GetMFullJoinCnt

func (x *MetricsBucket) GetMFullJoinCnt() float32

func (*MetricsBucket) GetMFullJoinSum

func (x *MetricsBucket) GetMFullJoinSum() float32

func (*MetricsBucket) GetMFullScanCnt

func (x *MetricsBucket) GetMFullScanCnt() float32

func (*MetricsBucket) GetMFullScanSum

func (x *MetricsBucket) GetMFullScanSum() float32

func (*MetricsBucket) GetMInnodbIoRBytesCnt

func (x *MetricsBucket) GetMInnodbIoRBytesCnt() float32

func (*MetricsBucket) GetMInnodbIoRBytesMax

func (x *MetricsBucket) GetMInnodbIoRBytesMax() float32

func (*MetricsBucket) GetMInnodbIoRBytesMin

func (x *MetricsBucket) GetMInnodbIoRBytesMin() float32

func (*MetricsBucket) GetMInnodbIoRBytesP99

func (x *MetricsBucket) GetMInnodbIoRBytesP99() float32

func (*MetricsBucket) GetMInnodbIoRBytesSum

func (x *MetricsBucket) GetMInnodbIoRBytesSum() float32

func (*MetricsBucket) GetMInnodbIoROpsCnt

func (x *MetricsBucket) GetMInnodbIoROpsCnt() float32

func (*MetricsBucket) GetMInnodbIoROpsMax

func (x *MetricsBucket) GetMInnodbIoROpsMax() float32

func (*MetricsBucket) GetMInnodbIoROpsMin

func (x *MetricsBucket) GetMInnodbIoROpsMin() float32

func (*MetricsBucket) GetMInnodbIoROpsP99

func (x *MetricsBucket) GetMInnodbIoROpsP99() float32

func (*MetricsBucket) GetMInnodbIoROpsSum

func (x *MetricsBucket) GetMInnodbIoROpsSum() float32

func (*MetricsBucket) GetMInnodbIoRWaitCnt

func (x *MetricsBucket) GetMInnodbIoRWaitCnt() float32

func (*MetricsBucket) GetMInnodbIoRWaitMax

func (x *MetricsBucket) GetMInnodbIoRWaitMax() float32

func (*MetricsBucket) GetMInnodbIoRWaitMin

func (x *MetricsBucket) GetMInnodbIoRWaitMin() float32

func (*MetricsBucket) GetMInnodbIoRWaitP99

func (x *MetricsBucket) GetMInnodbIoRWaitP99() float32

func (*MetricsBucket) GetMInnodbIoRWaitSum

func (x *MetricsBucket) GetMInnodbIoRWaitSum() float32

func (*MetricsBucket) GetMInnodbPagesDistinctCnt

func (x *MetricsBucket) GetMInnodbPagesDistinctCnt() float32

func (*MetricsBucket) GetMInnodbPagesDistinctMax

func (x *MetricsBucket) GetMInnodbPagesDistinctMax() float32

func (*MetricsBucket) GetMInnodbPagesDistinctMin

func (x *MetricsBucket) GetMInnodbPagesDistinctMin() float32

func (*MetricsBucket) GetMInnodbPagesDistinctP99

func (x *MetricsBucket) GetMInnodbPagesDistinctP99() float32

func (*MetricsBucket) GetMInnodbPagesDistinctSum

func (x *MetricsBucket) GetMInnodbPagesDistinctSum() float32

func (*MetricsBucket) GetMInnodbQueueWaitCnt

func (x *MetricsBucket) GetMInnodbQueueWaitCnt() float32

func (*MetricsBucket) GetMInnodbQueueWaitMax

func (x *MetricsBucket) GetMInnodbQueueWaitMax() float32

func (*MetricsBucket) GetMInnodbQueueWaitMin

func (x *MetricsBucket) GetMInnodbQueueWaitMin() float32

func (*MetricsBucket) GetMInnodbQueueWaitP99

func (x *MetricsBucket) GetMInnodbQueueWaitP99() float32

func (*MetricsBucket) GetMInnodbQueueWaitSum

func (x *MetricsBucket) GetMInnodbQueueWaitSum() float32

func (*MetricsBucket) GetMInnodbRecLockWaitCnt

func (x *MetricsBucket) GetMInnodbRecLockWaitCnt() float32

func (*MetricsBucket) GetMInnodbRecLockWaitMax

func (x *MetricsBucket) GetMInnodbRecLockWaitMax() float32

func (*MetricsBucket) GetMInnodbRecLockWaitMin

func (x *MetricsBucket) GetMInnodbRecLockWaitMin() float32

func (*MetricsBucket) GetMInnodbRecLockWaitP99

func (x *MetricsBucket) GetMInnodbRecLockWaitP99() float32

func (*MetricsBucket) GetMInnodbRecLockWaitSum

func (x *MetricsBucket) GetMInnodbRecLockWaitSum() float32

func (*MetricsBucket) GetMLocalBlksDirtiedCnt

func (x *MetricsBucket) GetMLocalBlksDirtiedCnt() float32

func (*MetricsBucket) GetMLocalBlksDirtiedSum

func (x *MetricsBucket) GetMLocalBlksDirtiedSum() float32

func (*MetricsBucket) GetMLocalBlksHitCnt

func (x *MetricsBucket) GetMLocalBlksHitCnt() float32

func (*MetricsBucket) GetMLocalBlksHitSum

func (x *MetricsBucket) GetMLocalBlksHitSum() float32

func (*MetricsBucket) GetMLocalBlksReadCnt

func (x *MetricsBucket) GetMLocalBlksReadCnt() float32

func (*MetricsBucket) GetMLocalBlksReadSum

func (x *MetricsBucket) GetMLocalBlksReadSum() float32

func (*MetricsBucket) GetMLocalBlksWrittenCnt

func (x *MetricsBucket) GetMLocalBlksWrittenCnt() float32

func (*MetricsBucket) GetMLocalBlksWrittenSum

func (x *MetricsBucket) GetMLocalBlksWrittenSum() float32

func (*MetricsBucket) GetMLockTimeCnt

func (x *MetricsBucket) GetMLockTimeCnt() float32

func (*MetricsBucket) GetMLockTimeMax

func (x *MetricsBucket) GetMLockTimeMax() float32

func (*MetricsBucket) GetMLockTimeMin

func (x *MetricsBucket) GetMLockTimeMin() float32

func (*MetricsBucket) GetMLockTimeP99

func (x *MetricsBucket) GetMLockTimeP99() float32

func (*MetricsBucket) GetMLockTimeSum

func (x *MetricsBucket) GetMLockTimeSum() float32

func (*MetricsBucket) GetMMergePassesCnt

func (x *MetricsBucket) GetMMergePassesCnt() float32

func (*MetricsBucket) GetMMergePassesMax

func (x *MetricsBucket) GetMMergePassesMax() float32

func (*MetricsBucket) GetMMergePassesMin

func (x *MetricsBucket) GetMMergePassesMin() float32

func (*MetricsBucket) GetMMergePassesP99

func (x *MetricsBucket) GetMMergePassesP99() float32

func (*MetricsBucket) GetMMergePassesSum

func (x *MetricsBucket) GetMMergePassesSum() float32

func (*MetricsBucket) GetMNoGoodIndexUsedCnt

func (x *MetricsBucket) GetMNoGoodIndexUsedCnt() float32

func (*MetricsBucket) GetMNoGoodIndexUsedSum

func (x *MetricsBucket) GetMNoGoodIndexUsedSum() float32

func (*MetricsBucket) GetMNoIndexUsedCnt

func (x *MetricsBucket) GetMNoIndexUsedCnt() float32

func (*MetricsBucket) GetMNoIndexUsedSum

func (x *MetricsBucket) GetMNoIndexUsedSum() float32

func (*MetricsBucket) GetMQcHitCnt

func (x *MetricsBucket) GetMQcHitCnt() float32

func (*MetricsBucket) GetMQcHitSum

func (x *MetricsBucket) GetMQcHitSum() float32

func (*MetricsBucket) GetMQueryLengthCnt

func (x *MetricsBucket) GetMQueryLengthCnt() float32

func (*MetricsBucket) GetMQueryLengthMax

func (x *MetricsBucket) GetMQueryLengthMax() float32

func (*MetricsBucket) GetMQueryLengthMin

func (x *MetricsBucket) GetMQueryLengthMin() float32

func (*MetricsBucket) GetMQueryLengthP99

func (x *MetricsBucket) GetMQueryLengthP99() float32

func (*MetricsBucket) GetMQueryLengthSum

func (x *MetricsBucket) GetMQueryLengthSum() float32

func (*MetricsBucket) GetMQueryTimeCnt

func (x *MetricsBucket) GetMQueryTimeCnt() float32

func (*MetricsBucket) GetMQueryTimeMax

func (x *MetricsBucket) GetMQueryTimeMax() float32

func (*MetricsBucket) GetMQueryTimeMin

func (x *MetricsBucket) GetMQueryTimeMin() float32

func (*MetricsBucket) GetMQueryTimeP99

func (x *MetricsBucket) GetMQueryTimeP99() float32

func (*MetricsBucket) GetMQueryTimeSum

func (x *MetricsBucket) GetMQueryTimeSum() float32

func (*MetricsBucket) GetMResponseLengthCnt

func (x *MetricsBucket) GetMResponseLengthCnt() float32

func (*MetricsBucket) GetMResponseLengthMax

func (x *MetricsBucket) GetMResponseLengthMax() float32

func (*MetricsBucket) GetMResponseLengthMin

func (x *MetricsBucket) GetMResponseLengthMin() float32

func (*MetricsBucket) GetMResponseLengthP99

func (x *MetricsBucket) GetMResponseLengthP99() float32

func (*MetricsBucket) GetMResponseLengthSum

func (x *MetricsBucket) GetMResponseLengthSum() float32

func (*MetricsBucket) GetMRowsAffectedCnt

func (x *MetricsBucket) GetMRowsAffectedCnt() float32

func (*MetricsBucket) GetMRowsAffectedMax

func (x *MetricsBucket) GetMRowsAffectedMax() float32

func (*MetricsBucket) GetMRowsAffectedMin

func (x *MetricsBucket) GetMRowsAffectedMin() float32

func (*MetricsBucket) GetMRowsAffectedP99

func (x *MetricsBucket) GetMRowsAffectedP99() float32

func (*MetricsBucket) GetMRowsAffectedSum

func (x *MetricsBucket) GetMRowsAffectedSum() float32

func (*MetricsBucket) GetMRowsExaminedCnt

func (x *MetricsBucket) GetMRowsExaminedCnt() float32

func (*MetricsBucket) GetMRowsExaminedMax

func (x *MetricsBucket) GetMRowsExaminedMax() float32

func (*MetricsBucket) GetMRowsExaminedMin

func (x *MetricsBucket) GetMRowsExaminedMin() float32

func (*MetricsBucket) GetMRowsExaminedP99

func (x *MetricsBucket) GetMRowsExaminedP99() float32

func (*MetricsBucket) GetMRowsExaminedSum

func (x *MetricsBucket) GetMRowsExaminedSum() float32

func (*MetricsBucket) GetMRowsReadCnt

func (x *MetricsBucket) GetMRowsReadCnt() float32

func (*MetricsBucket) GetMRowsReadMax

func (x *MetricsBucket) GetMRowsReadMax() float32

func (*MetricsBucket) GetMRowsReadMin

func (x *MetricsBucket) GetMRowsReadMin() float32

func (*MetricsBucket) GetMRowsReadP99

func (x *MetricsBucket) GetMRowsReadP99() float32

func (*MetricsBucket) GetMRowsReadSum

func (x *MetricsBucket) GetMRowsReadSum() float32

func (*MetricsBucket) GetMRowsSentCnt

func (x *MetricsBucket) GetMRowsSentCnt() float32

func (*MetricsBucket) GetMRowsSentMax

func (x *MetricsBucket) GetMRowsSentMax() float32

func (*MetricsBucket) GetMRowsSentMin

func (x *MetricsBucket) GetMRowsSentMin() float32

func (*MetricsBucket) GetMRowsSentP99

func (x *MetricsBucket) GetMRowsSentP99() float32

func (*MetricsBucket) GetMRowsSentSum

func (x *MetricsBucket) GetMRowsSentSum() float32

func (*MetricsBucket) GetMSelectFullRangeJoinCnt

func (x *MetricsBucket) GetMSelectFullRangeJoinCnt() float32

func (*MetricsBucket) GetMSelectFullRangeJoinSum

func (x *MetricsBucket) GetMSelectFullRangeJoinSum() float32

func (*MetricsBucket) GetMSelectRangeCheckCnt

func (x *MetricsBucket) GetMSelectRangeCheckCnt() float32

func (*MetricsBucket) GetMSelectRangeCheckSum

func (x *MetricsBucket) GetMSelectRangeCheckSum() float32

func (*MetricsBucket) GetMSelectRangeCnt

func (x *MetricsBucket) GetMSelectRangeCnt() float32

func (*MetricsBucket) GetMSelectRangeSum

func (x *MetricsBucket) GetMSelectRangeSum() float32

func (*MetricsBucket) GetMSharedBlksDirtiedCnt

func (x *MetricsBucket) GetMSharedBlksDirtiedCnt() float32

func (*MetricsBucket) GetMSharedBlksDirtiedSum

func (x *MetricsBucket) GetMSharedBlksDirtiedSum() float32

func (*MetricsBucket) GetMSharedBlksHitCnt

func (x *MetricsBucket) GetMSharedBlksHitCnt() float32

func (*MetricsBucket) GetMSharedBlksHitSum

func (x *MetricsBucket) GetMSharedBlksHitSum() float32

func (*MetricsBucket) GetMSharedBlksReadCnt

func (x *MetricsBucket) GetMSharedBlksReadCnt() float32

func (*MetricsBucket) GetMSharedBlksReadSum

func (x *MetricsBucket) GetMSharedBlksReadSum() float32

func (*MetricsBucket) GetMSharedBlksWrittenCnt

func (x *MetricsBucket) GetMSharedBlksWrittenCnt() float32

func (*MetricsBucket) GetMSharedBlksWrittenSum

func (x *MetricsBucket) GetMSharedBlksWrittenSum() float32

func (*MetricsBucket) GetMSortRangeCnt

func (x *MetricsBucket) GetMSortRangeCnt() float32

func (*MetricsBucket) GetMSortRangeSum

func (x *MetricsBucket) GetMSortRangeSum() float32

func (*MetricsBucket) GetMSortRowsCnt

func (x *MetricsBucket) GetMSortRowsCnt() float32

func (*MetricsBucket) GetMSortRowsSum

func (x *MetricsBucket) GetMSortRowsSum() float32

func (*MetricsBucket) GetMSortScanCnt

func (x *MetricsBucket) GetMSortScanCnt() float32

func (*MetricsBucket) GetMSortScanSum

func (x *MetricsBucket) GetMSortScanSum() float32

func (*MetricsBucket) GetMTempBlksReadCnt

func (x *MetricsBucket) GetMTempBlksReadCnt() float32

func (*MetricsBucket) GetMTempBlksReadSum

func (x *MetricsBucket) GetMTempBlksReadSum() float32

func (*MetricsBucket) GetMTempBlksWrittenCnt

func (x *MetricsBucket) GetMTempBlksWrittenCnt() float32

func (*MetricsBucket) GetMTempBlksWrittenSum

func (x *MetricsBucket) GetMTempBlksWrittenSum() float32

func (*MetricsBucket) GetMTmpDiskTablesCnt

func (x *MetricsBucket) GetMTmpDiskTablesCnt() float32

func (*MetricsBucket) GetMTmpDiskTablesMax

func (x *MetricsBucket) GetMTmpDiskTablesMax() float32

func (*MetricsBucket) GetMTmpDiskTablesMin

func (x *MetricsBucket) GetMTmpDiskTablesMin() float32

func (*MetricsBucket) GetMTmpDiskTablesP99

func (x *MetricsBucket) GetMTmpDiskTablesP99() float32

func (*MetricsBucket) GetMTmpDiskTablesSum

func (x *MetricsBucket) GetMTmpDiskTablesSum() float32

func (*MetricsBucket) GetMTmpTableCnt

func (x *MetricsBucket) GetMTmpTableCnt() float32

func (*MetricsBucket) GetMTmpTableOnDiskCnt

func (x *MetricsBucket) GetMTmpTableOnDiskCnt() float32

func (*MetricsBucket) GetMTmpTableOnDiskSum

func (x *MetricsBucket) GetMTmpTableOnDiskSum() float32

func (*MetricsBucket) GetMTmpTableSizesCnt

func (x *MetricsBucket) GetMTmpTableSizesCnt() float32

func (*MetricsBucket) GetMTmpTableSizesMax

func (x *MetricsBucket) GetMTmpTableSizesMax() float32

func (*MetricsBucket) GetMTmpTableSizesMin

func (x *MetricsBucket) GetMTmpTableSizesMin() float32

func (*MetricsBucket) GetMTmpTableSizesP99

func (x *MetricsBucket) GetMTmpTableSizesP99() float32

func (*MetricsBucket) GetMTmpTableSizesSum

func (x *MetricsBucket) GetMTmpTableSizesSum() float32

func (*MetricsBucket) GetMTmpTableSum

func (x *MetricsBucket) GetMTmpTableSum() float32

func (*MetricsBucket) GetMTmpTablesCnt

func (x *MetricsBucket) GetMTmpTablesCnt() float32

func (*MetricsBucket) GetMTmpTablesMax

func (x *MetricsBucket) GetMTmpTablesMax() float32

func (*MetricsBucket) GetMTmpTablesMin

func (x *MetricsBucket) GetMTmpTablesMin() float32

func (*MetricsBucket) GetMTmpTablesP99

func (x *MetricsBucket) GetMTmpTablesP99() float32

func (*MetricsBucket) GetMTmpTablesSum

func (x *MetricsBucket) GetMTmpTablesSum() float32

func (*MetricsBucket) GetMachineId

func (x *MetricsBucket) GetMachineId() string

func (*MetricsBucket) GetNodeId

func (x *MetricsBucket) GetNodeId() string

func (*MetricsBucket) GetNodeModel

func (x *MetricsBucket) GetNodeModel() string

func (*MetricsBucket) GetNodeName

func (x *MetricsBucket) GetNodeName() string

func (*MetricsBucket) GetNodeType

func (x *MetricsBucket) GetNodeType() string

func (*MetricsBucket) GetNumQueries

func (x *MetricsBucket) GetNumQueries() float32

func (*MetricsBucket) GetNumQueriesWithErrors

func (x *MetricsBucket) GetNumQueriesWithErrors() float32

func (*MetricsBucket) GetNumQueriesWithWarnings

func (x *MetricsBucket) GetNumQueriesWithWarnings() float32

func (*MetricsBucket) GetPeriodLengthSecs

func (x *MetricsBucket) GetPeriodLengthSecs() uint32

func (*MetricsBucket) GetPeriodStartUnixSecs

func (x *MetricsBucket) GetPeriodStartUnixSecs() uint32

func (*MetricsBucket) GetQueryid

func (x *MetricsBucket) GetQueryid() string

func (*MetricsBucket) GetRegion

func (x *MetricsBucket) GetRegion() string

func (*MetricsBucket) GetReplicationSet

func (x *MetricsBucket) GetReplicationSet() string

func (*MetricsBucket) GetSchema

func (x *MetricsBucket) GetSchema() string

func (*MetricsBucket) GetServiceId

func (x *MetricsBucket) GetServiceId() string

func (*MetricsBucket) GetServiceName

func (x *MetricsBucket) GetServiceName() string

func (*MetricsBucket) GetServiceType

func (x *MetricsBucket) GetServiceType() string

func (*MetricsBucket) GetTables

func (x *MetricsBucket) GetTables() []string

func (*MetricsBucket) GetUsername

func (x *MetricsBucket) GetUsername() string

func (*MetricsBucket) GetWarnings

func (x *MetricsBucket) GetWarnings() map[uint64]uint64

func (*MetricsBucket) ProtoMessage

func (*MetricsBucket) ProtoMessage()

func (*MetricsBucket) ProtoReflect

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

func (*MetricsBucket) Reset

func (x *MetricsBucket) Reset()

func (*MetricsBucket) String

func (x *MetricsBucket) String() string

func (*MetricsBucket) Validate

func (this *MetricsBucket) Validate() 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.

type MetricsNamesReply

type MetricsNamesReply struct {
	Data map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use MetricsNamesReply.ProtoReflect.Descriptor instead.

func (*MetricsNamesReply) GetData

func (x *MetricsNamesReply) GetData() map[string]string

func (*MetricsNamesReply) ProtoMessage

func (*MetricsNamesReply) ProtoMessage()

func (*MetricsNamesReply) ProtoReflect

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

func (*MetricsNamesReply) Reset

func (x *MetricsNamesReply) Reset()

func (*MetricsNamesReply) String

func (x *MetricsNamesReply) String() string

func (*MetricsNamesReply) Validate

func (this *MetricsNamesReply) Validate() error

type MetricsNamesRequest

type MetricsNamesRequest struct {
	// contains filtered or unexported fields
}

MetricsNamesRequest is emty.

func (*MetricsNamesRequest) Descriptor deprecated

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

Deprecated: Use MetricsNamesRequest.ProtoReflect.Descriptor instead.

func (*MetricsNamesRequest) ProtoMessage

func (*MetricsNamesRequest) ProtoMessage()

func (*MetricsNamesRequest) ProtoReflect

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

func (*MetricsNamesRequest) Reset

func (x *MetricsNamesRequest) Reset()

func (*MetricsNamesRequest) String

func (x *MetricsNamesRequest) String() string

func (*MetricsNamesRequest) Validate

func (this *MetricsNamesRequest) Validate() 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"`
	// contains filtered or unexported fields
}

MetricsReply defines metrics for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.

func (*MetricsReply) Descriptor deprecated

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

Deprecated: Use MetricsReply.ProtoReflect.Descriptor instead.

func (*MetricsReply) GetFingerprint

func (x *MetricsReply) GetFingerprint() string

func (*MetricsReply) GetMetrics

func (x *MetricsReply) GetMetrics() map[string]*MetricValues

func (*MetricsReply) GetSparkline

func (x *MetricsReply) GetSparkline() []*Point

func (*MetricsReply) GetTotals

func (x *MetricsReply) GetTotals() map[string]*MetricValues

func (*MetricsReply) ProtoMessage

func (*MetricsReply) ProtoMessage()

func (*MetricsReply) ProtoReflect

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

func (*MetricsReply) Reset

func (x *MetricsReply) Reset()

func (*MetricsReply) String

func (x *MetricsReply) String() string

func (*MetricsReply) Validate

func (this *MetricsReply) Validate() 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"`
	// contains filtered or unexported fields
}

MetricsRequest defines filtering of metrics for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.

func (*MetricsRequest) Descriptor deprecated

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

Deprecated: Use MetricsRequest.ProtoReflect.Descriptor instead.

func (*MetricsRequest) GetFilterBy

func (x *MetricsRequest) GetFilterBy() string

func (*MetricsRequest) GetGroupBy

func (x *MetricsRequest) GetGroupBy() string

func (*MetricsRequest) GetIncludeOnlyFields

func (x *MetricsRequest) GetIncludeOnlyFields() []string

func (*MetricsRequest) GetLabels

func (x *MetricsRequest) GetLabels() []*MapFieldEntry

func (*MetricsRequest) GetPeriodStartFrom

func (x *MetricsRequest) GetPeriodStartFrom() *timestamp.Timestamp

func (*MetricsRequest) GetPeriodStartTo

func (x *MetricsRequest) GetPeriodStartTo() *timestamp.Timestamp

func (*MetricsRequest) GetTotals

func (x *MetricsRequest) GetTotals() bool

func (*MetricsRequest) ProtoMessage

func (*MetricsRequest) ProtoMessage()

func (*MetricsRequest) ProtoReflect

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

func (*MetricsRequest) Reset

func (x *MetricsRequest) Reset()

func (*MetricsRequest) String

func (x *MetricsRequest) String() string

func (*MetricsRequest) Validate

func (this *MetricsRequest) Validate() 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.

type ObjectDetailsLabelsReply

type ObjectDetailsLabelsReply struct {
	Labels map[string]*ListLabelValues `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

ObjectDetailsLabelsReply is a map of labels names as keys and labels values as a list.

func (*ObjectDetailsLabelsReply) Descriptor deprecated

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

Deprecated: Use ObjectDetailsLabelsReply.ProtoReflect.Descriptor instead.

func (*ObjectDetailsLabelsReply) GetLabels

func (x *ObjectDetailsLabelsReply) GetLabels() map[string]*ListLabelValues

func (*ObjectDetailsLabelsReply) ProtoMessage

func (*ObjectDetailsLabelsReply) ProtoMessage()

func (*ObjectDetailsLabelsReply) ProtoReflect

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

func (*ObjectDetailsLabelsReply) Reset

func (x *ObjectDetailsLabelsReply) Reset()

func (*ObjectDetailsLabelsReply) String

func (x *ObjectDetailsLabelsReply) String() string

func (*ObjectDetailsLabelsReply) Validate

func (this *ObjectDetailsLabelsReply) Validate() 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"`
	// contains filtered or unexported fields
}

ObjectDetailsLabelsRequest defines filtering of object detail's labels for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.

func (*ObjectDetailsLabelsRequest) Descriptor deprecated

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

Deprecated: Use ObjectDetailsLabelsRequest.ProtoReflect.Descriptor instead.

func (*ObjectDetailsLabelsRequest) GetFilterBy

func (x *ObjectDetailsLabelsRequest) GetFilterBy() string

func (*ObjectDetailsLabelsRequest) GetGroupBy

func (x *ObjectDetailsLabelsRequest) GetGroupBy() string

func (*ObjectDetailsLabelsRequest) GetPeriodStartFrom

func (x *ObjectDetailsLabelsRequest) GetPeriodStartFrom() *timestamp.Timestamp

func (*ObjectDetailsLabelsRequest) GetPeriodStartTo

func (x *ObjectDetailsLabelsRequest) GetPeriodStartTo() *timestamp.Timestamp

func (*ObjectDetailsLabelsRequest) ProtoMessage

func (*ObjectDetailsLabelsRequest) ProtoMessage()

func (*ObjectDetailsLabelsRequest) ProtoReflect

func (*ObjectDetailsLabelsRequest) Reset

func (x *ObjectDetailsLabelsRequest) Reset()

func (*ObjectDetailsLabelsRequest) String

func (x *ObjectDetailsLabelsRequest) String() string

func (*ObjectDetailsLabelsRequest) Validate

func (this *ObjectDetailsLabelsRequest) Validate() 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 */
	// Total number of shared blocks read by the statement.
	MSharedBlksReadSumPerSec float32 `` /* 146-byte string literal not displayed */
	// Total number of shared blocks dirtied by the statement.
	MSharedBlksDirtiedSumPerSec float32 `` /* 155-byte string literal not displayed */
	// Total number of shared blocks written by the statement.
	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 */
	// Total time user spent in query.
	MCpuUserTimeSumPerSec float32 `` /* 137-byte string literal not displayed */
	// Total time system spent in query.
	MCpuSysTimeSumPerSec float32 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Point contains values that represents abscissa (time) and ordinate (volume etc.) of every point in a coordinate system of Sparklines.

func (*Point) Descriptor deprecated

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

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetLoad

func (x *Point) GetLoad() float32

func (*Point) GetMBlkReadTimeSumPerSec

func (x *Point) GetMBlkReadTimeSumPerSec() float32

func (*Point) GetMBlkWriteTimeSumPerSec

func (x *Point) GetMBlkWriteTimeSumPerSec() float32

func (*Point) GetMBytesSentSumPerSec

func (x *Point) GetMBytesSentSumPerSec() float32

func (*Point) GetMCpuSysTimeSumPerSec

func (x *Point) GetMCpuSysTimeSumPerSec() float32

func (*Point) GetMCpuUserTimeSumPerSec

func (x *Point) GetMCpuUserTimeSumPerSec() float32

func (*Point) GetMDocsReturnedSumPerSec

func (x *Point) GetMDocsReturnedSumPerSec() float32

func (*Point) GetMDocsScannedSumPerSec

func (x *Point) GetMDocsScannedSumPerSec() float32

func (*Point) GetMFilesortOnDiskSumPerSec

func (x *Point) GetMFilesortOnDiskSumPerSec() float32

func (*Point) GetMFilesortSumPerSec

func (x *Point) GetMFilesortSumPerSec() float32

func (*Point) GetMFullJoinSumPerSec

func (x *Point) GetMFullJoinSumPerSec() float32

func (*Point) GetMFullScanSumPerSec

func (x *Point) GetMFullScanSumPerSec() float32

func (*Point) GetMInnodbIoRBytesSumPerSec

func (x *Point) GetMInnodbIoRBytesSumPerSec() float32

func (*Point) GetMInnodbIoROpsSumPerSec

func (x *Point) GetMInnodbIoROpsSumPerSec() float32

func (*Point) GetMInnodbIoRWaitSumPerSec

func (x *Point) GetMInnodbIoRWaitSumPerSec() float32

func (*Point) GetMInnodbPagesDistinctSumPerSec

func (x *Point) GetMInnodbPagesDistinctSumPerSec() float32

func (*Point) GetMInnodbQueueWaitSumPerSec

func (x *Point) GetMInnodbQueueWaitSumPerSec() float32

func (*Point) GetMInnodbRecLockWaitSumPerSec

func (x *Point) GetMInnodbRecLockWaitSumPerSec() float32

func (*Point) GetMLocalBlksDirtiedSumPerSec

func (x *Point) GetMLocalBlksDirtiedSumPerSec() float32

func (*Point) GetMLocalBlksHitSumPerSec

func (x *Point) GetMLocalBlksHitSumPerSec() float32

func (*Point) GetMLocalBlksReadSumPerSec

func (x *Point) GetMLocalBlksReadSumPerSec() float32

func (*Point) GetMLocalBlksWrittenSumPerSec

func (x *Point) GetMLocalBlksWrittenSumPerSec() float32

func (*Point) GetMLockTimeSumPerSec

func (x *Point) GetMLockTimeSumPerSec() float32

func (*Point) GetMMergePassesSumPerSec

func (x *Point) GetMMergePassesSumPerSec() float32

func (*Point) GetMNoGoodIndexUsedSumPerSec

func (x *Point) GetMNoGoodIndexUsedSumPerSec() float32

func (*Point) GetMNoIndexUsedSumPerSec

func (x *Point) GetMNoIndexUsedSumPerSec() float32

func (*Point) GetMQcHitSumPerSec

func (x *Point) GetMQcHitSumPerSec() float32

func (*Point) GetMQueryLengthSumPerSec

func (x *Point) GetMQueryLengthSumPerSec() float32

func (*Point) GetMQueryTimeSumPerSec

func (x *Point) GetMQueryTimeSumPerSec() float32

func (*Point) GetMResponseLengthSumPerSec

func (x *Point) GetMResponseLengthSumPerSec() float32

func (*Point) GetMRowsAffectedSumPerSec

func (x *Point) GetMRowsAffectedSumPerSec() float32

func (*Point) GetMRowsExaminedSumPerSec

func (x *Point) GetMRowsExaminedSumPerSec() float32

func (*Point) GetMRowsReadSumPerSec

func (x *Point) GetMRowsReadSumPerSec() float32

func (*Point) GetMRowsSentSumPerSec

func (x *Point) GetMRowsSentSumPerSec() float32

func (*Point) GetMSelectFullRangeJoinSumPerSec

func (x *Point) GetMSelectFullRangeJoinSumPerSec() float32

func (*Point) GetMSelectRangeCheckSumPerSec

func (x *Point) GetMSelectRangeCheckSumPerSec() float32

func (*Point) GetMSelectRangeSumPerSec

func (x *Point) GetMSelectRangeSumPerSec() float32

func (*Point) GetMSharedBlksDirtiedSumPerSec

func (x *Point) GetMSharedBlksDirtiedSumPerSec() float32

func (*Point) GetMSharedBlksHitSumPerSec

func (x *Point) GetMSharedBlksHitSumPerSec() float32

func (*Point) GetMSharedBlksReadSumPerSec

func (x *Point) GetMSharedBlksReadSumPerSec() float32

func (*Point) GetMSharedBlksWrittenSumPerSec

func (x *Point) GetMSharedBlksWrittenSumPerSec() float32

func (*Point) GetMSortRangeSumPerSec

func (x *Point) GetMSortRangeSumPerSec() float32

func (*Point) GetMSortRowsSumPerSec

func (x *Point) GetMSortRowsSumPerSec() float32

func (*Point) GetMSortScanSumPerSec

func (x *Point) GetMSortScanSumPerSec() float32

func (*Point) GetMTempBlksReadSumPerSec

func (x *Point) GetMTempBlksReadSumPerSec() float32

func (*Point) GetMTempBlksWrittenSumPerSec

func (x *Point) GetMTempBlksWrittenSumPerSec() float32

func (*Point) GetMTmpDiskTablesSumPerSec

func (x *Point) GetMTmpDiskTablesSumPerSec() float32

func (*Point) GetMTmpTableOnDiskSumPerSec

func (x *Point) GetMTmpTableOnDiskSumPerSec() float32

func (*Point) GetMTmpTableSizesSumPerSec

func (x *Point) GetMTmpTableSizesSumPerSec() float32

func (*Point) GetMTmpTableSumPerSec

func (x *Point) GetMTmpTableSumPerSec() float32

func (*Point) GetMTmpTablesSumPerSec

func (x *Point) GetMTmpTablesSumPerSec() float32

func (*Point) GetNumQueriesPerSec

func (x *Point) GetNumQueriesPerSec() float32

func (*Point) GetNumQueriesWithErrorsPerSec

func (x *Point) GetNumQueriesWithErrorsPerSec() float32

func (*Point) GetNumQueriesWithWarningsPerSec

func (x *Point) GetNumQueriesWithWarningsPerSec() float32

func (*Point) GetPoint

func (x *Point) GetPoint() uint32

func (*Point) GetTimeFrame

func (x *Point) GetTimeFrame() uint32

func (*Point) GetTimestamp

func (x *Point) GetTimestamp() string

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

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

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

func (*Point) Validate

func (this *Point) Validate() error

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"`
	// Deprecated: should not be used, should be removed.
	//
	// Deprecated: Do not use.
	ExampleFormat  ExampleFormat `` /* 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"`
	// contains filtered or unexported fields
}

QueryExample shows query examples and their metrics.

func (*QueryExample) Descriptor deprecated

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

Deprecated: Use QueryExample.ProtoReflect.Descriptor instead.

func (*QueryExample) GetExample

func (x *QueryExample) GetExample() string

func (*QueryExample) GetExampleFormat deprecated

func (x *QueryExample) GetExampleFormat() ExampleFormat

Deprecated: Do not use.

func (*QueryExample) GetExampleMetrics

func (x *QueryExample) GetExampleMetrics() string

func (*QueryExample) GetExampleType

func (x *QueryExample) GetExampleType() ExampleType

func (*QueryExample) GetIsTruncated

func (x *QueryExample) GetIsTruncated() uint32

func (*QueryExample) GetSchema

func (x *QueryExample) GetSchema() string

func (*QueryExample) GetServiceId

func (x *QueryExample) GetServiceId() string

func (*QueryExample) GetServiceType

func (x *QueryExample) GetServiceType() string

func (*QueryExample) GetTables

func (x *QueryExample) GetTables() []string

func (*QueryExample) ProtoMessage

func (*QueryExample) ProtoMessage()

func (*QueryExample) ProtoReflect

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

func (*QueryExample) Reset

func (x *QueryExample) Reset()

func (*QueryExample) String

func (x *QueryExample) String() string

func (*QueryExample) Validate

func (this *QueryExample) Validate() error

type QueryExampleReply

type QueryExampleReply struct {
	QueryExamples []*QueryExample `protobuf:"bytes,1,rep,name=query_examples,json=queryExamples,proto3" json:"query_examples,omitempty"`
	// contains filtered or unexported fields
}

QueryExampleReply list of query examples.

func (*QueryExampleReply) Descriptor deprecated

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

Deprecated: Use QueryExampleReply.ProtoReflect.Descriptor instead.

func (*QueryExampleReply) GetQueryExamples

func (x *QueryExampleReply) GetQueryExamples() []*QueryExample

func (*QueryExampleReply) ProtoMessage

func (*QueryExampleReply) ProtoMessage()

func (*QueryExampleReply) ProtoReflect

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

func (*QueryExampleReply) Reset

func (x *QueryExampleReply) Reset()

func (*QueryExampleReply) String

func (x *QueryExampleReply) String() string

func (*QueryExampleReply) Validate

func (this *QueryExampleReply) Validate() 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"`
	// contains filtered or unexported fields
}

QueryExampleRequest defines filtering of query examples for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972.

func (*QueryExampleRequest) Descriptor deprecated

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

Deprecated: Use QueryExampleRequest.ProtoReflect.Descriptor instead.

func (*QueryExampleRequest) GetFilterBy

func (x *QueryExampleRequest) GetFilterBy() string

func (*QueryExampleRequest) GetGroupBy

func (x *QueryExampleRequest) GetGroupBy() string

func (*QueryExampleRequest) GetLabels

func (x *QueryExampleRequest) GetLabels() []*MapFieldEntry

func (*QueryExampleRequest) GetLimit

func (x *QueryExampleRequest) GetLimit() uint32

func (*QueryExampleRequest) GetPeriodStartFrom

func (x *QueryExampleRequest) GetPeriodStartFrom() *timestamp.Timestamp

func (*QueryExampleRequest) GetPeriodStartTo

func (x *QueryExampleRequest) GetPeriodStartTo() *timestamp.Timestamp

func (*QueryExampleRequest) ProtoMessage

func (*QueryExampleRequest) ProtoMessage()

func (*QueryExampleRequest) ProtoReflect

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

func (*QueryExampleRequest) Reset

func (x *QueryExampleRequest) Reset()

func (*QueryExampleRequest) String

func (x *QueryExampleRequest) String() string

func (*QueryExampleRequest) Validate

func (this *QueryExampleRequest) Validate() 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"`
	// contains filtered or unexported fields
}

ReportMapFieldEntry allows to pass labels/dimentions in form like {"server": ["db1", "db2"...]}.

func (*ReportMapFieldEntry) Descriptor deprecated

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

Deprecated: Use ReportMapFieldEntry.ProtoReflect.Descriptor instead.

func (*ReportMapFieldEntry) GetKey

func (x *ReportMapFieldEntry) GetKey() string

func (*ReportMapFieldEntry) GetValue

func (x *ReportMapFieldEntry) GetValue() []string

func (*ReportMapFieldEntry) ProtoMessage

func (*ReportMapFieldEntry) ProtoMessage()

func (*ReportMapFieldEntry) ProtoReflect

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

func (*ReportMapFieldEntry) Reset

func (x *ReportMapFieldEntry) Reset()

func (*ReportMapFieldEntry) String

func (x *ReportMapFieldEntry) String() string

func (*ReportMapFieldEntry) Validate

func (this *ReportMapFieldEntry) Validate() 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"`
	// contains filtered or unexported fields
}

ReportReply is list of reports per quieryids, hosts etc.

func (*ReportReply) Descriptor deprecated

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

Deprecated: Use ReportReply.ProtoReflect.Descriptor instead.

func (*ReportReply) GetLimit

func (x *ReportReply) GetLimit() uint32

func (*ReportReply) GetOffset

func (x *ReportReply) GetOffset() uint32

func (*ReportReply) GetRows

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

func (*ReportReply) GetTotalRows

func (x *ReportReply) GetTotalRows() uint32

func (*ReportReply) ProtoMessage

func (*ReportReply) ProtoMessage()

func (*ReportReply) ProtoReflect

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

func (*ReportReply) Reset

func (x *ReportReply) Reset()

func (*ReportReply) String

func (x *ReportReply) String() string

func (*ReportReply) Validate

func (this *ReportReply) Validate() 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"`
	Search          string                 `protobuf:"bytes,10,opt,name=search,proto3" json:"search,omitempty"`
	// contains filtered or unexported fields
}

ReportRequest defines filtering of metrics report for db server or other dimentions.

func (*ReportRequest) Descriptor deprecated

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

Deprecated: Use ReportRequest.ProtoReflect.Descriptor instead.

func (*ReportRequest) GetColumns

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

func (*ReportRequest) GetGroupBy

func (x *ReportRequest) GetGroupBy() string

func (*ReportRequest) GetLabels

func (x *ReportRequest) GetLabels() []*ReportMapFieldEntry

func (*ReportRequest) GetLimit

func (x *ReportRequest) GetLimit() uint32

func (*ReportRequest) GetMainMetric

func (x *ReportRequest) GetMainMetric() string

func (*ReportRequest) GetOffset

func (x *ReportRequest) GetOffset() uint32

func (*ReportRequest) GetOrderBy

func (x *ReportRequest) GetOrderBy() string

func (*ReportRequest) GetPeriodStartFrom

func (x *ReportRequest) GetPeriodStartFrom() *timestamp.Timestamp

func (*ReportRequest) GetPeriodStartTo

func (x *ReportRequest) GetPeriodStartTo() *timestamp.Timestamp

func (*ReportRequest) GetSearch

func (x *ReportRequest) GetSearch() string

func (*ReportRequest) ProtoMessage

func (*ReportRequest) ProtoMessage()

func (*ReportRequest) ProtoReflect

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

func (*ReportRequest) Reset

func (x *ReportRequest) Reset()

func (*ReportRequest) String

func (x *ReportRequest) String() string

func (*ReportRequest) Validate

func (this *ReportRequest) Validate() 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"`
	Database    string             `protobuf:"bytes,9,opt,name=database,proto3" json:"database,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"`
	// contains filtered or unexported fields
}

Row define metrics for selected dimention.

func (*Row) Descriptor deprecated

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

Deprecated: Use Row.ProtoReflect.Descriptor instead.

func (*Row) GetDatabase

func (x *Row) GetDatabase() string

func (*Row) GetDimension

func (x *Row) GetDimension() string

func (*Row) GetFingerprint

func (x *Row) GetFingerprint() string

func (*Row) GetLoad

func (x *Row) GetLoad() float32

func (*Row) GetMetrics

func (x *Row) GetMetrics() map[string]*Metric

func (*Row) GetNumQueries

func (x *Row) GetNumQueries() uint32

func (*Row) GetQps

func (x *Row) GetQps() float32

func (*Row) GetRank

func (x *Row) GetRank() uint32

func (*Row) GetSparkline

func (x *Row) GetSparkline() []*Point

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) ProtoReflect

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

func (*Row) Reset

func (x *Row) Reset()

func (*Row) String

func (x *Row) String() string

func (*Row) Validate

func (this *Row) Validate() error

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"`
	// contains filtered or unexported fields
}

Stat is statistics of specific metric.

func (*Stat) Descriptor deprecated

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

Deprecated: Use Stat.ProtoReflect.Descriptor instead.

func (*Stat) GetAvg

func (x *Stat) GetAvg() float32

func (*Stat) GetCnt

func (x *Stat) GetCnt() float32

func (*Stat) GetMax

func (x *Stat) GetMax() float32

func (*Stat) GetMin

func (x *Stat) GetMin() float32

func (*Stat) GetP99

func (x *Stat) GetP99() float32

func (*Stat) GetRate

func (x *Stat) GetRate() float32

func (*Stat) GetSum

func (x *Stat) GetSum() float32

func (*Stat) GetSumPerSec

func (x *Stat) GetSumPerSec() float32

func (*Stat) ProtoMessage

func (*Stat) ProtoMessage()

func (*Stat) ProtoReflect

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

func (*Stat) Reset

func (x *Stat) Reset()

func (*Stat) String

func (x *Stat) String() string

func (*Stat) Validate

func (this *Stat) Validate() error

type UnimplementedCollectorServer

type UnimplementedCollectorServer struct {
}

UnimplementedCollectorServer can be embedded to have forward compatible implementations.

func (*UnimplementedCollectorServer) Collect

type UnimplementedFiltersServer

type UnimplementedFiltersServer struct {
}

UnimplementedFiltersServer can be embedded to have forward compatible implementations.

func (*UnimplementedFiltersServer) Get

type UnimplementedMetricsNamesServer

type UnimplementedMetricsNamesServer struct {
}

UnimplementedMetricsNamesServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetricsNamesServer) GetMetricsNames

type UnimplementedObjectDetailsServer

type UnimplementedObjectDetailsServer struct {
}

UnimplementedObjectDetailsServer can be embedded to have forward compatible implementations.

func (*UnimplementedObjectDetailsServer) GetLabels

func (*UnimplementedObjectDetailsServer) GetMetrics

func (*UnimplementedObjectDetailsServer) GetQueryExample

type UnimplementedProfileServer

type UnimplementedProfileServer struct {
}

UnimplementedProfileServer can be embedded to have forward compatible implementations.

func (*UnimplementedProfileServer) GetReport

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"`
	// contains filtered or unexported fields
}

Values is label values and main metric percent and per second.

func (*Values) Descriptor deprecated

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

Deprecated: Use Values.ProtoReflect.Descriptor instead.

func (*Values) GetMainMetricPerSec

func (x *Values) GetMainMetricPerSec() float32

func (*Values) GetMainMetricPercent

func (x *Values) GetMainMetricPercent() float32

func (*Values) GetValue

func (x *Values) GetValue() string

func (*Values) ProtoMessage

func (*Values) ProtoMessage()

func (*Values) ProtoReflect

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

func (*Values) Reset

func (x *Values) Reset()

func (*Values) String

func (x *Values) String() string

func (*Values) Validate

func (this *Values) Validate() error

Directories

Path Synopsis
json

Jump to

Keyboard shortcuts

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